A key used by the SynchronizedCachedSingletonFactory<TKey, TValue>. More...
Public Member Functions | |
CacheKey (string cacheKey, TKey key, CreateMethodDelegate< TKey, TValue > createMethod) | |
Initializes a new instance of the CacheKey<TKey,TValue> struct. More... | |
override bool | Equals (object obj) |
Compares the keys of two CacheKey<TKey,TValue> instances. More... | |
override int | GetHashCode () |
Gets the hash code of the key. More... | |
override string | ToString () |
Returns a string representation of the instance. More... | |
Public Attributes | |
readonly string | AspCacheKey |
THe asp net cache key. More... | |
readonly CreateMethodDelegate< TKey, TValue > | CreateMethod |
The creation method. More... | |
readonly TKey | Key |
The key. More... | |
A key used by the SynchronizedCachedSingletonFactory<TKey, TValue>.
TKey | The type of keys the factory uses. |
TValue | The type of values the factory uses. |
|
inline |
Initializes a new instance of the CacheKey<TKey,TValue> struct.
cacheKey | The cache key. |
key | The key. |
createMethod | The creation method. |
|
inline |
Compares the keys of two CacheKey<TKey,TValue> instances.
obj | The obj. |
InvalidCastException | obj is not a CacheKey<TKey,TValue>. |
|
inline |
Gets the hash code of the key.
|
inline |
Returns a string representation of the instance.
readonly string ExitGames.Threading.CachedSingletonFactory.CacheKey< TKey, TValue >.AspCacheKey |
THe asp net cache key.
readonly CreateMethodDelegate<TKey, TValue> ExitGames.Threading.CachedSingletonFactory.CacheKey< TKey, TValue >.CreateMethod |
The creation method.
readonly TKey ExitGames.Threading.CachedSingletonFactory.CacheKey< TKey, TValue >.Key |
The key.