Table of Contents

Class HouseholdMockGate

Namespace
SEBT.Portal.Infrastructure.Configuration
Assembly
SEBT.Portal.Infrastructure.dll

Whether UseMockHouseholdData is in effect. The flag is ignored when the host is Production.

public static class HouseholdMockGate
Inheritance
object
HouseholdMockGate

Methods

IsEnabled(IConfiguration, IHostEnvironment, ILogger?)

public static bool IsEnabled(IConfiguration configuration, IHostEnvironment environment, ILogger? logger = null)

Parameters

configuration IConfiguration
environment IHostEnvironment
logger ILogger

Returns

bool