Ejemplo n.º 1
0
 public HtmlViewContext(IWebBrowserWindow webBrowserWindow, IDispatcher uiDispatcher, IJavascriptFrameworkManager javascriptFrameworkManager,
                        IJavascriptChangesObserver javascriptChangesObserver, IWebSessionLogger logger)
 {
     _IWebBrowserWindow          = webBrowserWindow;
     _Logger                     = logger;
     UiDispatcher                = uiDispatcher;
     _JavascriptChangesObserver  = javascriptChangesObserver;
     _JavascriptFrameworkManager = javascriptFrameworkManager;
 }
Ejemplo n.º 2
0
 public HTMLViewContext(IWebView webView, IDispatcher uiDispatcher, IJavascriptFrameworkManager javascriptFrameworkManager,
                        IJavascriptChangesObserver javascriptChangesObserver, IWebSessionLogger logger)
 {
     WebView      = webView;
     _logger      = logger;
     UIDispatcher = uiDispatcher;
     _JavascriptChangesObserver  = javascriptChangesObserver;
     _JavascriptFrameworkManager = javascriptFrameworkManager;
 }
Ejemplo n.º 3
0
 public HTMLViewContext(IWebView webView, IDispatcher uiDispatcher, IJavascriptFrameworkManager javascriptFrameworkManager,
                         IJavascriptChangesObserver javascriptChangesObserver, IWebSessionLogger logger)
 {
     WebView = webView;
     _logger = logger;
     UIDispatcher = uiDispatcher;
     var builder = new BinderBuilder(webView, javascriptChangesObserver);
     _Listener = builder.BuildListener();
     _VmManager = javascriptFrameworkManager.CreateManager(WebView, _Listener, _logger);
     ViewModelUpdater = _VmManager.ViewModelUpdater;
     JavascriptSessionInjector = _VmManager.Injector;
 }
Ejemplo n.º 4
0
        public HTMLViewContext(IWebView webView, IDispatcher uiDispatcher, IJavascriptFrameworkManager javascriptFrameworkManager,
                               IJavascriptChangesObserver javascriptChangesObserver, IWebSessionLogger logger)
        {
            WebView      = webView;
            _logger      = logger;
            UIDispatcher = uiDispatcher;
            var builder = new BinderBuilder(webView, javascriptChangesObserver);

            _Listener                 = builder.BuildListener();
            _VmManager                = javascriptFrameworkManager.CreateManager(WebView, _Listener, _logger);
            ViewModelUpdater          = _VmManager.ViewModelUpdater;
            JavascriptSessionInjector = _VmManager.Injector;
        }
Ejemplo n.º 5
0
 public BinderBuilder(IWebView webView, IJavascriptChangesObserver javascriptObserver)
 {
     _WebView = webView;
     _Observer = javascriptObserver;
 }
Ejemplo n.º 6
0
 public BinderBuilder(IWebView webView, IJavascriptChangesObserver javascriptObserver)
 {
     _WebView  = webView;
     _Observer = javascriptObserver;
 }
Ejemplo n.º 7
0
 public HTMLViewContext GetMainContext(IJavascriptChangesObserver javascriptChangesObserver)
 {
     return(new HTMLViewContext(MainView, _HTMLWindowProvider.UIDispatcher, _frameworkManager, javascriptChangesObserver, Logger));
 }
Ejemplo n.º 8
0
 public HtmlViewContext GetMainContext(IJavascriptChangesObserver javascriptChangesObserver)
 {
     return(new HtmlViewContext(HtmlWindow, _HtmlWindowProvider.UiDispatcher, _FrameworkManager, javascriptChangesObserver, Logger));
 }