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

Commit 4d391d6

Browse files
authored
update template for naming and DialogState (#2168)
1 parent e50244d commit 4d391d6

File tree

32 files changed

+10
-10
lines changed

32 files changed

+10
-10
lines changed

skills/src/csharp/experimental/musicskill/Adapters/CustomSkillAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public CustomSkillAdapter(
3737
Use(new TelemetryLoggerMiddleware(telemetryClient, logPersonalInformation: true));
3838
Use(new SetLocaleMiddleware(settings.DefaultLocale ?? "en-us"));
3939
Use(new EventDebuggerMiddleware());
40-
Use(new SkillMiddleware(userState, conversationState, conversationState.CreateProperty<DialogState>(nameof(MusicSkill))));
40+
Use(new SkillMiddleware(userState, conversationState, conversationState.CreateProperty<DialogState>(nameof(DialogState))));
4141
}
4242
}
4343
}

templates/Skill-Template/csharp/Sample/SkillSample.Tests/SkillTestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public virtual void InitializeSkill()
4141
LuisServices = new Dictionary<string, ITelemetryRecognizer>
4242
{
4343
{ "General", GeneralTestUtil.CreateRecognizer() },
44-
{ "skill", SkillTestUtil.CreateRecognizer() }
44+
{ "Skill", SkillTestUtil.CreateRecognizer() }
4545
}
4646
}
4747
}

templates/Skill-Template/csharp/Sample/SkillSample/Adapters/CustomSkillAdapter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public CustomSkillAdapter(
3737
Use(new TelemetryLoggerMiddleware(telemetryClient, logPersonalInformation: true));
3838
Use(new SetLocaleMiddleware(settings.DefaultLocale ?? "en-us"));
3939
Use(new EventDebuggerMiddleware());
40-
Use(new SkillMiddleware(userState, conversationState, conversationState.CreateProperty<DialogState>(nameof(SkillSample))));
40+
Use(new SkillMiddleware(userState, conversationState, conversationState.CreateProperty<DialogState>(nameof(DialogState))));
4141
}
4242
}
4343
}

0 commit comments

Comments
 (0)