C# Class Pegasus.Common.CacheKey

Mostra file Open project: otac0n/Pegasus Class Usage Examples

Public Methods

Method Description
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.

Method Details

CacheKey() public method

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.
return System.Diagnostics

Equals() public method

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.
return bool

GetHashCode() public method

Serves as a hash function for a particular type.
public GetHashCode ( ) : int
return int