PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Caching.​Dependencies Namespace/String­Dependency Class

StringDependency Class

A cache dependency that is already represented as a string.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Caching.Dependencies.StringDependency

Namespace:  PostSharp.Patterns.Caching.Dependencies
Assembly:  PostSharp.Patterns.Caching (in PostSharp.Patterns.Caching.dll) Version: 6.2.7.0 (6.2.7.0)
Syntax
C#
public sealed class StringDependency : ICacheDependency

The StringDependency type exposes the following members.

Constructors
  NameDescription
Public methodStringDependency
Initializes a new StringDependency.
Methods
  NameDescription
Public methodEquals(Object)
Determines whether the specified object is equal to the current object.
(Overrides Object.Equals(Object).)
Public methodEquals(ICacheDependency)
Public methodGetCacheKey
Gets a string that uniquely represents the current object.
Public methodGetHashCode
Serves as the default hash function.
(Overrides Object.GetHashCode().)
See Also