protected Tweet(IBrowserComponent browserComponent, INotificationInterface notificationInterface, ICommonInterface commonInterface, PluginManager pluginManager, Func <NotificationBrowser, BrowserSetup> setup) : base(browserComponent, setup) { this.browserComponent.PageLoadEnd += BrowserComponentOnPageLoadEnd; this.browserComponent.AttachBridgeObject("$TD", new NotificationBridgeObject(notificationInterface, commonInterface)); this.notificationInterface = notificationInterface; this.pluginManager = pluginManager; this.pluginManager.Register(PluginEnvironment.Notification, browserComponent); }
public Example(IBrowserComponent browserComponent, INotificationInterface notificationInterface, ICommonInterface commonInterface, PluginManager pluginManager) : base(browserComponent, notificationInterface, commonInterface, pluginManager, CreateSetupObject) { }
public ContextMenu(NotificationBrowser browser, INotificationInterface notificationInterface) : base(browser.browserComponent) { this.notificationInterface = notificationInterface; }
private static BrowserSetup CreateSetupObject(NotificationBrowser browser, INotificationInterface notificationInterface) { return(BaseBrowser.CreateSetupObject(browser.browserComponent, new BrowserSetup { ContextMenuHandler = new ContextMenu(browser, notificationInterface) })); }
public Tweet(IBrowserComponent browserComponent, INotificationInterface notificationInterface, ICommonInterface commonInterface, PluginManager pluginManager) : this(browserComponent, notificationInterface, commonInterface, pluginManager, browser => CreateSetupObject(browser, notificationInterface)) { }
private static NotificationBrowser CreateBrowserImpl(IBrowserComponent browserComponent, INotificationInterface notificationInterface, ITweetDeckInterface tweetDeckInterface, PluginManager pluginManager) { return(new NotificationBrowser.Example(browserComponent, notificationInterface, tweetDeckInterface, pluginManager)); }
public NotificationBridgeObject(INotificationInterface notificationInterface, ICommonInterface commonInterface) : base(commonInterface) { this.i = notificationInterface; }