ProjectLighthouse/ProjectLighthouse.Servers.Website/Types/AdminPanelStatistic.cs
Josh f1c5ad4002
Major refactor and reorganization of types (#652)
* Start of reorganization and cleanup

* Remove duplicate title id

* Refactor types

* Fix Release building

* Move classes in /Types to a Types namespace

* Fix compilation error (RoomVisualizerPage strikes again)

* Fix bugs created from auto merge

* Fix auto-merge compilation error

* Changes from review/fix failed merge
2023-02-13 22:02:58 -06:00

20 lines
No EOL
607 B
C#

#nullable enable
namespace LBPUnion.ProjectLighthouse.Servers.Website.Types;
public struct AdminPanelStatistic
{
public AdminPanelStatistic(string statisticNamePlural, int count, string? viewAllEndpoint = null, int? secondStatistic = null)
{
this.StatisticNamePlural = statisticNamePlural;
this.Count = count;
this.SecondStatistic = secondStatistic;
this.ViewAllEndpoint = viewAllEndpoint;
}
public readonly string StatisticNamePlural;
public readonly int Count;
public readonly int? SecondStatistic;
public readonly string? ViewAllEndpoint;
}