Exemple #1
0
 private Task Initializing()
 {
     return(Task.Run(async() => {
         this.TotalTime = await VideoManager.GetAccumulatedTimeAsync(this.FilePath);
         this.RaisePropertyChanged(nameof(this.TotalTime));
         this.IsCorrupted = this.TotalTime == null;
         this.RaisePropertyChanged(nameof(this.IsCorrupted));
     }));
 }