PostSharp//API Reference/Post­Sharp.​Patterns.​Caching.​Dependencies/String­Dependency
Open sandboxFocus

Class StringDependency

A cache dependency that is already represented as a string.

Inheritance
StringDependency
Implements
ICacheDependency
Namespace: PostSharp.Patterns.Caching.Dependencies
Assembly: PostSharp.Patterns.Caching.dll
Syntax
public sealed class StringDependency : Object, ICacheDependency

Constructors

Name Description
StringDependency(String)

Initializes a new StringDependency.

Methods

Name Description
Equals(ICacheDependency)

Determines whether the specified object is equal to the current object.

Equals(Object)

Determines whether the specified object is equal to the current object.

GetCacheKey()

Gets a string that uniquely represents the current object.

GetHashCode()

Serves as the default hash function.