PostSharpAPI ReferencePost­Sharp.​Patterns.​Caching.​DependenciesObject­DependencyGet­Cache­Key
Open sandboxFocus

ObjectDependency.GetCacheKey Method

GetCacheKey()

Gets a string that uniquely represents the current object.

Declaration
public string GetCacheKey()
Returns
Type Description
System.String

A string that uniquely represents the current object.

Implements
ICacheDependency.GetCacheKey()
Remarks

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