C# Class LinFu.IoC.Configuration.PropertySetter

Inheritance: IPropertySetter
Afficher le fichier Open project: philiplaureano/LinFu

Méthodes publiques

Méthode Description
Set ( object target, PropertyInfo targetProperty, object value ) : void

Sets the value of the targetProperty.

Private Methods

Méthode 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 méthode

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.
Résultat void