public SkillDialog(SkillDefinition skillDefinition, SkillConfigurationBase skillConfiguration, EndpointService endpointService, IBotTelemetryClient telemetryClient, bool useCachedTokens = true) : base(skillDefinition.Id) { _skillDefinition = skillDefinition; _skillConfiguration = skillConfiguration; _endpointService = endpointService; _telemetryClient = telemetryClient; _useCachedTokens = useCachedTokens; AddDialog(new MultiProviderAuthDialog(skillConfiguration)); }
public SkillDialog(SkillDefinition skillDefinition, SkillConfigurationBase skillConfiguration, ProactiveState proactiveState, EndpointService endpointService, IBotTelemetryClient telemetryClient, IBackgroundTaskQueue backgroundTaskQueue, bool useCachedTokens = true) : base(skillDefinition.Id) { _skillDefinition = skillDefinition; _skillConfiguration = skillConfiguration; _proactiveState = proactiveState; _endpointService = endpointService; _telemetryClient = telemetryClient; _backgroundTaskQueue = backgroundTaskQueue; _useCachedTokens = useCachedTokens; var supportedLanguages = skillConfiguration.LocaleConfigurations.Keys.ToArray(); _responseManager = new ResponseManager(supportedLanguages, new SkillResponses()); AddDialog(new MultiProviderAuthDialog(skillConfiguration)); }
public SkillDialog(SkillDefinition skillDefinition, SkillConfigurationBase skillConfiguration, EndpointService endpointService, IBotTelemetryClient telemetryClient, bool useCachedTokens = true) : base(skillDefinition.Id) { _skillDefinition = skillDefinition; _skillConfiguration = skillConfiguration; _endpointService = endpointService; _telemetryClient = telemetryClient; _useCachedTokens = useCachedTokens; var supportedLanguages = skillConfiguration.LocaleConfigurations.Keys.ToArray(); _responseManager = new ResponseManager( new IResponseIdCollection[] { new CommonResponses() }, supportedLanguages); AddDialog(new MultiProviderAuthDialog(skillConfiguration)); }