Struct OutagePageState
Whether a surface's outage page should currently be shown, and why.
public readonly record struct OutagePageState
Constructors
OutagePageState(bool, bool)
Whether a surface's outage page should currently be shown, and why.
public OutagePageState(bool IsActive, bool ScheduleIsAuthority)
Parameters
IsActiveboolTrue when the outage page should be shown for the surface.
ScheduleIsAuthorityboolTrue when schedule windows target the surface, meaning the schedule alone decided
IsActiveand the surface's manual feature flag was not consulted. Callers that publish the manual flag's value need this to know whether to overwrite it withIsActive.
Properties
IsActive
True when the outage page should be shown for the surface.
public bool IsActive { get; init; }
Property Value
- bool
ScheduleIsAuthority
True when schedule windows target the surface, meaning the schedule alone decided
IsActive and the surface's manual feature flag was not consulted. Callers that
publish the manual flag's value need this to know whether to overwrite it with
IsActive.
public bool ScheduleIsAuthority { get; init; }
Property Value
- bool