Exemplo n.º 1
0
 internal void Initialize(WebExtensionJSRuntime webExtensionJSRuntime, string referenceId, string accessPath)
 {
     if (!IsInitialized)
     {
         IsInitialized = true;
         this.webExtensionJSRuntime = webExtensionJSRuntime;
         this.referenceId           = referenceId;
         this.accessPath            = accessPath;
     }
 }
 /// <summary>Creates a new instance of <see cref="WebExtensionApi" />.</summary>
 public WebExtensionApi(WebExtensionJSRuntime webExtensionJSRuntime)
 {
     this.webExtensionJSRuntime = webExtensionJSRuntime;
 }