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")); }
public NativeMessenger(string tabId, string url, IPBComm iPbComm) { _tabId = tabId; _url = url; _iPbComm = iPbComm; }