Table of Contents

Class DevelopmentPhoneOverrideProvider

Namespace
SEBT.Portal.Api.Services
Assembly
SEBT.Portal.Api.dll

Returns the configured override phone when in Development and config is set; otherwise null.

public class DevelopmentPhoneOverrideProvider : IPhoneOverrideProvider
Inheritance
object
DevelopmentPhoneOverrideProvider
Implements

Constructors

DevelopmentPhoneOverrideProvider(IHostEnvironment, IOptions<DevelopmentPhoneOverrideOptions>)

Initializes a new instance of the DevelopmentPhoneOverrideProvider class.

public DevelopmentPhoneOverrideProvider(IHostEnvironment environment, IOptions<DevelopmentPhoneOverrideOptions> options)

Parameters

environment IHostEnvironment
options IOptions<DevelopmentPhoneOverrideOptions>

Methods

GetOverridePhone()

Returns the override phone to use for household lookup, or null if no override is active.

public string? GetOverridePhone()

Returns

string