Class ConfigurationValidator
Validates configuration based on application requirements and DICOM VR requirements.
Implements
Namespace: Monai.Deploy.InformaticsGateway.Configuration
Assembly: Monai.Deploy.InformaticsGateway.Configuration.dll
Syntax
public class ConfigurationValidator : IValidateOptions<InformaticsGatewayConfiguration>
Constructors
| Improve this Doc View SourceConfigurationValidator(ILogger<ConfigurationValidator>, IFileSystem)
Initializes an instance of the ConfigurationValidator class.
Declaration
public ConfigurationValidator(ILogger<ConfigurationValidator> logger, IFileSystem fileSystem)
Parameters
Type | Name | Description |
---|---|---|
ILogger<ConfigurationValidator> | logger | Logger to be used by ConfigurationValidator |
System.IO.Abstractions.IFileSystem | fileSystem |
Methods
| Improve this Doc View SourceValidate(String, InformaticsGatewayConfiguration)
Checks if InformaticsGatewayConfiguration instance contains valid settings required by the application and conforms to DICOM standards.
Declaration
public ValidateOptionsResult Validate(string name, InformaticsGatewayConfiguration options)
Parameters
Type | Name | Description |
---|---|---|
String | name | |
InformaticsGatewayConfiguration | options |
Returns
Type | Description |
---|---|
ValidateOptionsResult |