private TestFlowExecutionContext(
     SubdomainTestHost host,
     ImmutableDictionary <string, int> aggregateVersions,
     ImmutableList <Command> commands,
     ImmutableList <IntegrationEvent> expectedEvents,
     ImmutableList <IExecutionResult> results)
     : base(host, aggregateVersions, commands, expectedEvents, results)
 {
 }
 protected TestFlowExecutionContextBase(
     SubdomainTestHost host,
     ImmutableDictionary <string, int> aggregateVersions,
     ImmutableList <Command> commands,
     ImmutableList <IntegrationEvent> expectedEvents,
     ImmutableList <IExecutionResult> results)
 {
     Host = host;
     AggregateVersions = AggregateVersions.AddRange(aggregateVersions);
     ExecutedCommands  = ExecutedCommands.AddRange(commands);
     ExpectedEvents    = ExpectedEvents.AddRange(expectedEvents);
     ExecutionResults  = ExecutionResults.AddRange(results);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestFlowExecutionContext"/> class.
 /// </summary>
 /// <param name="host">Value for <see cref="TestFlowExecutionContextBase.Host"/>.</param>
 public TestFlowExecutionContext(SubdomainTestHost host)
     : base(host)
 {
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestFlowExecutionContext{TState}"/> class.
 /// </summary>
 /// <param name="host">Value for <see cref="TestFlowExecutionContextBase.Host"/>.</param>
 public TestFlowExecutionContext(SubdomainTestHost host)
     : base(host)
 {
     State = new TState();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="TestFlowExecutionContextBase"/> class.
 /// </summary>
 /// <param name="host">Value for <see cref="Host"/>.</param>
 protected TestFlowExecutionContextBase(SubdomainTestHost host)
 {
     Host = host;
 }
Example #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SubdomainTestFlow{TState}"/> class.
 /// </summary>
 /// <param name="host">Subdomain host.</param>
 public SubdomainTestFlow(SubdomainTestHost host)
 {
     this.host = host;
 }