public MainDialog( BotSettings settings, BotServices services, OnboardingDialog onboardingDialog, EscalateDialog escalateDialog, CancelDialog cancelDialog, List <SkillDialog> skillDialogs, IBotTelemetryClient telemetryClient, UserState userState) : base(nameof(MainDialog), telemetryClient) { _settings = settings; _services = services; TelemetryClient = telemetryClient; _onboardingState = userState.CreateProperty <OnboardingState>(nameof(OnboardingState)); AddDialog(onboardingDialog); AddDialog(escalateDialog); AddDialog(cancelDialog); foreach (var skillDialog in skillDialogs) { AddDialog(skillDialog); } }
public MainDialog( BotSettings settings, BotServices services, OnboardingDialog onboardingDialog, EscalateDialog escalateDialog, CancelDialog cancelDialog, Edit_Profile editProfile, Search_by_Subject searchSubject, Search_by_Tutor searchtutor, Greeting_Dialog greeting_Dialog, SubmitDialog submitDialog, List <SkillDialog> skillDialogs, IBotTelemetryClient telemetryClient, UserState userState) : base(nameof(MainDialog), telemetryClient) { _settings = settings; _services = services; TelemetryClient = telemetryClient; _onboardingState = userState.CreateProperty <OnboardingState>(nameof(OnboardingState)); _skillContextAccessor = userState.CreateProperty <SkillContext>(nameof(SkillContext)); AddDialog(onboardingDialog); AddDialog(escalateDialog); AddDialog(cancelDialog); AddDialog(editProfile); AddDialog(searchSubject); AddDialog(greeting_Dialog); AddDialog(searchtutor); AddDialog(submitDialog); foreach (var skillDialog in skillDialogs) { AddDialog(skillDialog); } }