Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExecutionTime"/> class.
 /// </summary>
 /// <param name="executionTime">The execution on which time must be asserted.</param>
 public ExecutionTimeAssertions(ExecutionTime executionTime)
 {
     this.execution = executionTime;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ExecutionTime"/> class.
 /// </summary>
 /// <param name="executionTime">The execution on which time must be asserted.</param>
 public ExecutionTimeAssertions(ExecutionTime executionTime)
 {
     execution = executionTime ?? throw new ArgumentNullException(nameof(executionTime));
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="ExecutionTime"/> class.
 /// </summary>
 /// <param name="executionTime">The execution on which time must be asserted.</param>
 public ExecutionTimeAssertions(ExecutionTime executionTime)
 {
     executionTimeSpan = executionTime.ExecutionTimeSpan;
     actionDescription = executionTime.ActionDescription;
 }