Class CacheNameAttribute
Inheritance
CacheNameAttribute
Assembly: Volo.Abp.Caching.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Interface)]
public class CacheNameAttribute : Attribute
Constructors
CacheNameAttribute(string)
Declaration
public CacheNameAttribute(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Properties
Name
Declaration
public string Name { get; }
Property Value
Methods
GetCacheName(Type)
Declaration
public static string GetCacheName(Type cacheItemType)
Parameters
Type |
Name |
Description |
Type |
cacheItemType |
|
Returns
GetCacheName<TCacheItem>()
Declaration
public static string GetCacheName<TCacheItem>()
Returns
Type Parameters
Name |
Description |
TCacheItem |
|
Extension Methods