Files
.Data
.vscode
Archive
.vscode
ApiControllers
Controllers
Models
Binder
AppSettings.cs
Repositories
Services
Views
wwwroot
.editorconfig
ApiLoggingMiddleware.cs
OI.Metrology.Archive.csproj
Program.cs
appsettings.Development.json
appsettings.json
compilerconfig.json
compilerconfig.json.defaults
Server
Shared
Tests
View
.editorconfig
.gitignore
OI-Metrology.sln
README.md
azure-pipelines-server-development.yml
azure-pipelines-server.yml
package.json
oi-metrology/Archive/Models/AppSettings.cs
2023-02-16 15:17:31 -07:00

28 lines
995 B
C#

using System.Text.Json;
namespace OI.Metrology.Archive.Models;
public record AppSettings(string ApiLoggingContentTypes,
string ApiLoggingPathPrefixes,
string ApiLogPath,
string AttachmentPath,
string BuildNumber,
string Company,
string ConnectionString,
string GitCommitSeven,
string InboundApiAllowedIPList,
string MonAResource,
string MonASite,
string Oi2SqlConnectionString,
string OIExportPath,
string URLs,
string WorkingDirectoryName)
{
public override string ToString()
{
string result = JsonSerializer.Serialize(this, new JsonSerializerOptions() { WriteIndented = true });
return result;
}
}