C# Class UnitTests.DynamicMetaObjectTests.DynamicMetaObjectWrapper

Inheritance: System.Dynamic.DynamicObject
显示文件 Open project: paulbartrum/jurassic

Public Methods

Method Description
DynamicMetaObjectWrapper ( ObjectInstance obj ) : System
TryGetIndex ( System binder, object indexes, object &result ) : bool

Provides the implementation for operations that get a value by index.

TryGetMember ( System binder, object &result ) : bool

Provides the implementation for operations that get member values.

TryInvokeMember ( System binder, object args, object &result ) : bool

Provides the implementation for operations that invoke a member.

TrySetIndex ( System binder, object indexes, object value ) : bool

Provides the implementation for operations that set a value by index.

TrySetMember ( System binder, object value ) : bool

Provides the implementation for operations that set member values.

Method Details

DynamicMetaObjectWrapper() public method

public DynamicMetaObjectWrapper ( ObjectInstance obj ) : System
obj Jurassic.Library.ObjectInstance
return System

TryGetIndex() public method

Provides the implementation for operations that get a value by index.
public TryGetIndex ( System binder, object indexes, object &result ) : bool
binder System Provides information about the object that called the dynamic /// operation.
indexes object The indexes that are used in the operation.
result object The result of the index operation.
return bool

TryGetMember() public method

Provides the implementation for operations that get member values.
public TryGetMember ( System binder, object &result ) : bool
binder System Provides information about the object that called the dynamic /// operation.
result object The result of the get operation.
return bool

TryInvokeMember() public method

Provides the implementation for operations that invoke a member.
public TryInvokeMember ( System binder, object args, object &result ) : bool
binder System Provides information about the dynamic operation.
args object The arguments that are passed to the object member during the /// invoke operation.
result object The result of the member invocation.
return bool

TrySetIndex() public method

Provides the implementation for operations that set a value by index.
public TrySetIndex ( System binder, object indexes, object value ) : bool
binder System Provides information about the object that called the dynamic /// operation.
indexes object The indexes that are used in the operation.
value object The value to set to the object that has the specified index.
return bool

TrySetMember() public method

Provides the implementation for operations that set member values.
public TrySetMember ( System binder, object value ) : bool
binder System Provides information about the object that called the dynamic /// operation.
value object The value to set to the member.
return bool