C# Class OleViewDotNet.DynamicComObjectWrapper

Inheritance: System.Dynamic.DynamicObject
Exibir arquivo Open project: tyranid/oleviewdotnet Class Usage Examples

Public Methods

Method Description
DynamicComObjectWrapper ( COMRegistry registry, Type instanceType, object entry ) : System
GetDynamicMemberNames ( ) : IEnumerable
ToString ( ) : string
TryGetMember ( GetMemberBinder binder, object &result ) : bool
TrySetMember ( SetMemberBinder binder, object value ) : bool
Unwrap ( object o ) : object
Wrap ( COMRegistry registry, object o, Type objType ) : object

Private Methods

Method Description
GetInterfaces ( ) : COMInterfaceEntry[]
Invoke ( string name, bool getprop, object &result, object args ) : bool
QueryInterface ( string name ) : object

Method Details

DynamicComObjectWrapper() public method

public DynamicComObjectWrapper ( COMRegistry registry, Type instanceType, object entry ) : System
registry COMRegistry
instanceType System.Type
entry object
return System

GetDynamicMemberNames() public method

public GetDynamicMemberNames ( ) : IEnumerable
return IEnumerable

ToString() public method

public ToString ( ) : string
return string

TryGetMember() public method

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

TrySetMember() public method

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

Unwrap() public static method

public static Unwrap ( object o ) : object
o object
return object

Wrap() public static method

public static Wrap ( COMRegistry registry, object o, Type objType ) : object
registry COMRegistry
o object
objType System.Type
return object