示例#1
0
 public FileName(FileNameWithoutExtension name, FileExtension extension)
 {
     Name      = name;
     Extension = extension;
 }
示例#2
0
 public FileName ChangeExtension(FileExtension extension) => new FileName(Name, extension);
示例#3
0
 public FileName AddExtension(FileExtension extension) => new FileName(this, extension);