add Fingerprint property to ModuleBase and ThemeBase
This commit is contained in:
parent
bfb4b4431b
commit
ed981c67b7
|
@ -132,6 +132,15 @@ namespace Oqtane.Modules
|
|||
return PageState?.Alias.BaseUrl + "/Modules/" + GetType().Namespace + "/";
|
||||
}
|
||||
|
||||
// fingerprint hash code for static assets
|
||||
public string Fingerprint
|
||||
{
|
||||
get
|
||||
{
|
||||
return ModuleState.ModuleDefinition.Hash;
|
||||
}
|
||||
}
|
||||
|
||||
// url methods
|
||||
|
||||
// navigate url
|
||||
|
|
|
@ -101,6 +101,15 @@ namespace Oqtane.Themes
|
|||
return PageState?.Alias.BaseUrl + "/Themes/" + GetType().Namespace + "/";
|
||||
}
|
||||
|
||||
// fingerprint hash code for static assets
|
||||
public string Fingerprint
|
||||
{
|
||||
get
|
||||
{
|
||||
return ThemeState.Hash;
|
||||
}
|
||||
}
|
||||
|
||||
// url methods
|
||||
|
||||
// navigate url
|
||||
|
|
Loading…
Reference in New Issue
Block a user