Initial event composing.
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
using System.IO;
|
||||
|
||||
namespace Wino.Core.Domain.Models.Common;
|
||||
|
||||
public record PickedFileMetadata(string FullFilePath, long Size)
|
||||
{
|
||||
public string FileName => Path.GetFileName(FullFilePath);
|
||||
public string FileExtension => Path.GetExtension(FullFilePath)?.ToLowerInvariant() ?? string.Empty;
|
||||
}
|
||||
Reference in New Issue
Block a user