Class CacheKey
- Namespace
- FoundationaLLM.Common.Models.Cache
- Assembly
- FoundationaLLM.Common.dll
Composite caching key.
public class CacheKey
- Inheritance
-
CacheKey
- Inherited Members
- Extension Methods
Constructors
CacheKey(string, string)
Composite caching key.
public CacheKey(string name, string category)
Parameters
name
stringThe name of the object identified by the cache key.
category
stringThe category of the object identified by the cache key.
Fields
Category
The category of the object from the cache.
public string Category
Field Value
Name
The name of the object from the cache.
public string Name
Field Value
Methods
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.