Class CacheKeyGenerator
Inheritance
System.Object
CacheKeyGenerator
Assembly: Volo.Docs.Domain.dll
Syntax
public static class CacheKeyGenerator : object
Methods
GenerateDocumentResourceCacheKey(Project, String, String, String)
Declaration
public static string GenerateDocumentResourceCacheKey(Project project, string resourceName, string languageCode, string version)
Parameters
| Type |
Name |
Description |
| Project |
project |
|
| System.String |
resourceName |
|
| System.String |
languageCode |
|
| System.String |
version |
|
Returns
| Type |
Description |
| System.String |
|
GenerateDocumentUpdateInfoCacheKey(Project, String, String, String)
Declaration
public static string GenerateDocumentUpdateInfoCacheKey(Project project, string documentName, string languageCode, string version)
Parameters
| Type |
Name |
Description |
| Project |
project |
|
| System.String |
documentName |
|
| System.String |
languageCode |
|
| System.String |
version |
|
Returns
| Type |
Description |
| System.String |
|
GenerateProjectLanguageCacheKey(Project)
Declaration
public static string GenerateProjectLanguageCacheKey(Project project)
Parameters
| Type |
Name |
Description |
| Project |
project |
|
Returns
| Type |
Description |
| System.String |
|
GenerateProjectVersionsCacheKey(Project)
Declaration
public static string GenerateProjectVersionsCacheKey(Project project)
Parameters
| Type |
Name |
Description |
| Project |
project |
|
Returns
| Type |
Description |
| System.String |
|