 | HandlebarsViewEngineCacheKeyPrefix Property |
The prefix to use when creating the cache keys.
Namespace: HandlebarsDotNet.MvcAssembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntaxpublic virtual string CacheKeyPrefix { get; set; }
Public Overridable Property CacheKeyPrefix As String
Get
Set
public:
virtual property String^ CacheKeyPrefix {
String^ get ();
void set (String^ value);
}
abstract CacheKeyPrefix : string with get, set
override CacheKeyPrefix : string with get, set
Property Value
Type:
String
Remarks
If you against all odds need to register multiple instances of
HandlebarsViewEngine in
Engines then each instance must have its own unique
CacheKeyPrefix.
The default prefix is a random value so usually this doesn't need to be set explicitly.
See Also