public static void EnsureDisabled() { if (!CefSharpResolverService.IsInitialized) { return; } CefSharpResolverService.Stop(); }
public static void EnsureEnabled() { if (CefSharpResolverService.IsInitialized) { return; } CefSharpResolverService.Initialize(PluginsManager.Instance.GetPluginDirectory(IdValue)); }