public HangupOutcomeEvent(ConversationResult conversationResult, Workflow resultingWorkflow, HangupOutcome outcome)
     : base(conversationResult, resultingWorkflow)
 {
     if (outcome == null)
         throw new ArgumentNullException(nameof(outcome));
     HangupOutcome = outcome;
 }
Пример #2
0
 public OutcomeEventBase(ConversationResult conversationResult, Workflow resultingWorkflow)
 {
     if (conversationResult == null)
         throw new ArgumentNullException(nameof(conversationResult));
     if (resultingWorkflow == null)
         throw new ArgumentNullException(nameof(resultingWorkflow));
     ConversationResult = conversationResult;
     ResultingWorkflow = resultingWorkflow;
 }
 public RecordOutcomeEvent(
     ConversationResult conversationResult,
     Workflow resultingWorkflow,
     RecordOutcome outcome,
     Task<Stream> recordedContent)
     : base(conversationResult, resultingWorkflow)
 {
     if (outcome == null) throw new ArgumentNullException(nameof(outcome));
     RecordOutcome = outcome;
     RecordedContent = recordedContent;
 }