C# Class System.ComponentModel.DebugReflectPropertyDescriptor

Inheritance: PropertyDescriptor
Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
ExtenderCanResetValue bool
ExtenderGetReceiverType System.Type
ExtenderGetType System.Type
ExtenderGetValue object
ExtenderResetValue void
ExtenderSetValue void
ExtenderShouldSerializeValue bool
GetDebugInvokee object

Public Methods

Method Description
AddValueChanged ( object component, EventHandler handler ) : void
CanResetValue ( object component ) : bool
DebugReflectPropertyDescriptor ( Type componentClass, PropertyDescriptor oldReflectPropertyDescriptor, Attribute attributes ) : System.Runtime.Serialization.Formatters
DebugReflectPropertyDescriptor ( Type componentClass, string name, Type type, Attribute attributes ) : System.Runtime.Serialization.Formatters
DebugReflectPropertyDescriptor ( Type componentClass, string name, Type type, PropertyInfo propInfo, MethodInfo getMethod, MethodInfo setMethod, Attribute attrs ) : System.Runtime.Serialization.Formatters
DebugReflectPropertyDescriptor ( Type componentClass, string name, Type type, Type receiverType, MethodInfo getMethod, MethodInfo setMethod, Attribute attrs ) : System.Runtime.Serialization.Formatters
GetChildProperties ( object instance, Attribute filter ) : PropertyDescriptorCollection
GetEditor ( Type editorBaseType ) : object
GetValue ( object component ) : object
RemoveValueChanged ( object component, EventHandler handler ) : void
ResetValue ( object component ) : void
SetValue ( object component, object value ) : void
ShouldSerializeValue ( object component ) : bool

Protected Methods

Method Description
FillAttributes ( IList attributes ) : void
OnValueChanged ( object component, EventArgs e ) : void

Private Methods

Method Description
ExtenderCanResetValue ( IExtenderProvider provider, object component ) : bool
ExtenderGetReceiverType ( ) : Type
ExtenderGetType ( IExtenderProvider provider ) : Type
ExtenderGetValue ( IExtenderProvider provider, object component ) : object
ExtenderResetValue ( IExtenderProvider provider, object component, PropertyDescriptor notifyDesc ) : void
ExtenderSetValue ( IExtenderProvider provider, object component, object value, PropertyDescriptor notifyDesc ) : void
ExtenderShouldSerializeValue ( IExtenderProvider provider, object component ) : bool
GetDebugInvokee ( Type componentClass, object component ) : object

Method Details

AddValueChanged() public method

public AddValueChanged ( object component, EventHandler handler ) : void
component object
handler EventHandler
return void

CanResetValue() public method

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

DebugReflectPropertyDescriptor() public method

public DebugReflectPropertyDescriptor ( Type componentClass, PropertyDescriptor oldReflectPropertyDescriptor, Attribute attributes ) : System.Runtime.Serialization.Formatters
componentClass System.Type
oldReflectPropertyDescriptor PropertyDescriptor
attributes System.Attribute
return System.Runtime.Serialization.Formatters

DebugReflectPropertyDescriptor() public method

public DebugReflectPropertyDescriptor ( Type componentClass, string name, Type type, Attribute attributes ) : System.Runtime.Serialization.Formatters
componentClass System.Type
name string
type System.Type
attributes System.Attribute
return System.Runtime.Serialization.Formatters

DebugReflectPropertyDescriptor() public method

public DebugReflectPropertyDescriptor ( Type componentClass, string name, Type type, PropertyInfo propInfo, MethodInfo getMethod, MethodInfo setMethod, Attribute attrs ) : System.Runtime.Serialization.Formatters
componentClass System.Type
name string
type System.Type
propInfo System.Reflection.PropertyInfo
getMethod System.Reflection.MethodInfo
setMethod System.Reflection.MethodInfo
attrs System.Attribute
return System.Runtime.Serialization.Formatters

DebugReflectPropertyDescriptor() public method

public DebugReflectPropertyDescriptor ( Type componentClass, string name, Type type, Type receiverType, MethodInfo getMethod, MethodInfo setMethod, Attribute attrs ) : System.Runtime.Serialization.Formatters
componentClass System.Type
name string
type System.Type
receiverType System.Type
getMethod System.Reflection.MethodInfo
setMethod System.Reflection.MethodInfo
attrs System.Attribute
return System.Runtime.Serialization.Formatters

FillAttributes() protected method

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

GetChildProperties() public method

public GetChildProperties ( object instance, Attribute filter ) : PropertyDescriptorCollection
instance object
filter System.Attribute
return PropertyDescriptorCollection

GetEditor() public method

public GetEditor ( Type editorBaseType ) : object
editorBaseType System.Type
return object

GetValue() public method

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

OnValueChanged() protected method

protected OnValueChanged ( object component, EventArgs e ) : void
component object
e System.EventArgs
return void

RemoveValueChanged() public method

public RemoveValueChanged ( object component, EventHandler handler ) : void
component object
handler EventHandler
return void

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