C# 클래스 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.
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5

공개 프로퍼티들

프로퍼티 타입 설명
ArgTypes HashSet
ExpressionAsString string
ReturnType string

공개 메소드들

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

메소드 상세

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

LambdaExpressionCacheKey() 공개 메소드

public LambdaExpressionCacheKey ( LambdaExpression obj ) : System
obj System.Linq.Expressions.LambdaExpression
리턴 System

LambdaExpressionCacheKey() 공개 메소드

public LambdaExpressionCacheKey ( string returnType, string expression ) : System
returnType string
expression string
리턴 System

ToString() 공개 메소드

Returns a System.String that represents this instance.
public ToString ( ) : string
리턴 string

프로퍼티 상세

ArgTypes 공개적으로 프로퍼티

The argument type names of the LambdaExpression
public HashSet ArgTypes
리턴 HashSet

ExpressionAsString 공개적으로 프로퍼티

The original string representation of the LambdaExpression
public string ExpressionAsString
리턴 string

ReturnType 공개적으로 프로퍼티

The return type of the LambdaExpression
public string ReturnType
리턴 string