Update App Configurations ...

This commit is contained in:
2026-11-15 21:25:57 +03:30
parent a9f92c751f
commit d1f940c44b
2 changed files with 13 additions and 4 deletions
+5
View File
@@ -19,9 +19,14 @@ namespace xCommons.Extensions
var xMessageResourceTitlesConfigSection = source
.GetSection(ConfigurationNodeNames.MESSAGE_RESOURCE_TITLES_NODE);
//
// Read TTL ...
int.TryParse(source[nameof(XAppConfiguration.DefaultCacheTtlMinutes)], out int defTTL);
//
var result = new XAppConfiguration
{
DefaultCacheTtlMinutes = defTTL,
Name = source[nameof(XAppConfiguration.Name)],
Version = source[nameof(XAppConfiguration.Version)],
XPoweredValue = source[nameof(XAppConfiguration.XPoweredValue)],