Пример #1
0
        private string GetVideoFileName()
        {
            int nameStartIndex = VideoFilePath.LastIndexOf(@"\") + 1;
            int nameLength     = VideoFilePath.LastIndexOf(@".") - nameStartIndex;

            return(VideoFilePath.Substring(nameStartIndex, nameLength));
        }
Пример #2
0
 public virtual IDictionary <string, string> ToDictionary()
 {
     return(new Dictionary <string, string>()
     {
         { "isSuccessful", IsSuccessful.ToString() },
         { "videoFilePath", VideoFilePath.ToString() },
         { "lastVideoName", LastVideoName.ToString() }
     });
 }