示例#1
0
 public LuisDialog(IGetRandonGiphyService getRandonGiphyService) : base(new LuisService(new LuisModelAttribute(
                                                                                            ConfigurationManager.AppSettings["LuisAppId"],
                                                                                            ConfigurationManager.AppSettings["LuisSubscriptionKey"],
                                                                                            domain: ConfigurationManager.AppSettings["LuisAPIHostName"])))
 {
     _getRandonGiphyService = getRandonGiphyService;
 }
示例#2
0
 public InitialDialog(IGetCoinmarketCapService getCoinmarketCapService, IGetRandonGiphyService getRandonGiphyService, IGetLuisResult getLuisResult)
 {
     _getRandomGiphyService   = getRandonGiphyService;
     _getCoinmarketCapService = getCoinmarketCapService;
     _getLuisResult           = getLuisResult;
 }
 public GetImageDialog(IGetRandonGiphyService getRandonGiphyService, LuisResult luisResult)
 {
     _getRandomGiphyService = getRandonGiphyService;
 }
示例#4
0
 public DialogueFactory(IGetCoinmarketCapService getCoinmarketCapService, IGetRandonGiphyService getRandonGiphyService, IGetLuisResult getLuisResult)
 {
     _getCoinmarketCapService = getCoinmarketCapService;
     _getRandonGiphyService   = getRandonGiphyService;
     _getLuisResult           = getLuisResult;
 }