View Source
Class RepositoryCacheKeys
Provides cache keys for repositories.
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 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 Parameters