C# Class LinFu.IoC.Configuration.PropertySetter

Inheritance: IPropertySetter
ファイルを表示 Open project: philiplaureano/LinFu

Public Methods

Method Description
Set ( object target, PropertyInfo targetProperty, object value ) : void

Sets the value of the targetProperty.

Private Methods

Method Description
GenerateSetter ( PropertyInfo targetProperty ) : object>.Action

Generates an Action{T1, T2} delegate that will be used as the property setter for a particular type.

Method Details

Set() public method

Sets the value of the targetProperty.
public Set ( object target, PropertyInfo targetProperty, object value ) : void
target object The target instance that contains the property to be modified.
targetProperty System.Reflection.PropertyInfo The property that will store the given value.
value object The value that will be assigned to the property.
return void