C# Класс Dynamitey.Invocation

Storable representation of an invocation without the target
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ConstructorBinderName string
ExplicitConvertBinderName string
ImplicitConvertBinderName string
IndexBinderName string

Открытые методы

Метод Описание
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.

Описание методов

Create() публичный статический Метод

Creates the invocation.
public static Create ( InvocationKind kind, String_OR_InvokeMemberName name ) : Invocation
kind InvocationKind The kind.
name String_OR_InvokeMemberName The name.
Результат Invocation

Equals() публичный Метод

Equalses the specified other.
public Equals ( Invocation other ) : bool
other Invocation The other.
Результат bool

Equals() публичный Метод

Determines whether the specified System.Object is equal to this instance.
public Equals ( object obj ) : bool
obj object The to compare with this instance.
Результат bool

GetHashCode() публичный Метод

Returns a hash code for this instance.
public GetHashCode ( ) : int
Результат int

Invocation() публичный Метод

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.
Результат System

Invoke() публичный Метод

Invokes the invocation on specified target with specific args.
public Invoke ( object target ) : object
target object The target.
Результат object

InvokeWithStoredArgs() публичный Метод

Invokes the invocation on specified target.
public InvokeWithStoredArgs ( object target ) : object
target object The target.
Результат object

Описание свойств

ConstructorBinderName публичное статическое свойство

Defacto Binder Name for Construvter
public static string ConstructorBinderName
Результат string

ExplicitConvertBinderName публичное статическое свойство

Defacto Binder Name for Explicit Convert Op
public static string ExplicitConvertBinderName
Результат string

ImplicitConvertBinderName публичное статическое свойство

Defacto Binder Name for Implicit Convert Op
public static string ImplicitConvertBinderName
Результат string

IndexBinderName публичное статическое свойство

Defacto Binder Name for Indexer
public static string IndexBinderName
Результат string