From 4349f6b1c7126a4199a3b2b872d0e1ed5900f618 Mon Sep 17 00:00:00 2001 From: Darren Jefford Date: Thu, 25 Apr 2019 16:53:01 +0100 Subject: [PATCH] address errors on build server --- .../BotSettingsBase.cs | 48 +++++++++++++++++++ .../Responses/Reply.cs | 5 +- .../Responses/ResponseTemplate.cs | 6 +-- .../Telemetry/TelemetryQnAMaker.cs | 3 +- 4 files changed, 56 insertions(+), 6 deletions(-) diff --git a/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/BotSettingsBase.cs b/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/BotSettingsBase.cs index 214ed701e0..b9ba13d33c 100644 --- a/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/BotSettingsBase.cs +++ b/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/BotSettingsBase.cs @@ -14,51 +14,81 @@ public class BotSettingsBase /// /// Gets or sets the Microsoft Application Id. /// + /// + /// The Microsoft Application Id. + /// public string MicrosoftAppId { get; set; } /// /// Gets or sets the Microsoft Application Password. /// + /// + /// The Microsoft Application Password. + /// public string MicrosoftAppPassword { get; set; } /// /// Gets or sets the default locale of the bot. /// + /// + /// The default locale of the bot. + /// public string DefaultLocale { get; set; } /// /// Gets or sets the OAuth Connections for the bot. /// + /// + /// The OAuth Connections for the bot. + /// public List OAuthConnections { get; set; } /// /// Gets or sets the CosmosDB Configuration for the bot. /// + /// + /// The CosmosDB Configuration for the bot. + /// public CosmosDbStorageOptions CosmosDb { get; set; } /// /// Gets or sets the Application Insights configuration for the bot. /// + /// + /// The Application Insights configuration for the bot. + /// public TelemetryConfiguration AppInsights { get; set; } /// /// Gets or sets the Azure Blob Storage configuration for the bot. /// + /// + /// The Azure Blob Storage configuration for the bot. + /// public BlobStorageConfiguration BlobStorage { get; set; } /// /// Gets or sets the Azure Content Moderator configuration for the bot. /// + /// + /// The Azure Content Moderator configuration for the bot. + /// public ContentModeratorConfiguration ContentModerator { get; set; } /// /// Gets or sets the dictionary of cognitive model configurations by locale for the bot. /// + /// + /// The dictionary of cognitive model configurations by locale for the bot. + /// public Dictionary CognitiveModels { get; set; } = new Dictionary(); /// /// Gets or sets the Properties dictionary. /// + /// + /// The Properties dictionary. + /// public Dictionary Properties { get; set; } = new Dictionary(); /// @@ -69,11 +99,17 @@ public class BlobStorageConfiguration /// /// Gets or sets the connection string for the Azure Blob Storage service. /// + /// + /// The connection string for the Azure Blob Storage service. + /// public string ConnectionString { get; set; } /// /// Gets or sets the blob container for the Azure Blob Storage service. /// + /// + /// The blob container for the Azure Blob Storage service. + /// public string Container { get; set; } } @@ -85,6 +121,9 @@ public class ContentModeratorConfiguration /// /// Gets or sets the subscription key for the Content Moderator service. /// + /// + /// The subscription key for the Content Moderator service. + /// public string Key { get; set; } } @@ -96,16 +135,25 @@ public class CognitiveModelConfiguration /// /// Gets or sets the Dispatch service for the set of cognitive models. /// + /// + /// The Dispatch service for the set of cognitive models. + /// public DispatchService DispatchModel { get; set; } /// /// Gets or sets the collection of LUIS models. /// + /// + /// The collection of LUIS models. + /// public List LanguageModels { get; set; } /// /// Gets or sets the collection of QnA Maker knowledgebases. /// + /// + /// The collection of QnA Maker knowledgebases. + /// public List Knowledgebases { get; set; } } } diff --git a/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Responses/Reply.cs b/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Responses/Reply.cs index baec51b233..237fd11a5d 100644 --- a/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Responses/Reply.cs +++ b/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Responses/Reply.cs @@ -16,8 +16,11 @@ public class Reply public string Speak { get; set; } /// - /// Gets or sets the property of an . + /// Gets or sets the Reply Text. /// + /// + /// The property of an . + /// [JsonProperty("text")] public string Text { get; set; } } diff --git a/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Responses/ResponseTemplate.cs b/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Responses/ResponseTemplate.cs index 452625fde8..ffeb42878f 100644 --- a/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Responses/ResponseTemplate.cs +++ b/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Responses/ResponseTemplate.cs @@ -21,9 +21,9 @@ public ResponseTemplate() /// /// Initializes a new instance of the class. /// - /// - /// - /// + /// Response Text. + /// Response Speak Variant. + /// Input Hint. public ResponseTemplate(string text, string speak, string inputHint = InputHints.AcceptingInput) { this.Replies = new Reply[1]; diff --git a/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Telemetry/TelemetryQnAMaker.cs b/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Telemetry/TelemetryQnAMaker.cs index b2b2d1e3db..28cf276d1a 100644 --- a/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Telemetry/TelemetryQnAMaker.cs +++ b/lib/csharp/microsoft.bot.builder.solutions/microsoft.bot.builder.solutions/Telemetry/TelemetryQnAMaker.cs @@ -13,8 +13,7 @@ namespace Microsoft.Bot.Builder.Solutions.Telemetry /// TelemetryQnaRecognizer invokes the Qna Maker and logs some results into Application Insights. /// Logs the score, and (optionally) question /// Along with Conversation and ActivityID. - /// The Custom Event name this logs is "QnaMessage" - /// See for additional information. + /// The Custom Event name this logs is "QnaMessage". /// public class TelemetryQnAMaker : QnAMaker, ITelemetryQnAMaker {