Class ConfigurationOptionsChecker
The default IConfigurationOptionsChecker.
public class ConfigurationOptionsChecker : IConfigurationOptionsChecker
- Inheritance
-
ConfigurationOptionsChecker
- Implements
- Inherited Members
Remarks
The CheckAsync(TerminalOptions) does not return any result. It throws TerminalException if you do not configure an option correctly.
Constructors
ConfigurationOptionsChecker(IServiceProvider)
Initializes a new instance.
public ConfigurationOptionsChecker(IServiceProvider serviceProvider)
Parameters
serviceProvider
IServiceProvider
Methods
CheckAsync(TerminalOptions)
Checks the configured TerminalOptions.
public Task CheckAsync(TerminalOptions options)
Parameters
options
TerminalOptionsThe configuration options.