C# Class Hawkeye.ComponentModel.StaticPropertyPropertyDescriptor

Inheritance: BasePropertyPropertyDescriptor
Mostrar archivo Open project: odalet/Hawkeye2

Public Methods

Method Description
CanResetValue ( object component ) : bool
GetValue ( object component ) : object
ResetValue ( object component ) : void
SetValue ( object component, object value ) : void
ShouldSerializeValue ( object component ) : bool
StaticPropertyPropertyDescriptor ( Type objectType, PropertyInfo propertyInfo, bool keepOriginalCategoryAttribute = true ) : System

Initializes a new instance of the StaticPropertyPropertyDescriptor class.

Protected Methods

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

Method Details

CanResetValue() public method

public CanResetValue ( object component ) : bool
component object
return bool

FillAttributes() protected method

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

GetValue() public method

public GetValue ( object component ) : object
component object
return object

IsFiltered() protected method

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

ResetValue() public method

public ResetValue ( object component ) : void
component object
return void

SetValue() public method

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

ShouldSerializeValue() public method

public ShouldSerializeValue ( object component ) : bool
component object
return bool

StaticPropertyPropertyDescriptor() public method

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