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