C# 클래스 Microsoft.Scripting.ComInterop.ComBinder

Provides helper methods to bind COM objects dynamically.
파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
CanComBind ( object value ) : bool
GetDynamicMemberNames ( object value ) : IEnumerable

Gets the member names associated with the object. This function can operate only with objects for which IsComObject returns true.

IsComObject ( object value ) : bool

Determines if an object is a COM object.

TryBindGetIndex ( GetIndexBinder binder, DynamicMetaObject instance, DynamicMetaObject args, DynamicMetaObject &result ) : bool

Tries to perform binding of the dynamic get index operation.

TryBindGetMember ( GetMemberBinder binder, DynamicMetaObject instance, DynamicMetaObject &result ) : bool

Tries to perform binding of the dynamic get member operation.

TryBindGetMember ( GetMemberBinder binder, DynamicMetaObject instance, DynamicMetaObject &result, bool delayInvocation ) : bool

Tries to perform binding of the dynamic get member operation.

TryBindInvoke ( InvokeBinder binder, DynamicMetaObject instance, DynamicMetaObject args, DynamicMetaObject &result ) : bool

Tries to perform binding of the dynamic invoke operation.

TryBindInvokeMember ( InvokeMemberBinder binder, DynamicMetaObject instance, DynamicMetaObject args, DynamicMetaObject &result ) : bool

Tries to perform binding of the dynamic invoke member operation.

TryBindSetIndex ( SetIndexBinder binder, DynamicMetaObject instance, DynamicMetaObject args, DynamicMetaObject value, DynamicMetaObject &result ) : bool

Tries to perform binding of the dynamic set index operation.

TryBindSetMember ( SetMemberBinder binder, DynamicMetaObject instance, DynamicMetaObject value, DynamicMetaObject &result ) : bool

Tries to perform binding of the dynamic set member operation.

TryConvert ( ConvertBinder binder, DynamicMetaObject instance, DynamicMetaObject &result ) : bool

Tries to perform binding of the dynamic Convert operation.

비공개 메소드들

메소드 설명
GetDynamicDataMemberNames ( object value ) : IList
GetDynamicDataMembers ( object value, IEnumerable names ) : object>>.IList
TryGetMetaObject ( DynamicMetaObject &instance ) : bool
TryGetMetaObjectInvoke ( DynamicMetaObject &instance ) : bool

메소드 상세

CanComBind() 공개 정적인 메소드

public static CanComBind ( object value ) : bool
value object
리턴 bool

GetDynamicMemberNames() 공개 정적인 메소드

Gets the member names associated with the object. This function can operate only with objects for which IsComObject returns true.
public static GetDynamicMemberNames ( object value ) : IEnumerable
value object The object for which member names are requested.
리턴 IEnumerable

IsComObject() 공개 정적인 메소드

Determines if an object is a COM object.
public static IsComObject ( object value ) : bool
value object The object to test.
리턴 bool

TryBindGetIndex() 공개 정적인 메소드

Tries to perform binding of the dynamic get index operation.
public static TryBindGetIndex ( GetIndexBinder binder, DynamicMetaObject instance, DynamicMetaObject args, DynamicMetaObject &result ) : bool
binder System.Dynamic.GetIndexBinder An instance of the that represents the details of the dynamic operation.
instance System.Dynamic.DynamicMetaObject The target of the dynamic operation.
args System.Dynamic.DynamicMetaObject An array of instances - arguments to the invoke member operation.
result System.Dynamic.DynamicMetaObject The new representing the result of the binding.
리턴 bool

TryBindGetMember() 공개 정적인 메소드

Tries to perform binding of the dynamic get member operation.
public static TryBindGetMember ( GetMemberBinder binder, DynamicMetaObject instance, DynamicMetaObject &result ) : bool
binder System.Dynamic.GetMemberBinder An instance of the that represents the details of the dynamic operation.
instance System.Dynamic.DynamicMetaObject The target of the dynamic operation.
result System.Dynamic.DynamicMetaObject The new representing the result of the binding.
리턴 bool

TryBindGetMember() 공개 정적인 메소드

Tries to perform binding of the dynamic get member operation.
public static TryBindGetMember ( GetMemberBinder binder, DynamicMetaObject instance, DynamicMetaObject &result, bool delayInvocation ) : bool
binder System.Dynamic.GetMemberBinder An instance of the that represents the details of the dynamic operation.
instance System.Dynamic.DynamicMetaObject The target of the dynamic operation.
result System.Dynamic.DynamicMetaObject The new representing the result of the binding.
delayInvocation bool true if member evaluation may be delayed.
리턴 bool

TryBindInvoke() 공개 정적인 메소드

Tries to perform binding of the dynamic invoke operation.
public static TryBindInvoke ( InvokeBinder binder, DynamicMetaObject instance, DynamicMetaObject args, DynamicMetaObject &result ) : bool
binder System.Dynamic.InvokeBinder An instance of the that represents the details of the dynamic operation.
instance System.Dynamic.DynamicMetaObject The target of the dynamic operation.
args System.Dynamic.DynamicMetaObject An array of instances - arguments to the invoke member operation.
result System.Dynamic.DynamicMetaObject The new representing the result of the binding.
리턴 bool

TryBindInvokeMember() 공개 정적인 메소드

Tries to perform binding of the dynamic invoke member operation.
public static TryBindInvokeMember ( InvokeMemberBinder binder, DynamicMetaObject instance, DynamicMetaObject args, DynamicMetaObject &result ) : bool
binder System.Dynamic.InvokeMemberBinder An instance of the that represents the details of the dynamic operation.
instance System.Dynamic.DynamicMetaObject The target of the dynamic operation.
args System.Dynamic.DynamicMetaObject An array of instances - arguments to the invoke member operation.
result System.Dynamic.DynamicMetaObject The new representing the result of the binding.
리턴 bool

TryBindSetIndex() 공개 정적인 메소드

Tries to perform binding of the dynamic set index operation.
public static TryBindSetIndex ( SetIndexBinder binder, DynamicMetaObject instance, DynamicMetaObject args, DynamicMetaObject value, DynamicMetaObject &result ) : bool
binder System.Dynamic.SetIndexBinder An instance of the that represents the details of the dynamic operation.
instance System.Dynamic.DynamicMetaObject The target of the dynamic operation.
args System.Dynamic.DynamicMetaObject An array of instances - arguments to the invoke member operation.
value System.Dynamic.DynamicMetaObject The representing the value for the set index operation.
result System.Dynamic.DynamicMetaObject The new representing the result of the binding.
리턴 bool

TryBindSetMember() 공개 정적인 메소드

Tries to perform binding of the dynamic set member operation.
public static TryBindSetMember ( SetMemberBinder binder, DynamicMetaObject instance, DynamicMetaObject value, DynamicMetaObject &result ) : bool
binder System.Dynamic.SetMemberBinder An instance of the that represents the details of the dynamic operation.
instance System.Dynamic.DynamicMetaObject The target of the dynamic operation.
value System.Dynamic.DynamicMetaObject The representing the value for the set member operation.
result System.Dynamic.DynamicMetaObject The new representing the result of the binding.
리턴 bool

TryConvert() 공개 정적인 메소드

Tries to perform binding of the dynamic Convert operation.
public static TryConvert ( ConvertBinder binder, DynamicMetaObject instance, DynamicMetaObject &result ) : bool
binder System.Dynamic.ConvertBinder An instance of the that represents the details of the dynamic operation.
instance System.Dynamic.DynamicMetaObject The target of the dynamic operation.
result System.Dynamic.DynamicMetaObject The new representing the result of the binding.
리턴 bool