C# Класс LinFu.IoC.Configuration.PropertySetter

Наследование: IPropertySetter
Показать файл Открыть проект

Открытые методы

Метод Описание
Set ( object target, PropertyInfo targetProperty, object value ) : void

Sets the value of the targetProperty.

Приватные методы

Метод Описание
GenerateSetter ( PropertyInfo targetProperty ) : object>.Action

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

Описание методов

Set() публичный Метод

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.
Результат void