PageRenderTime 25ms CodeModel.GetById 22ms RepoModel.GetById 0ms app.codeStats 0ms

/src/LinFu.IoC/Configuration/Interfaces/IPropertySetter.cs

http://github.com/philiplaureano/LinFu
C# | 19 lines | 8 code | 1 blank | 10 comment | 0 complexity | 5e2b8f4e7b3f8e3ff0669df54614547a MD5 | raw file
  1. using System.Reflection;
  2. namespace LinFu.IoC.Configuration.Interfaces
  3. {
  4. /// <summary>
  5. /// A class responsible for setting property values.
  6. /// </summary>
  7. public interface IPropertySetter
  8. {
  9. /// <summary>
  10. /// Sets the value of the <paramref name="targetProperty" />.
  11. /// </summary>
  12. /// ///
  13. /// <param name="target">The target instance that contains the property to be modified.</param>
  14. /// <param name="targetProperty">The property that will store the given value.</param>
  15. /// <param name="value">The value that will be assigned to the property.</param>
  16. void Set(object target, PropertyInfo targetProperty, object value);
  17. }
  18. }