Example #1
0
 /// <summary>
 /// Constructs a new <see cref="CmdExecutor"/> object, initializes its command list and sets the <see cref="TargetEnvironment"/> property.
 /// </summary>
 /// <param name="targetEnvironment">The target environment which will participate in the <see cref="EnvironmentChanged"/> event.</param>
 /// <seealso cref="CmdExecutorBase"/>
 public CmdExecutor(Environment targetEnvironment)
 {
     TargetEnvironment = targetEnvironment;
 }
Example #2
0
 /// <summary>
 /// Adds a new <see cref="Environment"/> entity to the list of elements to process.
 /// </summary>
 /// <param name="environment">An <see cref="Environment"/> entity to export in the spreadsheet.</param>
 public void AddEnvironment(Environment environment)
 {
     _environments.Add(environment);
 }