View Source
Class RepositoryCacheKeys
Provides cache keys for repositories.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public static class RepositoryCacheKeys
Methods
View Source
GetKey<T>()
Gets the repository cache key for the provided type.
Declaration
public static string GetKey<T>()
Returns
Type |
Description |
System.String |
|
Type Parameters
View Source
GetKey<T, TId>(TId)
Gets the repository cache key for the provided type and Id.
Declaration
public static string GetKey<T, TId>(TId id)
Parameters
Type |
Name |
Description |
TId |
id |
|
Returns
Type |
Description |
System.String |
|
Type Parameters