C# Class Rebel.Framework.LambdaExpressionCacheKey

Represents a simple LambdaExpression in a form which is suitable for using as a dictionary key by exposing the return type, argument types and expression string form in a single concatenated string.
Afficher le fichier Open project: RebelCMS/rebelcmsxu5

Méthodes publiques

Свойство Type Description
ArgTypes HashSet
ExpressionAsString string
ReturnType string

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

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

GetHashCode ( ) : int

Returns a hash code for this instance.

LambdaExpressionCacheKey ( LambdaExpression obj ) : System
LambdaExpressionCacheKey ( string returnType, string expression ) : System
ToString ( ) : string

Returns a System.String that represents this instance.

Method Details

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

LambdaExpressionCacheKey() public méthode

public LambdaExpressionCacheKey ( LambdaExpression obj ) : System
obj System.Linq.Expressions.LambdaExpression
Résultat System

LambdaExpressionCacheKey() public méthode

public LambdaExpressionCacheKey ( string returnType, string expression ) : System
returnType string
expression string
Résultat System

ToString() public méthode

Returns a System.String that represents this instance.
public ToString ( ) : string
Résultat string

Property Details

ArgTypes public_oe property

The argument type names of the LambdaExpression
public HashSet ArgTypes
Résultat HashSet

ExpressionAsString public_oe property

The original string representation of the LambdaExpression
public string ExpressionAsString
Résultat string

ReturnType public_oe property

The return type of the LambdaExpression
public string ReturnType
Résultat string