C# Class Hawkeye.Reflection.PropertyAccessor

Afficher le fichier Open project: odalet/Hawkeye2 Class Usage Examples

Méthodes publiques

Méthode Description
Get ( object operationTarget = null ) : object
PropertyAccessor ( Type propertyTargetType, string propertyName ) : System

Initializes a new instance of the PropertyAccessor class.

PropertyAccessor ( object propertyTarget, string propertyName ) : System

Initializes a new instance of the PropertyAccessor class.

Set ( object newValue, object operationTarget = null ) : void

Private Methods

Méthode Description
FindProperty ( BindingFlags flags ) : PropertyInfo
PropertyAccessor ( ) : System

Initializes the PropertyAccessor class.

PropertyAccessor ( Type propertyTargetType, object propertyTarget, string propertyName ) : System

Prevents a default instance of the PropertyAccessor class from being created.

Method Details

Get() public méthode

public Get ( object operationTarget = null ) : object
operationTarget object
Résultat object

PropertyAccessor() public méthode

Initializes a new instance of the PropertyAccessor class.
public PropertyAccessor ( Type propertyTargetType, string propertyName ) : System
propertyTargetType System.Type Type of the property target.
propertyName string Name of the property.
Résultat System

PropertyAccessor() public méthode

Initializes a new instance of the PropertyAccessor class.
public PropertyAccessor ( object propertyTarget, string propertyName ) : System
propertyTarget object The property target.
propertyName string Name of the property.
Résultat System

Set() public méthode

public Set ( object newValue, object operationTarget = null ) : void
newValue object
operationTarget object
Résultat void