file scoped namespaces (#565)

This commit is contained in:
Aleh Khantsevich
2025-02-16 11:54:23 +01:00
committed by GitHub
parent cf9869b71e
commit 3ddc1a6229
617 changed files with 32107 additions and 32721 deletions

View File

@@ -1,14 +1,13 @@
using System.IO;
namespace Wino.Core.Domain.Models.Common
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)
{
/// <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);
}
public string FileName => Path.GetFileName(FullFilePath);
}