internal WaterfallStepContext(WaterfallDialog parent, DialogContext dc, DialogOptions options, IDictionary <string, object> values, int index, DialogReason reason, object result = null)
 {
     _parent     = parent;
     _dc         = dc;
     _nextCalled = false;
     Options     = options;
     Values      = values;
     Index       = index;
     Reason      = reason;
     Result      = result;
 }
Exemple #2
0
 internal WaterfallStepContext(WaterfallDialog parent, DialogContext dc, object options, IDictionary <string, object> values, int index, DialogReason reason, object result = null)
     : base(dc.Dialogs, dc.Context, new DialogState(dc.Stack))
 {
     _parent     = parent;
     _nextCalled = false;
     Index       = index;
     Options     = options;
     Reason      = reason;
     Result      = result;
     Values      = values;
 }