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
-
objectHouseholdMockGate
Methods
IsEnabled(IConfiguration, IHostEnvironment, ILogger?)
public static bool IsEnabled(IConfiguration configuration, IHostEnvironment environment, ILogger? logger = null)
Parameters
configurationIConfigurationenvironmentIHostEnvironmentloggerILogger
Returns
- bool