VideoList.cs (841B)
1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 using Windows.UI.Xaml.Media; 7 8 namespace File360 9 { 10 class VideoList 11 { 12 13 public ImageBrush Preview { set; get; } 14 public string VideoName { set; get; } 15 public string VideoDuration { set; get; } 16 public string FolderName { get; set; } 17 public string Count { set; get; } 18 19 public VideoList(string videoName, TimeSpan videoDuration,ImageBrush preview) 20 { 21 this.VideoName = videoName; 22 this.VideoDuration = videoDuration.ToString(); 23 this.Preview = preview; 24 } 25 26 public VideoList(string folderName, int count) 27 { 28 this.FolderName = folderName; 29 this.Count = count.ToString(); 30 } 31 } 32 33 }