Exemple #1
0
 public BufferingState(VideoNodeStateFactory factory, IVideoNode context) : base(factory, context)
 {
 }
Exemple #2
0
 protected VideoNodeState(VideoNodeStateFactory factory, IVideoNode context)
 {
     Factory = factory;
     Context = context;
 }
Exemple #3
0
 public BufferingState(VideoNodeStateFactory factory, IVideoNode context) : base(factory, context)
 {
 }
Exemple #4
0
 public StoppedState(VideoNodeStateFactory factory, IVideoNode context)
     : base(factory, context)
 {
 }
Exemple #5
0
 protected VideoNodeState(VideoNodeStateFactory factory, IVideoNode context)
 {
     Factory = factory;
     Context = context;
 }
Exemple #6
0
 public PausedState(VideoNodeStateFactory factory, IVideoNode context)
     : base(factory, context)
 {
 }
Exemple #7
0
 private void InitializeState()
 {
     var factory = new VideoNodeStateFactory();
     var first = new OpeningState(factory, this);
     CurrentState = factory.GetOrCreate(delegate { return first; });
 }