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);
            }
Beispiel #2
0
 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))
 {
 }
Beispiel #6
0
 private static NotificationBrowser CreateBrowserImpl(IBrowserComponent browserComponent, INotificationInterface notificationInterface, ITweetDeckInterface tweetDeckInterface, PluginManager pluginManager)
 {
     return(new NotificationBrowser.Example(browserComponent, notificationInterface, tweetDeckInterface, pluginManager));
 }
Beispiel #7
0
 public NotificationBridgeObject(INotificationInterface notificationInterface, ICommonInterface commonInterface) : base(commonInterface)
 {
     this.i = notificationInterface;
 }