LANCommander/Models/DashboardViewModel.cs

19 lines
518 B
C#

using ByteSizeLib;
namespace LANCommander.Models
{
public class DashboardViewModel
{
public ByteSize TotalAvailableFreeSpace { get; set; }
public ByteSize TotalStorageSize { get; set; }
public ByteSize TotalUploadDirectorySize { get; set; }
public ByteSize TotalOtherSize {
get
{
return TotalStorageSize - TotalAvailableFreeSpace - TotalUploadDirectorySize;
}
}
public int GameCount { get; set; }
}
}