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