Пример #1
0
 public static void EnsureDisabled()
 {
     if (!CefSharpResolverService.IsInitialized)
     {
         return;
     }
     CefSharpResolverService.Stop();
 }
Пример #2
0
 public static void EnsureEnabled()
 {
     if (CefSharpResolverService.IsInitialized)
     {
         return;
     }
     CefSharpResolverService.Initialize(PluginsManager.Instance.GetPluginDirectory(IdValue));
 }