C# Класс Pegasus.Common.CacheKey

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CacheKey ( string ruleName, int stateKey, int location ) : System.Diagnostics

Initializes a new instance of the CacheKey class.

Equals ( object obj ) : bool

Determines whether the specified object is equal to the current CacheKey.

GetHashCode ( ) : int

Serves as a hash function for a particular type.

Описание методов

CacheKey() публичный Метод

Initializes a new instance of the CacheKey class.
public CacheKey ( string ruleName, int stateKey, int location ) : System.Diagnostics
ruleName string The name of the rule.
stateKey int The state key of the current cursor.
location int The location of the current cursor.
Результат System.Diagnostics

Equals() публичный Метод

Determines whether the specified object is equal to the current CacheKey.
public Equals ( object obj ) : bool
obj object The object to compare with the current object.
Результат bool

GetHashCode() публичный Метод

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
Результат int