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