ObjectDependency.GetCacheKey Method |
Gets a string that uniquely represents the current object.
Namespace: PostSharp.Patterns.Caching.Dependencies
Assembly: PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public string GetCacheKey()
Return Value
Type: StringA string that uniquely represents the current object.
Implements
ICacheDependency.GetCacheKey()The returned key should be globally unique, not just unique within the class implementing the method.