Validate() 공개 메소드

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
리턴 void
예제 #1
0
 private Generator(GeneratorOptions options)
 {
     options.Validate();
       this.options = options;
 }
예제 #2
0
 private Generator(GeneratorOptions options)
 {
     options.Validate();
     this.options = options;
 }