示例#1
0
 public MediaPlayerServiceImpl(IMPCHomeCinema mpcHomeCinemaClient, Func <Task> init, Func <Task> stop, Func <Task> start)
 {
     _mpcHomeCinemaClient = mpcHomeCinemaClient;
     _init           = init;
     _stop           = stop;
     _start          = start;
     _processManager = ProcessManager.Instance;
 }
示例#2
0
 public MPCHomeCinemaObserver(IMPCHomeCinema client)
 {
     _mpchc          = client;
     UpdateFrequency = TimeSpan.FromSeconds(1);
 }