Table of Contents

Interface IOutagePageStateResolver

Namespace
SEBT.Portal.Core.Services
Assembly
SEBT.Portal.Core.dll

The single authority on outage page state. Combines the outage schedule with the surface's manual feature flag. The rule, per surface: when any schedule windows target the surface, the schedule alone decides (a manual "true" cannot bypass the maintenance calendar, and a manual "false" cannot suppress a scheduled outage); with no windows targeting the surface, the manual flag decides (the emergency path for unscheduled outages).

Windows targeting one surface never affect the other surface's manual toggle.

public interface IOutagePageStateResolver

Methods

ResolveAsync(OutageTarget)

Resolves outage page state for surface. Pass a single surface (Portal or EnrollmentChecker); Both is a window-level value and throws here.

Task<OutagePageState> ResolveAsync(OutageTarget surface)

Parameters

surface OutageTarget

Returns

Task<OutagePageState>