예제 #1
0
        //--------------------------------------
        // Static
        //--------------------------------------

        public static void Resolve(bool forced = false)
        {
            var pluginVersionUpdated = ISN_Settings.UpdateVersion(ISN_Settings.FormattedVersion) && !SA_PluginTools.IsDevelopmentMode;

            Refresh();
            foreach (var resolver in Resolvers)
            {
                resolver.Run(pluginVersionUpdated || forced);
            }

            foreach (var resolver in Resolvers)
            {
                resolver.RunAdditionalPreprocess();
            }
        }
        //--------------------------------------
        // Static
        //--------------------------------------


        public static void Resolve(bool forced = false)
        {
            Refresh();
            bool plgingVersionUpdated = ISN_Settings.UpdateVersion(ISN_Settings.FormattedVersion);

            foreach (var resolver in Resolvers)
            {
                resolver.Run(plgingVersionUpdated || forced);
            }


            foreach (var resolver in Resolvers)
            {
                resolver.RunAdditionalPreprocess();
            }
        }