Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

fix VA Template main dialog compile error #1562

Merged
merged 1 commit into from
Jun 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@
namespace $safeprojectname$.Dialogs
{
public class MainDialog : RouterDialog
{
{
private const string Location = "location";
private const string TimeZone = "timezone";
private BotSettings _settings;
private BotServices _services;
private MainResponses _responder = new MainResponses();
private IStatePropertyAccessor<OnboardingState> _onboardingState;
private IStatePropertyAccessor<SkillContext> _skillContextAccessor;

public MainDialog(
BotSettings settings,
Expand All @@ -44,6 +47,7 @@ public MainDialog(
_services = services;
TelemetryClient = telemetryClient;
_onboardingState = userState.CreateProperty<OnboardingState>(nameof(OnboardingState));
_skillContextAccessor = userState.CreateProperty<SkillContext>(nameof(SkillContext));

AddDialog(onboardingDialog);
AddDialog(escalateDialog);
Expand Down Expand Up @@ -382,5 +386,11 @@ private async Task<InterruptionAction> OnLogout(DialogContext dc)

return InterruptionAction.StartedDialog;
}

private class Events
{
public const string TimezoneEvent = "VA.Timezone";
public const string LocationEvent = "VA.Location";
}
}
}