private static bool AutoUpdateDataTypes()
{
if (!GlobalSettingsFacade.EnableDataTypesAutoUpdate)
{
return false;
}
if (_typesAutoUpdated)
{
// This is here to catch update -> failed -> update -> failed -> ... loop
DataInterfaceAutoUpdater.TestEnsureUpdateAllInterfaces();
return false;
}
bool flushTheSystem = DataInterfaceAutoUpdater.EnsureUpdateAllInterfaces();
_typesAutoUpdated = true;
return flushTheSystem;
}