コード例 #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;
 }
コード例 #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));
 }
コード例 #3
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)
 {
     executionTimeSpan = executionTime.ExecutionTimeSpan;
     actionDescription = executionTime.ActionDescription;
 }