Created
September 26, 2019 15:15
-
-
Save gonzaloruizdevilla/6dc21d8b4ec5a288295ff95ecb94e3ad to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[LuisIntent (“adauthentication”)] | |
public async Task ADAuthentication (IDialogContext context, LuisResult result) { | |
context.Call (CreateGetTokenDialog (), SuccessfulLogin); | |
} | |
[LuisIntent (“whoami”)] | |
public async Task WhoAmI (IDialogContext context, LuisResult result) { | |
context.Call (CreateGetTokenDialog (), ListMe); | |
} | |
[LuisIntent (“myrole”)] | |
public async Task MyRole (IDialogContext context, LuisResult result) { | |
context.Call (CreateGetTokenDialog (), ListMyGroups); | |
} | |
LuisIntent (“”)] | |
public async Task None (IDialogContext context, LuisResult result) { | |
await context.PostAsync (“I’ m sorry but i don’ t understand…”); | |
context.Wait (MessageReceived); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment