Method Validate
| Improve this Doc View SourceValidate()
Validates whether the required keys are present in the application.
Declaration
public void Validate()
Implements
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The required keys are not specified with the |
RequiredKeysNotPresentException | If the required keys are not present in the application. This exception is not thrown if the IgnoreException() method is invoked. |
Validate(out EnvValidationResult)
Validates whether the required keys are present in the application.
Declaration
public void Validate(out EnvValidationResult result)
Parameters
Type | Name | Description |
---|---|---|
EnvValidationResult | result | The result contains the errors found by the validator. |
Implements
Exceptions
Type | Condition |
---|---|
InvalidOperationException | The required keys are not specified with the |
RequiredKeysNotPresentException | If the required keys are not present in the application. This exception is not thrown if the IgnoreException() method is invoked. |