Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZincOxide.Environment.ProgramEnvironment"/> class.
 /// </summary>
 /// <param name="task">The task to be carried out.</param>
 /// <param name="integerRepresentation">The integer representation of the program.</param>
 /// <param name="floatRepresentation">The float representation of the program.</param>
 /// <param name="verbosity">The verbosity level of the program.</param>
 public ProgramEnvironment(ProgramTask task = DefaultTask, ProgramIntegerRepresentation integerRepresentation = DefaultIntegerRepresentation, ProgramFloatRepresentation floatRepresentation = DefaultFloatRepresentation, ProgramVerbosity verbosity = DefaultVerbosity)
 {
     this.Task = task;
     this.IntegerRepresentation = integerRepresentation;
     this.FloatRepresentation = floatRepresentation;
     this.Verbosity = verbosity;
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ZincOxide.Environment.ProgramEnvironment"/> class.
 /// </summary>
 /// <param name="task">The task to be carried out.</param>
 /// <param name="integerRepresentation">The integer representation of the program.</param>
 /// <param name="floatRepresentation">The float representation of the program.</param>
 /// <param name="verbosity">The verbosity level of the program.</param>
 public ProgramEnvironment(ProgramTask task = DefaultTask, ProgramIntegerRepresentation integerRepresentation = DefaultIntegerRepresentation, ProgramFloatRepresentation floatRepresentation = DefaultFloatRepresentation, ProgramVerbosity verbosity = DefaultVerbosity)
 {
     this.Task = task;
     this.IntegerRepresentation = integerRepresentation;
     this.FloatRepresentation   = floatRepresentation;
     this.Verbosity             = verbosity;
 }