C# Class IronPython.Runtime.Types.OldClass

Inheritance: ICustomTypeDescriptor, ICodeFormattable, IMembersList, IDynamicMetaObjectProvider, IPythonMembersList, IWeakReferenceable
显示文件 Open project: jschementi/iron Class Usage Examples

Public Properties

Property Type Description
__doc__ string

Private Properties

Property Type Description
Call object
Call object
CheckSpecialMethods void
DeleteCustomMember bool
DictionaryIsPublic void
GetMember object
GetObjectData void
GetOldStyleDescriptor object
GetOldStyleDescriptor object
ICustomTypeDescriptor System.ComponentModel.AttributeCollection
ICustomTypeDescriptor System.ComponentModel.EventDescriptor
ICustomTypeDescriptor System.ComponentModel.EventDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.EventDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.PropertyDescriptor
ICustomTypeDescriptor System.ComponentModel.PropertyDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.PropertyDescriptorCollection
ICustomTypeDescriptor System.ComponentModel.TypeConverter
ICustomTypeDescriptor object
ICustomTypeDescriptor object
ICustomTypeDescriptor string
IDynamicMetaObjectProvider DynamicMetaObject
IMembersList IList
IPythonMembersList IList
IWeakReferenceable WeakRefTracker
IWeakReferenceable bool
IWeakReferenceable void
Init void
InitializeInstanceNames void
IsSubclassOf bool
LookupValue object
MakeCallError object
OldClass System.Linq.Expressions
OldClass System.Linq.Expressions
RecurseAttrHierarchy void
SetBases void
SetDictionary void
SetName void
SetNameHelper void
TryGetBoundCustomMember bool
TryLookupInit bool
TryLookupOneSlot bool
TryLookupSlot bool
TryLookupValue bool
ValidateBases List

Public Methods

Method Description
ToString ( ) : string
__new__ ( CodeContext context, [ cls, string name, PythonTuple bases, PythonDictionary dict ) : object
__repr__ ( CodeContext context ) : string

Private Methods

Method Description
Call ( CodeContext context ) : object
Call ( CodeContext context, object>.[ dictø ) : object
CheckSpecialMethods ( PythonDictionary dict ) : void
DeleteCustomMember ( CodeContext context, string name ) : bool
DictionaryIsPublic ( ) : void
GetMember ( CodeContext context, string name ) : object
GetObjectData ( SerializationInfo info, StreamingContext context ) : void
GetOldStyleDescriptor ( CodeContext context, object self, object instance, IronPython.Runtime.Types.PythonType type ) : object
GetOldStyleDescriptor ( CodeContext context, object self, object instance, object type ) : object
ICustomTypeDescriptor ( ) : AttributeCollection
ICustomTypeDescriptor ( ) : System.ComponentModel.EventDescriptor
ICustomTypeDescriptor ( ) : EventDescriptorCollection
ICustomTypeDescriptor ( Attribute attributes ) : EventDescriptorCollection
ICustomTypeDescriptor ( ) : PropertyDescriptor
ICustomTypeDescriptor ( ) : PropertyDescriptorCollection
ICustomTypeDescriptor ( Attribute attributes ) : PropertyDescriptorCollection
ICustomTypeDescriptor ( ) : TypeConverter
ICustomTypeDescriptor ( PropertyDescriptor pd ) : object
ICustomTypeDescriptor ( Type editorBaseType ) : object
ICustomTypeDescriptor ( ) : string
IDynamicMetaObjectProvider ( Expression parameter ) : DynamicMetaObject
IMembersList ( ) : IList
IPythonMembersList ( CodeContext context ) : IList
IWeakReferenceable ( ) : WeakRefTracker
IWeakReferenceable ( WeakRefTracker value ) : bool
IWeakReferenceable ( WeakRefTracker value ) : void
Init ( string name, PythonDictionary dict, string instanceNames ) : void
InitializeInstanceNames ( string instanceNames ) : void
IsSubclassOf ( object other ) : bool
LookupValue ( CodeContext context, string name ) : object
MakeCallError ( ) : object
OldClass ( SerializationInfo info, StreamingContext context ) : System.Linq.Expressions
OldClass ( string name, PythonTuple bases, PythonDictionary dict, string instanceNames ) : System.Linq.Expressions
RecurseAttrHierarchy ( OldClass oc, object>.IDictionary attrs ) : void
SetBases ( object value ) : void
SetDictionary ( object value ) : void
SetName ( object value ) : void
SetNameHelper ( string name, object value ) : void
TryGetBoundCustomMember ( CodeContext context, string name, object &value ) : bool
TryLookupInit ( object inst, object &ret ) : bool
TryLookupOneSlot ( IronPython.Runtime.Types.PythonType lookingType, string name, object &ret ) : bool
TryLookupSlot ( string name, object &ret ) : bool
TryLookupValue ( CodeContext context, string name, object &value ) : bool
ValidateBases ( object value ) : List

Method Details

ToString() public method

public ToString ( ) : string
return string

__new__() public static method

public static __new__ ( CodeContext context, [ cls, string name, PythonTuple bases, PythonDictionary dict ) : object
context CodeContext
cls [
name string
bases PythonTuple
dict PythonDictionary
return object

__repr__() public method

public __repr__ ( CodeContext context ) : string
context CodeContext
return string

Property Details

__doc__ public_oe static_oe property

public static string __doc__
return string