C# Class 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. ///
Inheritance: Invocation
Afficher le fichier Open project: ekonbenefits/dynamitey Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

CacheableInvocation() public méthode

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.
Résultat System

CreateCall() public static méthode

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.
Résultat CacheableInvocation

CreateConvert() public static méthode

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].
Résultat CacheableInvocation

Equals() public méthode

Equalses the specified other.
public Equals ( CacheableInvocation other ) : bool
other CacheableInvocation The other.
Résultat bool

Equals() public méthode

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

GetHashCode() public méthode

Returns a hash code for this instance.
public GetHashCode ( ) : int
Résultat int

Invoke() public méthode

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.
Résultat object