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
파일 보기 프로젝트 열기: ekonbenefits/dynamitey 1 사용 예제들

공개 메소드들

메소드 설명
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