Validate() public method

Validates that all the options have been set and are valid, throwing an exception if they haven't.
The options are invalid.
public Validate ( ) : void
return void
Exemplo n.º 1
0
 private Generator(GeneratorOptions options)
 {
     options.Validate();
       this.options = options;
 }
Exemplo n.º 2
0
 private Generator(GeneratorOptions options)
 {
     options.Validate();
     this.options = options;
 }