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(); }
public StatorRefreshService(StatorSettings settings) { Settings = settings; }