PythonType Class |
Namespace: IronPython.Runtime.Types
The PythonType type exposes the following members.
Name | Description | |
---|---|---|
![]() | PythonType |
Creates a new type for a user defined type. The name, base classes (a tuple of type
objects), and a dictionary of members is provided.
|
Name | Description | |
---|---|---|
![]() | __call__(CodeContext, Object) | |
![]() | __call__(CodeContext, IDictionaryString, Object, Object) | |
![]() | __clrtype__ |
Gets the .NET type which is used for instances of the Python type.
When overridden by a metaclass enables a customization of the .NET type which
is used for instances of the Python type. Meta-classes can construct custom
types at runtime which include new .NET methods, fields, custom attributes or
other features to better interoperate with .NET.
|
![]() | __cmp__ | |
![]() | __delattr__ | |
![]() | __getattribute__ | |
![]() | __init__(Object) | |
![]() | __init__(String, PythonTuple, PythonDictionary) | |
![]() | __instancecheck__ |
Returns true if the specified object is an instance of this type.
|
![]() ![]() | __new__(CodeContext, Object, Object) | |
![]() ![]() | __new__(CodeContext, PythonType, String, PythonTuple, PythonDictionary) | |
![]() | __repr__ | |
![]() | __setattr__ | |
![]() | __subclasscheck__(OldClass) | |
![]() | __subclasscheck__(PythonType) | |
![]() | __subclasses__ | |
![]() ![]() | Delete__module__ | |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() ![]() | Get__base__ | |
![]() ![]() | Get__bases__ | |
![]() ![]() | Get__clr_assembly__ | |
![]() ![]() | Get__doc__ | |
![]() ![]() | Get__flags__ | |
![]() ![]() | Get__module__ | |
![]() ![]() | Get__mro__ | |
![]() ![]() | Get__name__ | |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetMetaObject | |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | mro | |
![]() ![]() | Set__bases__ | |
![]() ![]() | Set__module__ | |
![]() ![]() | Set__name__ | |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() ![]() | GreaterThan | |
![]() ![]() | GreaterThanOrEqual | |
![]() ![]() | (PythonType to Type) | |
![]() ![]() | (PythonType to TypeTracker) | |
![]() ![]() | LessThan | |
![]() ![]() | LessThanOrEqual |
Name | Description | |
---|---|---|
![]() ![]() | IMembersList.GetMemberNames | |
![]() ![]() | IPythonMembersListGetMemberNames | |
![]() ![]() | IWeakReferenceableGetWeakRef | |
![]() ![]() | IWeakReferenceableSetFinalizer | |
![]() ![]() | IWeakReferenceableSetWeakRef |