public ChromiumFxWebView(CfrBrowser cfrbrowser, IWebSessionLogger logger)
 {
     _Logger     = logger;
     _Browser    = cfrbrowser;
     _CfrFrame   = _Browser.MainFrame;
     V8Context   = _CfrFrame.V8Context;
     _Dispatcher = new ChromiumFxDispatcher(_Browser, V8Context, _Logger);
     Converter   = new ChromiumFxConverter(V8Context);
     Factory     = new ChromiumFxFactory(V8Context);
 }
Beispiel #2
0
 public ChromiumFxContext(CfrV8Context context, ChromiumFxDispatcher dispatcher)
 {
     _Dispatcher = dispatcher;
     _Context    = context;
     _Context.Enter();
 }