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
コード例 #1
0
 private Generator(GeneratorOptions options)
 {
     options.Validate();
       this.options = options;
 }
コード例 #2
0
ファイル: Generator.cs プロジェクト: thunder176/HeuristicLab
 private Generator(GeneratorOptions options)
 {
     options.Validate();
     this.options = options;
 }