示例#1
0
 public FileDescription(string fileName, string relativePath, string basePath) : this()
 {
     SourceType   = SourceTypeEnum.RealFile;
     BasePath     = basePath;
     RelativePath = relativePath.TrimEnd('\\');
     FileName     = fileName;
     Length       = ConvertMethod.GetFile(FullPath).Length;
     FileValidation();
 }