private string GetVideoFileName() { int nameStartIndex = VideoFilePath.LastIndexOf(@"\") + 1; int nameLength = VideoFilePath.LastIndexOf(@".") - nameStartIndex; return(VideoFilePath.Substring(nameStartIndex, nameLength)); }
public virtual IDictionary <string, string> ToDictionary() { return(new Dictionary <string, string>() { { "isSuccessful", IsSuccessful.ToString() }, { "videoFilePath", VideoFilePath.ToString() }, { "lastVideoName", LastVideoName.ToString() } }); }