Esempio n. 1
0
        public PortManager(ObservableCollection <TabItem> tabs, IResolver resolver)
        {
            _tabs = tabs;
            _tabs.CollectionChanged += TabCollectionChanged;
            _iPbComm = resolver.GetInstanceOf <IPBComm>();

            _iPbComm.OnSecureBrowserMessageEvent(OnMessageFromBackend);
            _iPbComm.ConnectSecureBrowser();
            SendMessageToBackend(new BrowserInfoMessage("Secure Browser", "0.0.1"));
        }
Esempio n. 2
0
 public NativeMessenger(string tabId, string url, IPBComm iPbComm)
 {
     _tabId   = tabId;
     _url     = url;
     _iPbComm = iPbComm;
 }