C# Class Hawkeye.Reflection.PropertyAccessor

Exibir arquivo Open project: odalet/Hawkeye2 Class Usage Examples

Public Methods

Method 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

Method 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 method

public Get ( object operationTarget = null ) : object
operationTarget object
return object

PropertyAccessor() public method

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.
return System

PropertyAccessor() public method

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.
return System

Set() public method

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