Client Hub Project
This commit is contained in:
21
ClientHub/Models/AppSettings.cs
Normal file
21
ClientHub/Models/AppSettings.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using System.Text.Json;
|
||||
|
||||
namespace OI.Metrology.ClientHub.Models;
|
||||
|
||||
public record AppSettings(string ApiUrl,
|
||||
string BuildNumber,
|
||||
string Company,
|
||||
string GitCommitSeven,
|
||||
bool IsDevelopment,
|
||||
bool IsStaging,
|
||||
string MonAResource,
|
||||
string MonASite)
|
||||
{
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
string result = JsonSerializer.Serialize(this, new JsonSerializerOptions() { WriteIndented = true });
|
||||
return result;
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user