コード例 #1
0
 public VideoControlViewModel(LocalDownloadInfoPacket localDownInfo, DateTime begin, DateTime end, ITimeProcess playProcess)
     : this(begin, end, playProcess)
 {
     VideoInfo    = localDownInfo.Info;
     DisplayModel = new VideoDisplayViewModel(localDownInfo, begin, end, _playProcess);
 }
コード例 #2
0
 public VideoControlViewModel(DownloadInfoParam downloadInfo, ITimeProcess playProcess) : this(downloadInfo.BeginTime, downloadInfo.EndTime, playProcess)
 {
     VideoInfo         = downloadInfo;
     TotalMilliSeconds = (downloadInfo.EndTime - downloadInfo.BeginTime).TotalMilliseconds;
     DisplayModel      = new VideoDisplayViewModel(downloadInfo, _playProcess);
 }