コード例 #1
0
        public static void Init()
        {
            var settings = new StatorSettings();
            var service  = new StatorRefreshService(settings);

            if (settings.DisabledAutoRefreshing)
            {
                service.DebugInfo("Auto refreshing disabled");
                return;
            }

            CompilationPipeline.assemblyCompilationFinished += service.OnFinishedCompilation;
            service.Refresh();
        }
コード例 #2
0
 public StatorRefreshService(StatorSettings settings)
 {
     Settings = settings;
 }