@@ -1,13 +1,14 @@
|
||||
using System.IO;
|
||||
|
||||
namespace Wino.Core.Domain.Models.Common;
|
||||
|
||||
/// <summary>
|
||||
/// Abstraction for StorageFile
|
||||
/// </summary>
|
||||
/// <param name="FullFilePath">Full path of the file.</param>
|
||||
/// <param name="Data">Content</param>
|
||||
public record SharedFile(string FullFilePath, byte[] Data)
|
||||
namespace Wino.Core.Domain.Models.Common
|
||||
{
|
||||
public string FileName => Path.GetFileName(FullFilePath);
|
||||
/// <summary>
|
||||
/// Abstraction for StorageFile
|
||||
/// </summary>
|
||||
/// <param name="FullFilePath">Full path of the file.</param>
|
||||
/// <param name="Data">Content</param>
|
||||
public record SharedFile(string FullFilePath, byte[] Data)
|
||||
{
|
||||
public string FileName => Path.GetFileName(FullFilePath);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user