/// <summary> /// Initializes a new instance of the <see cref="CrowdSourcerBot"/> class. /// </summary> /// <param name="telemetryClient">telemetry client.</param> /// <param name="qnaServiceProvider">qnA maker service provider.</param> /// <param name="configuration">configuration settings.</param> /// <param name="configurationStorageProvider">Knowledge base configuration storage provider.</param> /// <param name="nameMappingStorageProvider">name mapping storage provider.</param> /// <param name="searchService">serach service.</param> /// <param name="cards">all cards.</param> public CrowdSourcerBot(TelemetryClient telemetryClient, IQnaServiceProvider qnaServiceProvider, IConfiguration configuration, IConfigurationStorageProvider configurationStorageProvider, IObjectIdToNameMapper nameMappingStorageProvider, ISearchService searchService, CrowdSourcerCards cards) { this.telemetryClient = telemetryClient; this.qnaServiceProvider = qnaServiceProvider; this.configuration = configuration; this.configurationStorageProvider = configurationStorageProvider; this.nameMappingStorageProvider = nameMappingStorageProvider; this.searchService = searchService; this.cards = cards; }
/// <summary> /// Initializes a new instance of the <see cref="CrowdSourcerCards"/> class. /// </summary> /// <param name="nameMappingStorageProvider">name id mapping storage provider.</param> public CrowdSourcerCards(IObjectIdToNameMapper nameMappingStorageProvider) { this.nameMappingStorageProvider = nameMappingStorageProvider; }