Method | Description | |
---|---|---|
TryValidate ( IList |
Attempts to validate the options, but doesn't throw an exception if they're invalid. Instead, when this method returns false, the output variable will contain a collection of reasons for the validation failure.
|
|
Validate ( ) : void |
Validates that all the options have been set and are valid, throwing an exception if they haven't.
|
public TryValidate ( IList |
||
reasons | IList |
Variable to receive a list of reasons in case of validation failure. |
return | bool |