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.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
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