This commit is contained in:
@@ -98,9 +98,24 @@ namespace AyaNova.Biz
|
||||
|
||||
|
||||
#if (DEBUG)
|
||||
internal List<string> RequestedKeyList()
|
||||
internal AyaNova.Api.Controllers.LocaleController.LocaleCoverageInfo LocaleKeyCoverage()
|
||||
{
|
||||
return ServerBootConfig.LocaleKeysRequested;
|
||||
AyaNova.Api.Controllers.LocaleController.LocaleCoverageInfo L = new AyaNova.Api.Controllers.LocaleController.LocaleCoverageInfo();
|
||||
L.RequestedKeys = ServerBootConfig.LocaleKeysRequested;
|
||||
L.RequestedKeys.Sort();
|
||||
var AllKeys = GetKeyList();
|
||||
foreach (string StockKey in AllKeys)
|
||||
{
|
||||
if (!L.RequestedKeys.Contains(StockKey))
|
||||
{
|
||||
L.NotRequestedKeys.Add(StockKey);
|
||||
}
|
||||
}
|
||||
L.NotRequestedKeys.Sort();
|
||||
L.RequestedKeyCount = L.RequestedKeys.Count;
|
||||
L.NotRequestedKeyCount = L.NotRequestedKeys.Count;
|
||||
|
||||
return L;
|
||||
}
|
||||
|
||||
//Track requests for keys so we can determine which are being used and which are not
|
||||
|
||||
Reference in New Issue
Block a user