C# Class Dynamitey.DynamicObjects.ExtensionToInstanceProxy.Invoker

Basic Invoker syntax for dynamic generics
Inheritance: BaseObject
Show file Open project: ekonbenefits/dynamitey

Protected Properties

Property Type Description
GenericMethodParameters System.Type[]
GenericParams System.Type[]
Name string
OverloadTypes Type[]>.IDictionary
Parent ExtensionToInstanceProxy

Public Methods

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

Tries the index of the get.

TryGetMember ( GetMemberBinder binder, object &result ) : bool

Tries the get member.

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

Tries the invoke.

Private Methods

Method Description
Invoker ( string name, Type genericParameters, Type genericMethodParameters, ExtensionToInstanceProxy parent, Type overloadTypes = null ) : System
ReplaceGenericTypes ( Type type ) : Type

Method Details

TryGetIndex() public method

Tries the index of the get.
public TryGetIndex ( GetIndexBinder binder, object indexes, object &result ) : bool
binder System.Dynamic.GetIndexBinder The binder.
indexes object The indexes.
result object The result.
return bool

TryGetMember() public method

Tries the get member.
public TryGetMember ( GetMemberBinder binder, object &result ) : bool
binder System.Dynamic.GetMemberBinder The binder.
result object The result.
return bool

TryInvoke() public method

Tries the invoke.
public TryInvoke ( InvokeBinder binder, object args, object &result ) : bool
binder System.Dynamic.InvokeBinder The binder.
args object The args.
result object The result.
return bool

Property Details

GenericMethodParameters protected property

The generic method parameters
protected Type[],System GenericMethodParameters
return System.Type[]

GenericParams protected property

The generic params
protected Type[],System GenericParams
return System.Type[]

Name protected property

The name
protected string Name
return string

OverloadTypes protected property

The overload types
protected IDictionary OverloadTypes
return Type[]>.IDictionary

Parent protected property

The parent
protected ExtensionToInstanceProxy,Dynamitey.DynamicObjects Parent
return ExtensionToInstanceProxy