C# Class Hawkeye.ComponentModel.InstancePropertyPropertyDescriptor

Inheritance: BasePropertyPropertyDescriptor
Mostra file Open project: odalet/Hawkeye2

Public Methods

Method Description
GetValue ( object component ) : object

When overridden in a derived class, gets the current value of the property on a component.

InstancePropertyPropertyDescriptor ( object instance, Type ownerType, PropertyInfo propertyInfo, bool keepOriginalCategoryAttribute = true ) : System

Initializes a new instance of the InstancePropertyPropertyDescriptor class.

SetValue ( object component, object value ) : void

Protected Methods

Method Description
FillAttributes ( IList attributeList ) : void
IsFiltered ( Attribute attribute ) : bool

Method Details

FillAttributes() protected method

protected FillAttributes ( IList attributeList ) : void
attributeList IList
return void

GetValue() public method

When overridden in a derived class, gets the current value of the property on a component.
public GetValue ( object component ) : object
component object The component with the property for which to retrieve the value.
return object

InstancePropertyPropertyDescriptor() public method

Initializes a new instance of the InstancePropertyPropertyDescriptor class.
public InstancePropertyPropertyDescriptor ( object instance, Type ownerType, PropertyInfo propertyInfo, bool keepOriginalCategoryAttribute = true ) : System
instance object The component instance.
ownerType System.Type Type of the owner.
propertyInfo System.Reflection.PropertyInfo The property information.
keepOriginalCategoryAttribute bool if set to true [keep original category attribute].
return System

IsFiltered() protected method

protected IsFiltered ( Attribute attribute ) : bool
attribute System.Attribute
return bool

SetValue() public method

public SetValue ( object component, object value ) : void
component object
value object
return void