C# Class Dynamitey.DynamicObjects.Mimic

Class for TDD, used for mocking any dynamic object
Inheritance: System.Dynamic.DynamicObject
Datei anzeigen Open project: ekonbenefits/dynamitey Class Usage Examples

Public Methods

Method Description
TryBinaryOperation ( BinaryOperationBinder binder, object arg, object &result ) : bool

Override on DynamicObject

TryConvert ( ConvertBinder binder, object &result ) : bool

Override on DynamicObject

TryCreateInstance ( CreateInstanceBinder binder, object args, object &result ) : bool

Override on DynamicObject

TryDeleteIndex ( DeleteIndexBinder binder, object indexes ) : bool

Override on DynamicObject

TryDeleteMember ( DeleteMemberBinder binder ) : bool

Override on DynamicObject

TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool

Override on DynamicObject

TryGetMember ( GetMemberBinder binder, object &result ) : bool

Override on DynamicObject

TryInvoke ( InvokeBinder binder, object args, object &result ) : bool

Override on DynamicObject

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

Override on DynamicObject

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

Override on DynamicObject

TrySetMember ( SetMemberBinder binder, object value ) : bool

Override on DynamicObject

TryUnaryOperation ( UnaryOperationBinder binder, object &result ) : bool

Override on DynamicObject

Method Details

TryBinaryOperation() public method

Override on DynamicObject
public TryBinaryOperation ( BinaryOperationBinder binder, object arg, object &result ) : bool
binder System.Dynamic.BinaryOperationBinder
arg object
result object
return bool

TryConvert() public method

Override on DynamicObject
public TryConvert ( ConvertBinder binder, object &result ) : bool
binder System.Dynamic.ConvertBinder
result object
return bool

TryCreateInstance() public method

Override on DynamicObject
public TryCreateInstance ( CreateInstanceBinder binder, object args, object &result ) : bool
binder System.Dynamic.CreateInstanceBinder
args object
result object
return bool

TryDeleteIndex() public method

Override on DynamicObject
public TryDeleteIndex ( DeleteIndexBinder binder, object indexes ) : bool
binder System.Dynamic.DeleteIndexBinder
indexes object
return bool

TryDeleteMember() public method

Override on DynamicObject
public TryDeleteMember ( DeleteMemberBinder binder ) : bool
binder System.Dynamic.DeleteMemberBinder
return bool

TryGetIndex() public method

Override on DynamicObject
public TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool
binder System.Dynamic.GetIndexBinder
indexes object
result object
return bool

TryGetMember() public method

Override on DynamicObject
public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder
result object
return bool

TryInvoke() public method

Override on DynamicObject
public TryInvoke ( InvokeBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeBinder
args object
result object
return bool

TryInvokeMember() public method

Override on DynamicObject
public TryInvokeMember ( InvokeMemberBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeMemberBinder
args object
result object
return bool

TrySetIndex() public method

Override on DynamicObject
public TrySetIndex ( SetIndexBinder binder, object indexes, object value ) : bool
binder System.Dynamic.SetIndexBinder
indexes object
value object
return bool

TrySetMember() public method

Override on DynamicObject
public TrySetMember ( SetMemberBinder binder, object value ) : bool
binder System.Dynamic.SetMemberBinder
value object
return bool

TryUnaryOperation() public method

Override on DynamicObject
public TryUnaryOperation ( UnaryOperationBinder binder, object &result ) : bool
binder System.Dynamic.UnaryOperationBinder
result object
return bool