PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Caching.​Dependencies Namespace/ICache­Dependency Interface/ICache­Dependency Methods/ICache­Dependency.​Get­Cache­Key Method

ICacheDependency.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: 6.2.13.0 (6.2.13.0)
Syntax
C#
string GetCacheKey()

Return Value

Type: String
A string that uniquely represents the current object.
Remarks

The returned key should be globally unique, not just unique within the class implementing the method.

See Also