private VideoFile(string fullFilePath, VideoFileName fileName)
 {
     FullFilePath = fullFilePath;
     FileName     = fileName;
 }
예제 #2
0
 public static string ToFullFormat(this VideoFileName fileName)
 {
     return(fileName.Section + "-" + fileName.Lecture);
 }
예제 #3
0
 public static string ToSectionLectureNoNumbers(this VideoFileName fileName)
 {
     return(fileName.Section.Name + " - " + fileName.Lecture.Name);
 }
예제 #4
0
 public static string ToFullSection(this VideoFileName fileName)
 {
     return(fileName.Section.ToString());
 }
예제 #5
0
 public static string ToFullLecture(this VideoFileName fileName)
 {
     return(fileName.Lecture.ToString());
 }
예제 #6
0
 public static string ToLectureName(this VideoFileName fileName)
 {
     return(fileName.Lecture.Name);
 }