C# Класс IronPython.Runtime.Binding.MetaOldInstance

Provides a MetaObject for instances of Python's old-style classes. TODO: Lots of CodeConetxt references, need to move CodeContext onto OldClass and pull it from there.
Наследование: MetaPythonObject, IPythonInvokable, IPythonGetable, IPythonOperable
Показать файл Открыть проект

Открытые методы

Метод Описание
BindBinaryOperation ( BinaryOperationBinder binder, DynamicMetaObject arg ) : DynamicMetaObject
BindConvert ( ConvertBinder conversion ) : DynamicMetaObject
BindConvert ( PythonConversionBinder binder ) : DynamicMetaObject
BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
BindDeleteMember ( DeleteMemberBinder member ) : DynamicMetaObject
BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
BindGetMember ( GetMemberBinder member ) : DynamicMetaObject
BindInvoke ( InvokeBinder invoke ) : DynamicMetaObject
BindInvokeMember ( InvokeMemberBinder action, DynamicMetaObject args ) : DynamicMetaObject
BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
BindSetMember ( SetMemberBinder member, DynamicMetaObject value ) : DynamicMetaObject
BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject
ConvertWorker ( DynamicMetaObjectBinder binder, Type type, Type retType, ConversionResultKind kind ) : DynamicMetaObject
GetDynamicMemberNames ( ) : System.Collections.Generic.IEnumerable
GetMember ( IronPython.Runtime.Binding.PythonGetMemberBinder member, DynamicMetaObject codeContext ) : DynamicMetaObject
Invoke ( IronPython.Runtime.Binding.PythonInvokeBinder pythonInvoke, Expression codeContext, DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
MetaOldInstance ( Expression expression, BindingRestrictions restrictions, OldInstance value ) : System.Linq.Expressions

Приватные методы

Метод Описание
FallbackGet ( DynamicMetaObjectBinder member, DynamicMetaObject args ) : Expression
GetCustomStorageSlot ( string name, IronPython.Runtime.Types.CustomInstanceDictionaryStorage &dict ) : int
IPythonOperable ( IronPython.Runtime.Binding.PythonOperationBinder action, DynamicMetaObject args ) : DynamicMetaObject
InvokeWorker ( DynamicMetaObjectBinder invoke, Expression codeContext, DynamicMetaObject args ) : DynamicMetaObject
MakeConvertToBool ( DynamicMetaObjectBinder conversion ) : DynamicMetaObject
MakeConvertToCommon ( DynamicMetaObjectBinder conversion, Type toType, Type retType, string name ) : DynamicMetaObject
MakeConvertToIEnumerable ( DynamicMetaObjectBinder conversion ) : DynamicMetaObject
MakeConvertToIEnumerable ( DynamicMetaObjectBinder conversion, Type toType, Type genericType ) : DynamicMetaObject
MakeConvertToIEnumerator ( DynamicMetaObjectBinder conversion ) : DynamicMetaObject
MakeDynamicMemberAccess ( DynamicMetaObjectBinder member, string name, MemberAccess access, DynamicMetaObject args ) : DynamicMetaObject
MakeIsCallable ( IronPython.Runtime.Binding.PythonOperationBinder operation ) : DynamicMetaObject
MakeMemberAccess ( DynamicMetaObjectBinder member, string name, MemberAccess access ) : DynamicMetaObject
MakeOneConvert ( DynamicMetaObjectBinder conversion, DynamicMetaObject self, string name, System.Linq.Expressions.ParameterExpression tmp ) : BinaryExpression

Описание методов

BindBinaryOperation() публичный Метод

public BindBinaryOperation ( BinaryOperationBinder binder, DynamicMetaObject arg ) : DynamicMetaObject
binder BinaryOperationBinder
arg DynamicMetaObject
Результат DynamicMetaObject

BindConvert() публичный Метод

public BindConvert ( ConvertBinder conversion ) : DynamicMetaObject
conversion ConvertBinder
Результат DynamicMetaObject

BindConvert() публичный Метод

public BindConvert ( PythonConversionBinder binder ) : DynamicMetaObject
binder PythonConversionBinder
Результат DynamicMetaObject

BindDeleteIndex() публичный Метод

public BindDeleteIndex ( DeleteIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder DeleteIndexBinder
indexes DynamicMetaObject
Результат DynamicMetaObject

BindDeleteMember() публичный Метод

public BindDeleteMember ( DeleteMemberBinder member ) : DynamicMetaObject
member DeleteMemberBinder
Результат DynamicMetaObject

BindGetIndex() публичный Метод

public BindGetIndex ( GetIndexBinder binder, DynamicMetaObject indexes ) : DynamicMetaObject
binder GetIndexBinder
indexes DynamicMetaObject
Результат DynamicMetaObject

BindGetMember() публичный Метод

public BindGetMember ( GetMemberBinder member ) : DynamicMetaObject
member GetMemberBinder
Результат DynamicMetaObject

BindInvoke() публичный Метод

public BindInvoke ( InvokeBinder invoke ) : DynamicMetaObject
invoke InvokeBinder
Результат DynamicMetaObject

BindInvokeMember() публичный Метод

public BindInvokeMember ( InvokeMemberBinder action, DynamicMetaObject args ) : DynamicMetaObject
action InvokeMemberBinder
args DynamicMetaObject
Результат DynamicMetaObject

BindSetIndex() публичный Метод

public BindSetIndex ( SetIndexBinder binder, DynamicMetaObject indexes, DynamicMetaObject value ) : DynamicMetaObject
binder SetIndexBinder
indexes DynamicMetaObject
value DynamicMetaObject
Результат DynamicMetaObject

BindSetMember() публичный Метод

public BindSetMember ( SetMemberBinder member, DynamicMetaObject value ) : DynamicMetaObject
member SetMemberBinder
value DynamicMetaObject
Результат DynamicMetaObject

BindUnaryOperation() публичный Метод

public BindUnaryOperation ( UnaryOperationBinder binder ) : DynamicMetaObject
binder UnaryOperationBinder
Результат DynamicMetaObject

ConvertWorker() публичный Метод

public ConvertWorker ( DynamicMetaObjectBinder binder, Type type, Type retType, ConversionResultKind kind ) : DynamicMetaObject
binder DynamicMetaObjectBinder
type System.Type
retType System.Type
kind ConversionResultKind
Результат DynamicMetaObject

GetDynamicMemberNames() публичный Метод

public GetDynamicMemberNames ( ) : System.Collections.Generic.IEnumerable
Результат System.Collections.Generic.IEnumerable

GetMember() публичный Метод

public GetMember ( IronPython.Runtime.Binding.PythonGetMemberBinder member, DynamicMetaObject codeContext ) : DynamicMetaObject
member IronPython.Runtime.Binding.PythonGetMemberBinder
codeContext DynamicMetaObject
Результат DynamicMetaObject

Invoke() публичный Метод

public Invoke ( IronPython.Runtime.Binding.PythonInvokeBinder pythonInvoke, Expression codeContext, DynamicMetaObject target, DynamicMetaObject args ) : DynamicMetaObject
pythonInvoke IronPython.Runtime.Binding.PythonInvokeBinder
codeContext Expression
target DynamicMetaObject
args DynamicMetaObject
Результат DynamicMetaObject

MetaOldInstance() публичный Метод

public MetaOldInstance ( Expression expression, BindingRestrictions restrictions, OldInstance value ) : System.Linq.Expressions
expression Expression
restrictions BindingRestrictions
value IronPython.Runtime.Types.OldInstance
Результат System.Linq.Expressions