C# Class Hawkeye.ComponentModel.BaseMemberPropertyDescriptor

Inheritance: System.ComponentModel.PropertyDescriptor
Afficher le fichier Open project: odalet/Hawkeye2

Méthodes publiques

Méthode Description
CanResetValue ( object component ) : bool

When overridden in a derived class, returns whether resetting an object changes its value.

ResetValue ( object component ) : void

When overridden in a derived class, resets the value for this property of the component to the default value.

SetValue ( object component, object value ) : void

When overridden in a derived class, sets the value of the component to a different value.

ShouldSerializeValue ( object component ) : bool

When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.

Méthodes protégées

Méthode Description
BaseMemberPropertyDescriptor ( MemberInfo info, string name ) : System

Initializes a new instance of the BaseMemberPropertyDescriptor class.

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

Method Details

BaseMemberPropertyDescriptor() protected méthode

Initializes a new instance of the BaseMemberPropertyDescriptor class.
protected BaseMemberPropertyDescriptor ( MemberInfo info, string name ) : System
info System.Reflection.MemberInfo
name string The name.
Résultat System

CanResetValue() public méthode

When overridden in a derived class, returns whether resetting an object changes its value.
public CanResetValue ( object component ) : bool
component object The component to test for reset capability.
Résultat bool

FillAttributes() protected méthode

protected FillAttributes ( IList attributeList ) : void
attributeList IList
Résultat void

IsFiltered() protected méthode

protected IsFiltered ( Attribute attribute ) : bool
attribute System.Attribute
Résultat bool

ResetValue() public méthode

When overridden in a derived class, resets the value for this property of the component to the default value.
public ResetValue ( object component ) : void
component object The component with the property value that is to be reset to the default value.
Résultat void

SetValue() public méthode

When overridden in a derived class, sets the value of the component to a different value.
public SetValue ( object component, object value ) : void
component object The component with the property value that is to be set.
value object The new value.
Résultat void

ShouldSerializeValue() public méthode

When overridden in a derived class, determines a value indicating whether the value of this property needs to be persisted.
public ShouldSerializeValue ( object component ) : bool
component object The component with the property to be examined for persistence.
Résultat bool