C# Класс Dynamitey.CacheableInvocation

Cacheable representation of an invocation without the target or arguments also by default only does public methods to make it easier to cache. ///
Наследование: Invocation
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
CacheableInvocation ( InvocationKind kind, String_OR_InvokeMemberName name = null, int argCount, string argNames = null, object context = null, Type convertType = null, bool convertExplicit = false, object storedArgs = null ) : System

Initializes a new instance of the CacheableInvocation class.

CreateCall ( InvocationKind kind, String_OR_InvokeMemberName name = null, CallInfo callInfo = null, object context = null ) : CacheableInvocation

Creates the cacheable method or indexer or property call.

CreateConvert ( Type convertType, bool convertExplicit = false ) : CacheableInvocation

Creates the cacheable convert call.

Equals ( CacheableInvocation 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.

Invoke ( object target ) : object

Invokes the invocation on specified target with specific args.

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

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

Initializes a new instance of the CacheableInvocation class.
public CacheableInvocation ( InvocationKind kind, String_OR_InvokeMemberName name = null, int argCount, string argNames = null, object context = null, Type convertType = null, bool convertExplicit = false, object storedArgs = null ) : System
kind InvocationKind The kind.
name String_OR_InvokeMemberName The name.
argCount int The arg count.
argNames string The arg names.
context object The context.
convertType System.Type Type of the convert.
convertExplicit bool if set to true [convert explict].
storedArgs object The stored args.
Результат System

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

Creates the cacheable method or indexer or property call.
public static CreateCall ( InvocationKind kind, String_OR_InvokeMemberName name = null, CallInfo callInfo = null, object context = null ) : CacheableInvocation
kind InvocationKind The kind.
name String_OR_InvokeMemberName The name.
callInfo System.Dynamic.CallInfo The callInfo.
context object The context.
Результат CacheableInvocation

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

Creates the cacheable convert call.
public static CreateConvert ( Type convertType, bool convertExplicit = false ) : CacheableInvocation
convertType System.Type Type of the convert.
convertExplicit bool if set to true [convert explict].
Результат CacheableInvocation

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

Equalses the specified other.
public Equals ( CacheableInvocation other ) : bool
other CacheableInvocation 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

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

Invokes the invocation on specified target with specific args.
CacheableInvocation can't change conversion type on invoke.;args Unknown Invocation Kind:
public Invoke ( object target ) : object
target object The target.
Результат object