Merge pull request #5026 from sbwalker/dev

add Fingerprint property to ModuleBase and ThemeBase
This commit is contained in:
Shaun Walker 2025-01-28 08:44:01 -05:00 committed by GitHub
commit 8cf9e7db51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View File

@ -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

View File

@ -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