C# Class Dynamitey.Invocation

Storable representation of an invocation without the target
Mostra file Open project: ekonbenefits/dynamitey Class Usage Examples

Public Properties

Property Type Description
ConstructorBinderName string
ExplicitConvertBinderName string
ImplicitConvertBinderName string
IndexBinderName string

Public Methods

Method Description
Create ( InvocationKind kind, String_OR_InvokeMemberName name ) : Invocation

Creates the invocation.

Equals ( Invocation other ) : bool

Equalses the specified other.

Equals ( object obj ) : bool

Determines whether the specified System.Object is equal to this instance.

GetHashCode ( ) : int

Returns a hash code for this instance.

Invocation ( InvocationKind kind, String_OR_InvokeMemberName name ) : System

Initializes a new instance of the Invocation class.

Invoke ( object target ) : object

Invokes the invocation on specified target with specific args.

InvokeWithStoredArgs ( object target ) : object

Invokes the invocation on specified target.

Method Details

Create() public static method

Creates the invocation.
public static Create ( InvocationKind kind, String_OR_InvokeMemberName name ) : Invocation
kind InvocationKind The kind.
name String_OR_InvokeMemberName The name.
return Invocation

Equals() public method

Equalses the specified other.
public Equals ( Invocation other ) : bool
other Invocation The other.
return bool

Equals() public method

Determines whether the specified System.Object is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
return bool

GetHashCode() public method

Returns a hash code for this instance.
public GetHashCode ( ) : int
return int

Invocation() public method

Initializes a new instance of the Invocation class.
public Invocation ( InvocationKind kind, String_OR_InvokeMemberName name ) : System
kind InvocationKind The kind.
name String_OR_InvokeMemberName The name.
return System

Invoke() public method

Invokes the invocation on specified target with specific args.
public Invoke ( object target ) : object
target object The target.
return object

InvokeWithStoredArgs() public method

Invokes the invocation on specified target.
public InvokeWithStoredArgs ( object target ) : object
target object The target.
return object

Property Details

ConstructorBinderName public_oe static_oe property

Defacto Binder Name for Construvter
public static string ConstructorBinderName
return string

ExplicitConvertBinderName public_oe static_oe property

Defacto Binder Name for Explicit Convert Op
public static string ExplicitConvertBinderName
return string

ImplicitConvertBinderName public_oe static_oe property

Defacto Binder Name for Implicit Convert Op
public static string ImplicitConvertBinderName
return string

IndexBinderName public_oe static_oe property

Defacto Binder Name for Indexer
public static string IndexBinderName
return string