Composite.GlobalInitializerFacade.AutoUpdateDataTypes C# (CSharp) Метод

AutoUpdateDataTypes() приватный статический Метод

private static AutoUpdateDataTypes ( ) : bool
Результат bool
        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;
        }