PythonType Class
Represents a PythonType. Instances of PythonType are created via PythonTypeBuilder.
Inheritance Hierarchy

Namespace: IronPython.Runtime.Types
Assembly: IronPython (in IronPython.dll) Version: 2.7
public class PythonType : IPythonMembersList, IMembersList, 
	IDynamicMetaObjectProvider, IWeakReferenceable, ICodeFormattable, IFastGettable, IFastSettable, 

The PythonType type exposes the following members.

Public methodPythonType
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.
Public method__call__(CodeContext, Object)
Public method__call__(CodeContext, IDictionaryString, Object, Object)
Public method__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.
Public method__cmp__
Public method__delattr__
Public method__getattribute__
Public method__init__(Object)
Public method__init__(String, PythonTuple, PythonDictionary)
Public method__instancecheck__
Returns true if the specified object is an instance of this type.
Public methodStatic member__new__(CodeContext, Object, Object)
Public methodStatic member__new__(CodeContext, PythonType, String, PythonTuple, PythonDictionary)
Public method__repr__
Public method__setattr__
Public method__subclasscheck__(OldClass)
Public method__subclasscheck__(PythonType)
Public method__subclasses__
Public methodStatic memberDelete__module__
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGet__base__
Public methodStatic memberGet__bases__
Public methodStatic memberGet__clr_assembly__
Public methodStatic memberGet__doc__
Public methodStatic memberGet__flags__
Public methodStatic memberGet__module__
Public methodStatic memberGet__mro__
Public methodStatic memberGet__name__
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetMetaObject
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodmro
Public methodStatic memberSet__bases__
Public methodStatic memberSet__module__
Public methodStatic memberSet__name__
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public fieldStatic member__dict__
Public propertyItem
Explicit Interface Implementations
See Also