Class DevelopmentPhoneOverrideProvider
Returns the configured override phone when in Development and config is set; otherwise null.
public class DevelopmentPhoneOverrideProvider : IPhoneOverrideProvider
- Inheritance
-
objectDevelopmentPhoneOverrideProvider
- Implements
Constructors
DevelopmentPhoneOverrideProvider(IHostEnvironment, IOptions<DevelopmentPhoneOverrideOptions>)
Initializes a new instance of the DevelopmentPhoneOverrideProvider class.
public DevelopmentPhoneOverrideProvider(IHostEnvironment environment, IOptions<DevelopmentPhoneOverrideOptions> options)
Parameters
environmentIHostEnvironmentoptionsIOptions<DevelopmentPhoneOverrideOptions>
Methods
GetOverridePhone()
Returns the override phone to use for household lookup, or null if no override is active.
public string? GetOverridePhone()
Returns
- string