示例#1
0
 public override void InitializeComponent(ICore core)
 {
     this.PlaylistBrowser   = core.Components.PlaylistBrowser;
     this.PlaybackManager   = core.Managers.Playback;
     this.OutputStreamQueue = core.Components.OutputStreamQueue;
     this.PlaybackManager.CurrentStreamChanged += this.OnCurrentStreamChanged;
     base.InitializeComponent(core);
 }
示例#2
0
 public override void InitializeComponent(ICore core)
 {
     this.Output                  = core.Components.Output;
     this.PlaylistBrowser         = core.Components.PlaylistBrowser;
     this.PlaybackManager         = core.Managers.Playback;
     this.PlaybackManager.Ending += this.OnEnding;
     this.OutputStreamQueue       = core.Components.OutputStreamQueue;
     base.InitializeComponent(core);
 }
示例#3
0
 public override void InitializeComponent(ICore core)
 {
     this.Core   = core;
     this.Output = core.Components.Output;
     this.Output.IsStartedChanged    += this.OnIsStartedChanged;
     this.OutputStreamQueue           = core.Components.OutputStreamQueue;
     this.OutputStreamQueue.Dequeued += this.OutputStreamQueueDequeued;
     base.InitializeComponent(core);
 }