AVS-Carton-Shipment-Verifier/Configuration/DesktopHostOptions.cs

17 lines
504 B
C#

namespace AVSCartonShipmentVerifier.Configuration;
public sealed class DesktopHostOptions
{
public const string SectionName = "DesktopHost";
/// <summary>
/// When true (default on Windows), opens the default browser after the server starts.
/// </summary>
public bool LaunchBrowser { get; init; } = true;
/// <summary>
/// Optional URL to open. If empty, the first bound HTTP address from Kestrel is used.
/// </summary>
public string? BrowserUrl { get; init; }
}