C# Class IronPython.Runtime.Operations.CustomTypeDescHelpers

Helper class that all custom type descriptor implementations call for the bulk of their implementation.
Datei anzeigen Open project: jschementi/iron

Public Methods

Method Description
GetClassName ( object self ) : string
GetConverter ( object self ) : TypeConverter
GetEvents ( object self, Attribute attributes ) : EventDescriptorCollection
GetProperties ( object self ) : PropertyDescriptorCollection
GetProperties ( object self, Attribute attributes ) : PropertyDescriptorCollection

Private Methods

Method Description
GetAttributes ( object self ) : AttributeCollection
GetComponentName ( object self ) : string
GetDefaultEvent ( object self ) : System.ComponentModel.EventDescriptor
GetDefaultProperty ( object self ) : PropertyDescriptor
GetEditor ( object self, Type editorBaseType ) : object
GetEvents ( object self ) : EventDescriptorCollection
GetPropertiesImpl ( object self, Attribute attributes ) : System.ComponentModel.PropertyDescriptor[]
GetPropertyOwner ( object self, PropertyDescriptor pd ) : object
ShouldIncludeInstanceMember ( string memberName, Attribute attributes ) : bool
ShouldIncludeProperty ( PythonTypeSlot attrSlot, Attribute attributes ) : bool

Method Details

GetClassName() public static method

public static GetClassName ( object self ) : string
self object
return string

GetConverter() public static method

public static GetConverter ( object self ) : TypeConverter
self object
return System.ComponentModel.TypeConverter

GetEvents() public static method

public static GetEvents ( object self, Attribute attributes ) : EventDescriptorCollection
self object
attributes System.Attribute
return System.ComponentModel.EventDescriptorCollection

GetProperties() public static method

public static GetProperties ( object self ) : PropertyDescriptorCollection
self object
return System.ComponentModel.PropertyDescriptorCollection

GetProperties() public static method

public static GetProperties ( object self, Attribute attributes ) : PropertyDescriptorCollection
self object
attributes System.Attribute
return System.ComponentModel.PropertyDescriptorCollection