Browse Source

Add FilePath.Extension property

pull/240/head
Ionite 1 year ago
parent
commit
6aa297c308
No known key found for this signature in database
  1. 3
      StabilityMatrix.Core/Models/FileInterfaces/FilePath.cs

3
StabilityMatrix.Core/Models/FileInterfaces/FilePath.cs

@ -33,6 +33,9 @@ public class FilePath : FileSystemPath, IPathObject
[JsonIgnore]
public string NameWithoutExtension => Path.GetFileNameWithoutExtension(Info.Name);
[JsonIgnore]
public string Extension => Info.Extension;
/// <summary>
/// Get the directory of the file.
/// </summary>

Loading…
Cancel
Save