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