C# Class IronPython.Runtime.PythonModule

Inheritance: IDynamicMetaObjectProvider, IPythonMembersList
Afficher le fichier Open project: jdhardy/ironpython Class Usage Examples

Private Properties

Свойство Type Description
Delete__dict__ void
GetAttributeNoThrow object
GetFile string
GetMetaObject DynamicMetaObject
GetName string
Get__dict__ PythonDictionary
IMembersList IList
IPythonMembersList IList
PythonModule System.Linq.Expressions
PythonModule System.Linq.Expressions
Set__dict__ void
__new__ PythonModule

Méthodes publiques

Méthode Description
PythonModule ( ) : System.Linq.Expressions
__delattr__ ( CodeContext context, string name ) : void
__getattribute__ ( CodeContext context, string name ) : object
__init__ ( string name ) : void
__init__ ( string name, string documentation ) : void
__new__ ( CodeContext context, IronPython.Runtime.Types.PythonType cls ) : PythonModule
__repr__ ( ) : string
__setattr__ ( CodeContext context, string name, object value ) : void
__str__ ( ) : string

Private Methods

Méthode Description
Delete__dict__ ( ) : void
GetAttributeNoThrow ( CodeContext context, string name ) : object
GetFile ( ) : string
GetMetaObject ( Expression parameter ) : DynamicMetaObject
GetName ( ) : string
Get__dict__ ( ) : PythonDictionary
IMembersList ( ) : IList
IPythonMembersList ( CodeContext context ) : IList
PythonModule ( IronPython.Runtime.PythonContext context, Scope scope ) : System.Linq.Expressions

Creates a new module backed by a Scope. Used for creating modules for foreign Scope's.

PythonModule ( PythonDictionary dict ) : System.Linq.Expressions

Creates a new PythonModule with the specified dictionary. Used for creating modules for builtin modules which don't have any code associated with them.

Set__dict__ ( object value ) : void
__new__ ( CodeContext context, IronPython.Runtime.Types.PythonType cls, [ kwDictø ) : PythonModule

Method Details

PythonModule() public méthode

public PythonModule ( ) : System.Linq.Expressions
Résultat System.Linq.Expressions

__delattr__() public méthode

public __delattr__ ( CodeContext context, string name ) : void
context CodeContext
name string
Résultat void

__getattribute__() public méthode

public __getattribute__ ( CodeContext context, string name ) : object
context CodeContext
name string
Résultat object

__init__() public méthode

public __init__ ( string name ) : void
name string
Résultat void

__init__() public méthode

public __init__ ( string name, string documentation ) : void
name string
documentation string
Résultat void

__new__() public static méthode

public static __new__ ( CodeContext context, IronPython.Runtime.Types.PythonType cls ) : PythonModule
context CodeContext
cls IronPython.Runtime.Types.PythonType
Résultat PythonModule

__repr__() public méthode

public __repr__ ( ) : string
Résultat string

__setattr__() public méthode

public __setattr__ ( CodeContext context, string name, object value ) : void
context CodeContext
name string
value object
Résultat void

__str__() public méthode

public __str__ ( ) : string
Résultat string