2024-11-27 19:49:10 +01:00
|
|
|
|
using System.IO;
|
|
|
|
|
|
|
2025-02-16 11:54:23 +01:00
|
|
|
|
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)
|
2024-11-27 19:49:10 +01:00
|
|
|
|
{
|
2025-02-16 11:54:23 +01:00
|
|
|
|
public string FileName => Path.GetFileName(FullFilePath);
|
2024-11-27 19:49:10 +01:00
|
|
|
|
}
|