C# Class IronPython.Runtime.PythonModule

Inheritance: IDynamicMetaObjectProvider, IPythonMembersList
Datei anzeigen Open project: jdhardy/ironpython Class Usage Examples

Private Properties

Property 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

Public Methods

Method 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

Method 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 method

public PythonModule ( ) : System.Linq.Expressions
return System.Linq.Expressions

__delattr__() public method

public __delattr__ ( CodeContext context, string name ) : void
context CodeContext
name string
return void

__getattribute__() public method

public __getattribute__ ( CodeContext context, string name ) : object
context CodeContext
name string
return object

__init__() public method

public __init__ ( string name ) : void
name string
return void

__init__() public method

public __init__ ( string name, string documentation ) : void
name string
documentation string
return void

__new__() public static method

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

__repr__() public method

public __repr__ ( ) : string
return string

__setattr__() public method

public __setattr__ ( CodeContext context, string name, object value ) : void
context CodeContext
name string
value object
return void

__str__() public method

public __str__ ( ) : string
return string