diff --git a/FunctionalTests/Microsoft.Bot.Builder.FunctionalTests/DirectLineClientTests.cs b/FunctionalTests/Microsoft.Bot.Builder.FunctionalTests/DirectLineClientTests.cs
index 61206b4a8..1afcbf023 100644
--- a/FunctionalTests/Microsoft.Bot.Builder.FunctionalTests/DirectLineClientTests.cs
+++ b/FunctionalTests/Microsoft.Bot.Builder.FunctionalTests/DirectLineClientTests.cs
@@ -79,7 +79,7 @@ namespace Microsoft.Bot.Builder.FunctionalTests
var activitySet = await client.Conversations.GetActivitiesAsync(conversationId, watermark);
watermark = activitySet?.Watermark;
- // Extract the activies sent from the bot.
+ // Extract the activities sent from the bot.
var activities = from x in activitySet.Activities
where x.From.Id == botId
select x;
diff --git a/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisApplication.cs b/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisApplication.cs
index 64c791b60..9d2336f0e 100644
--- a/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisApplication.cs
+++ b/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisApplication.cs
@@ -31,7 +31,7 @@ namespace Microsoft.Bot.Builder.AI.Luis
///
/// Initializes a new instance of the class.
///
- /// LUIS coonfiguration.
+ /// LUIS configuration.
public LuisApplication(LuisService service)
: this((service.AppId, service.SubscriptionKey, service.GetEndpoint()))
{
diff --git a/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisUtil.cs b/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisUtil.cs
index 242a297fe..c019b07a5 100644
--- a/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisUtil.cs
+++ b/libraries/Microsoft.Bot.Builder.AI.LUIS/LuisUtil.cs
@@ -292,7 +292,7 @@ namespace Microsoft.Bot.Builder.AI.Luis
///
/// If a property doesn't exist add it to a new array, otherwise append it to the existing array.
///
- /// Object in wich the property will be added.
+ /// Object in which the property will be added.
/// Key of the property.
/// Value for the property.
internal static void AddProperty(JObject obj, string key, JToken value)
diff --git a/libraries/Microsoft.Bot.Builder.AI.QnA/QnAMaker.cs b/libraries/Microsoft.Bot.Builder.AI.QnA/QnAMaker.cs
index 1e6126b54..2772664dd 100644
--- a/libraries/Microsoft.Bot.Builder.AI.QnA/QnAMaker.cs
+++ b/libraries/Microsoft.Bot.Builder.AI.QnA/QnAMaker.cs
@@ -36,7 +36,7 @@ namespace Microsoft.Bot.Builder.AI.QnA
/// An alternate client with which to talk to QnAMaker.
/// If null, a default client is used for this instance.
/// The IBotTelemetryClient used for logging telemetry events.
- /// Set to true to include personally indentifiable information in telemetry events.
+ /// Set to true to include personally identifiable information in telemetry events.
public QnAMaker(QnAMakerEndpoint endpoint, QnAMakerOptions options, HttpClient httpClient, IBotTelemetryClient telemetryClient, bool logPersonalInformation = false)
{
_endpoint = endpoint ?? throw new ArgumentNullException(nameof(endpoint));
@@ -97,7 +97,7 @@ namespace Microsoft.Bot.Builder.AI.QnA
/// An alternate client with which to talk to QnAMaker.
/// If null, a default client is used for this instance.
/// The IBotTelemetryClient used for logging telemetry events.
- /// Set to true to include personally indentifiable information in telemetry events.
+ /// Set to true to include personally identifiable information in telemetry events.
public QnAMaker(QnAMakerService service, QnAMakerOptions options, HttpClient httpClient, IBotTelemetryClient telemetryClient, bool logPersonalInformation = false)
: this(new QnAMakerEndpoint(service), options, httpClient, telemetryClient, logPersonalInformation)
{
diff --git a/libraries/Microsoft.Bot.Builder.Dialogs/DialogContext.cs b/libraries/Microsoft.Bot.Builder.Dialogs/DialogContext.cs
index 26ee1bc1f..daac770f9 100644
--- a/libraries/Microsoft.Bot.Builder.Dialogs/DialogContext.cs
+++ b/libraries/Microsoft.Bot.Builder.Dialogs/DialogContext.cs
@@ -50,10 +50,10 @@ namespace Microsoft.Bot.Builder.Dialogs
public List Stack { get; private set; }
///
- /// Gets or sets the The parent DialogContext if any. Used when searching for dialogs to start.
+ /// Gets or sets the parent DialogContext if any. Used when searching for dialogs to start.
///
///
- /// The The parent DialogContext if any. Used when searching for dialogs to start.
+ /// The parent DialogContext if any. Used when searching for dialogs to start.
///
public DialogContext Parent { get; set; }
diff --git a/libraries/Microsoft.Bot.Builder/Adapters/TestAdapter.cs b/libraries/Microsoft.Bot.Builder/Adapters/TestAdapter.cs
index 3f0b26c35..ff70dc60d 100644
--- a/libraries/Microsoft.Bot.Builder/Adapters/TestAdapter.cs
+++ b/libraries/Microsoft.Bot.Builder/Adapters/TestAdapter.cs
@@ -187,7 +187,7 @@ namespace Microsoft.Bot.Builder.Adapters
{
// The BotFrameworkAdapter and Console adapter implement this
// hack directly in the POST method. Replicating that here
- // to keep the behavior as close as possible to facillitate
+ // to keep the behavior as close as possible to facilitate
// more realistic tests.
var delayMs = (int)activity.Value;
@@ -298,7 +298,7 @@ namespace Microsoft.Bot.Builder.Adapters
/// A cancellation token that can be used by other objects
/// or threads to receive notice of cancellation.
/// A task that represents the work queued to execute.
- /// This resets the , and does not maintain multiple converstion queues.
+ /// This resets the , and does not maintain multiple conversation queues.
public Task CreateConversationAsync(string channelId, BotCallbackHandler callback, CancellationToken cancellationToken)
{
ActiveQueue.Clear();
@@ -502,7 +502,7 @@ namespace Microsoft.Bot.Builder.Adapters
///
/// The turnContext (with a valid Activity).
/// The user id.
- /// Optional comma seperated list of connection's to include. Blank will return token status for all configured connections.
+ /// Optional comma separated list of connection's to include. Blank will return token status for all configured connections.
/// The cancellation token.
/// Array of TokenStatus.
public virtual Task GetTokenStatusAsync(ITurnContext context, string userId, string includeFilter = null, CancellationToken cancellationToken = default(CancellationToken))
@@ -531,7 +531,7 @@ namespace Microsoft.Bot.Builder.Adapters
/// The list of AAD resource URLs.
/// The user ID.
/// The cancellationToken.
- /// The dicitonary of TokenResponses for each resource URL.
+ /// The dictionary of TokenResponses for each resource URL.
public virtual Task> GetAadTokensAsync(ITurnContext context, string connectionName, string[] resourceUrls, string userId = null, CancellationToken cancellationToken = default(CancellationToken))
{
return Task.FromResult(new Dictionary());
diff --git a/libraries/Microsoft.Bot.Builder/Adapters/TestFlow.cs b/libraries/Microsoft.Bot.Builder/Adapters/TestFlow.cs
index 39768138c..fc6690408 100644
--- a/libraries/Microsoft.Bot.Builder/Adapters/TestFlow.cs
+++ b/libraries/Microsoft.Bot.Builder/Adapters/TestFlow.cs
@@ -70,7 +70,7 @@ namespace Microsoft.Bot.Builder.Adapters
///
/// Runs the exchange between the user and the bot.
/// This methods sends the activities from the user to the bot and
- /// checks the responses from the bot based on the activiies described in the
+ /// checks the responses from the bot based on the activities described in the
/// current test flow.
public Task StartTestAsync() => _testTask;
@@ -309,7 +309,7 @@ namespace Microsoft.Bot.Builder.Adapters
}
///
- /// Shorcut for adding an arbitray exchange between the user and bot.
+ /// Shortcut for adding an arbitrary exchange between the user and bot.
/// Each activity with a . equals to "bot"
/// will be processed with the method.
/// Every other activity will be processed as user's message via the method.
@@ -337,7 +337,7 @@ namespace Microsoft.Bot.Builder.Adapters
}
///
- /// Shorcut for adding an arbitray exchange between the user and bot.
+ /// Shortcut for adding an arbitrary exchange between the user and bot.
/// Each activity with a . equals to "bot"
/// will be processed with the method.
/// Every other activity will be processed as user's message via the method.
diff --git a/libraries/Microsoft.Bot.Builder/BotAdapter.cs b/libraries/Microsoft.Bot.Builder/BotAdapter.cs
index d99058adb..f3f7278d5 100644
--- a/libraries/Microsoft.Bot.Builder/BotAdapter.cs
+++ b/libraries/Microsoft.Bot.Builder/BotAdapter.cs
@@ -112,7 +112,7 @@ namespace Microsoft.Bot.Builder
/// Sends a proactive message to a conversation.
///
/// The application ID of the bot. This paramter is ignored in
- /// single tenant the Adpters (Console, Test, etc) but is critical to the BotFrameworkAdapter
+ /// single tenant the Adapters (Console, Test, etc) but is critical to the BotFrameworkAdapter
/// which is multi-tenant aware.
/// A reference to the conversation to continue.
/// The method to call for the resulting bot turn.
diff --git a/libraries/Microsoft.Bot.Builder/BotFrameworkAdapter.cs b/libraries/Microsoft.Bot.Builder/BotFrameworkAdapter.cs
index 2e1806859..aed51b914 100644
--- a/libraries/Microsoft.Bot.Builder/BotFrameworkAdapter.cs
+++ b/libraries/Microsoft.Bot.Builder/BotFrameworkAdapter.cs
@@ -127,7 +127,7 @@ namespace Microsoft.Bot.Builder
// Relocate the tenantId field used by MS Teams to a new location (from channelData to conversation)
// This will only occur on activities from teams that include tenant info in channelData but NOT in conversation,
- // thus should be future friendly. However, once the the transition is complete. we can remove this.
+ // thus should be future friendly. However, once the transition is complete. we can remove this.
Use(new TenantIdWorkaroundForTeamsMiddleware());
// DefaultRequestHeaders are not thread safe so set them up here because this adapter should be a singleton.
diff --git a/libraries/Microsoft.Bot.Builder/IBotTelemetryClient.cs b/libraries/Microsoft.Bot.Builder/IBotTelemetryClient.cs
index da02b2225..b1987f628 100644
--- a/libraries/Microsoft.Bot.Builder/IBotTelemetryClient.cs
+++ b/libraries/Microsoft.Bot.Builder/IBotTelemetryClient.cs
@@ -60,7 +60,7 @@ namespace Microsoft.Bot.Builder
/// Send a trace message.
///
/// Message to display.
- /// Trace severaity level .
+ /// Trace severity level .
/// Named string values you can use to search and classify events.
void TrackTrace(string message, Severity severityLevel, IDictionary properties);
diff --git a/libraries/Microsoft.Bot.Builder/IUserTokenProvider.cs b/libraries/Microsoft.Bot.Builder/IUserTokenProvider.cs
index 94c9fe635..d2a4e5c91 100644
--- a/libraries/Microsoft.Bot.Builder/IUserTokenProvider.cs
+++ b/libraries/Microsoft.Bot.Builder/IUserTokenProvider.cs
@@ -59,7 +59,7 @@ namespace Microsoft.Bot.Builder
///
/// Context for the current turn of conversation with the user.
/// The user Id for which token status is retrieved.
- /// Optional comma seperated list of connection's to include. Blank will return token status for all configured connections.
+ /// Optional comma separated list of connection's to include. Blank will return token status for all configured connections.
/// A cancellation token that can be used by other objects
/// or threads to receive notice of cancellation.
/// Array of TokenStatus.
@@ -69,7 +69,7 @@ namespace Microsoft.Bot.Builder
/// Retrieves Azure Active Directory tokens for particular resources on a configured connection.
///
/// Context for the current turn of conversation with the user.
- /// The name of the Azure Active Direcotry connection configured with this bot.
+ /// The name of the Azure Active Directory connection configured with this bot.
/// The list of resource URLs to retrieve tokens for.
/// The user Id for which tokens are retrieved. If passing in null the userId is taken from the Activity in the ITurnContext.
/// A cancellation token that can be used by other objects
diff --git a/libraries/Microsoft.Bot.Builder/Integration/IAdapterIntegration.cs b/libraries/Microsoft.Bot.Builder/Integration/IAdapterIntegration.cs
index e0a343027..28e5bddf3 100644
--- a/libraries/Microsoft.Bot.Builder/Integration/IAdapterIntegration.cs
+++ b/libraries/Microsoft.Bot.Builder/Integration/IAdapterIntegration.cs
@@ -33,7 +33,7 @@ namespace Microsoft.Bot.Builder.Integration
/// Sends a proactive message to a conversation.
///
/// The application ID of the bot. This paramter is ignored in
- /// single tenant the Adpters (Console, Test, etc) but is critical to the BotFrameworkAdapter
+ /// single tenant the Adapters (Console, Test, etc) but is critical to the BotFrameworkAdapter
/// which is multi-tenant aware.
/// A reference to the conversation to continue.
/// The method to call for the resulting bot turn.
diff --git a/libraries/Microsoft.Bot.Builder/TelemetryLoggerConstants.cs b/libraries/Microsoft.Bot.Builder/TelemetryLoggerConstants.cs
index 1065e27ef..e5ee17af7 100644
--- a/libraries/Microsoft.Bot.Builder/TelemetryLoggerConstants.cs
+++ b/libraries/Microsoft.Bot.Builder/TelemetryLoggerConstants.cs
@@ -8,7 +8,7 @@ namespace Microsoft.Bot.Builder
///
public static class TelemetryLoggerConstants
{
- // The name of the event when when new message is received from the user.
+ // The name of the event when a new message is received from the user.
public static readonly string BotMsgReceiveEvent = "BotMessageReceived";
// The name of the event when logged when a message is sent from the bot to the user.
diff --git a/libraries/Microsoft.Bot.Builder/TelemetryLoggerMiddleware.cs b/libraries/Microsoft.Bot.Builder/TelemetryLoggerMiddleware.cs
index 8ab79f314..d695e8c6a 100644
--- a/libraries/Microsoft.Bot.Builder/TelemetryLoggerMiddleware.cs
+++ b/libraries/Microsoft.Bot.Builder/TelemetryLoggerMiddleware.cs
@@ -20,7 +20,7 @@ namespace Microsoft.Bot.Builder
/// Initializes a new instance of the class.
///
/// The IBotTelemetryClient implementation used for registering telemetry events.
- /// (Optional) TRUE to include personally indentifiable information.
+ /// (Optional) TRUE to include personally identifiable information.
public TelemetryLoggerMiddleware(IBotTelemetryClient telemetryClient, bool logPersonalInformation = false)
{
TelemetryClient = telemetryClient ?? new NullBotTelemetryClient();
diff --git a/libraries/Microsoft.Bot.Configuration/BotConfigurationExtensions.cs b/libraries/Microsoft.Bot.Configuration/BotConfigurationExtensions.cs
index dc7a0c4cb..2a6f29e0c 100644
--- a/libraries/Microsoft.Bot.Configuration/BotConfigurationExtensions.cs
+++ b/libraries/Microsoft.Bot.Configuration/BotConfigurationExtensions.cs
@@ -66,7 +66,7 @@ namespace Microsoft.Bot.Configuration
// Get all the Dispatch (Luis) types in the service list
var dispatchServices = botConfiguration.Services.OfType();
- // The dispatch service is not always included in the the bot configuration files.
+ // The dispatch service is not always included in the bot configuration files.
// Therefore, it will only be validated if the bot configuration file contains at least one service of this type.
if (dispatchServices.Any())
{
diff --git a/libraries/Microsoft.Bot.Connector/Authentication/EndorsementsValidator.cs b/libraries/Microsoft.Bot.Connector/Authentication/EndorsementsValidator.cs
index aaf695698..ad5f2a128 100644
--- a/libraries/Microsoft.Bot.Connector/Authentication/EndorsementsValidator.cs
+++ b/libraries/Microsoft.Bot.Connector/Authentication/EndorsementsValidator.cs
@@ -25,7 +25,7 @@ namespace Microsoft.Bot.Connector.Authentication
/// The expected endorsement. Generally the ID of the channel to validate, typically extracted from the activity's
/// property, that to which the Activity is affinitized. Alternatively, it could represent a compliance certification that is required.
/// The JWT token’s signing party is permitted to send activities only for
- /// specific channels. That list, the set of channels the service can sign for, is called the the endorsement list.
+ /// specific channels. That list, the set of channels the service can sign for, is called the endorsement list.
/// The activity’s MUST be found in the endorsement list, or the incoming
/// activity is not considered valid.
/// True if the channel ID is found in the endorsements list; otherwise, false.
diff --git a/libraries/Microsoft.Bot.Connector/OAuthClientOld.cs b/libraries/Microsoft.Bot.Connector/OAuthClientOld.cs
index 081de4df9..ab298906e 100644
--- a/libraries/Microsoft.Bot.Connector/OAuthClientOld.cs
+++ b/libraries/Microsoft.Bot.Connector/OAuthClientOld.cs
@@ -316,7 +316,7 @@ namespace Microsoft.Bot.Connector
/// Get the status of tokens for connections for this bot for a particular user.
///
/// User id.
- /// A comma seperated list of connections to include. If null, then all connections are returned.
+ /// A comma separated list of connections to include. If null, then all connections are returned.
/// Cancellation Token.
/// TokenStatus.
public async Task GetTokenStatusAsync(string userId, string includeFilter = null, CancellationToken cancellationToken = default(CancellationToken))
diff --git a/libraries/integration/Microsoft.Bot.Builder.Integration.ApplicationInsights.Core/ServiceCollectionExtensions.cs b/libraries/integration/Microsoft.Bot.Builder.Integration.ApplicationInsights.Core/ServiceCollectionExtensions.cs
index 13442609e..258c994c1 100644
--- a/libraries/integration/Microsoft.Bot.Builder.Integration.ApplicationInsights.Core/ServiceCollectionExtensions.cs
+++ b/libraries/integration/Microsoft.Bot.Builder.Integration.ApplicationInsights.Core/ServiceCollectionExtensions.cs
@@ -103,7 +103,7 @@ namespace Microsoft.Bot.Builder.Integration.ApplicationInsights.Core
///
/// The which specifies the contract for a collection of service descriptors.
/// Bot Telemetry Client that logs event information.
- /// If Bot Telemetry Client is using Application Insights, provide the instumentation key.
+ /// If Bot Telemetry Client is using Application Insights, provide the instrumentation key.
/// A reference to this instance after the operation has completed.
public static IServiceCollection AddBotApplicationInsights(this IServiceCollection services, IBotTelemetryClient botTelemetryClient, string instrumentationKey = null)
{