Ejemplo n.º 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();
        }
Ejemplo n.º 2
0
 public StatorRefreshService(StatorSettings settings)
 {
     Settings = settings;
 }