From 6a600532be78519d5c287cf9cd1b13b2b15e6e4a Mon Sep 17 00:00:00 2001 From: David Gardiner Date: Thu, 6 Jun 2024 15:48:17 +0930 Subject: [PATCH] Fix spelling in comments --- .../Bindings/AsyncCollector/AsyncCollectorValueProvider.cs | 2 +- .../BindingProviders/AsyncCollectorBindingProvider.cs | 2 +- src/Microsoft.Azure.WebJobs.Host/FastTableLoggerProvider.cs | 2 +- src/Microsoft.Azure.WebJobs.Host/HostContainerNames.cs | 2 +- src/Microsoft.Azure.WebJobs.Host/JobHost.cs | 2 +- .../Logger/FunctionOutputLogger/FunctionOutputLogger.cs | 2 +- src/Microsoft.Azure.WebJobs.Host/PropertyHelper.cs | 2 +- .../Scale/ConcurrencyManager.cs | 2 +- .../Scale/ConcurrencyOptions.cs | 2 +- .../Singleton/InMemoryDistributedLockManager.cs | 2 +- src/Microsoft.Azure.WebJobs.Host/TypeUtility.cs | 2 +- .../Entities/InstanceCountEntity.cs | 2 +- .../Entities/InstanceTableEntity.cs | 2 +- .../Entities/RecentPerFuncEntity.cs | 4 ++-- src/Microsoft.Azure.WebJobs.Logging/FunctionId.cs | 2 +- .../FunctionInstanceLogItem.cs | 6 +++--- .../FunctionInstanceStatus.cs | 2 +- .../Internal/CloudTableInstanceCountLogger.cs | 2 +- .../Internal/InstanceCountLoggerBase.cs | 4 ++-- src/Microsoft.Azure.WebJobs.Logging/Internal/LogReader.cs | 2 +- src/Microsoft.Azure.WebJobs.Logging/Internal/LogWriter.cs | 2 +- src/Microsoft.Azure.WebJobs.Logging/Internal/TableScheme.cs | 2 +- src/Microsoft.Azure.WebJobs.Logging/Internal/TimeBucket.cs | 2 +- src/Microsoft.Azure.WebJobs.Logging/Internal/Utility.cs | 2 +- src/Microsoft.Azure.WebJobs.Logging/LogFactory.cs | 2 +- .../IPersistentQueueReader.cs | 2 +- src/Microsoft.Azure.WebJobs.Protocols/JsonSerialization.cs | 2 +- 27 files changed, 31 insertions(+), 31 deletions(-) diff --git a/src/Microsoft.Azure.WebJobs.Host/Bindings/AsyncCollector/AsyncCollectorValueProvider.cs b/src/Microsoft.Azure.WebJobs.Host/Bindings/AsyncCollector/AsyncCollectorValueProvider.cs index 6945157b7..5d83469b8 100644 --- a/src/Microsoft.Azure.WebJobs.Host/Bindings/AsyncCollector/AsyncCollectorValueProvider.cs +++ b/src/Microsoft.Azure.WebJobs.Host/Bindings/AsyncCollector/AsyncCollectorValueProvider.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.WebJobs.Host.Bindings { // ValueProvider for binding to an IAsyncCollector. // TUser is the parameter type from the user function we're binding to. - // TMessage is from the underying IAsyncCollector + // TMessage is from the underlying IAsyncCollector internal class AsyncCollectorValueProvider : IOrderedValueBinder { private readonly IAsyncCollector _raw; diff --git a/src/Microsoft.Azure.WebJobs.Host/Bindings/BindingProviders/AsyncCollectorBindingProvider.cs b/src/Microsoft.Azure.WebJobs.Host/Bindings/BindingProviders/AsyncCollectorBindingProvider.cs index 8b4a7e6c0..3ae5fa647 100644 --- a/src/Microsoft.Azure.WebJobs.Host/Bindings/BindingProviders/AsyncCollectorBindingProvider.cs +++ b/src/Microsoft.Azure.WebJobs.Host/Bindings/BindingProviders/AsyncCollectorBindingProvider.cs @@ -209,7 +209,7 @@ public IEnumerable GetRules() } // Listed in precedence for providing via DefaultType. - // Precdence is more important than how we produce the default type (a direct conversion vs. a converter) + // Precedence is more important than how we produce the default type (a direct conversion vs. a converter) private static readonly Type[] _defaultTypes = new Type[] { typeof(byte[]), typeof(JObject), diff --git a/src/Microsoft.Azure.WebJobs.Host/FastTableLoggerProvider.cs b/src/Microsoft.Azure.WebJobs.Host/FastTableLoggerProvider.cs index dfb81ff7a..0deca9735 100644 --- a/src/Microsoft.Azure.WebJobs.Host/FastTableLoggerProvider.cs +++ b/src/Microsoft.Azure.WebJobs.Host/FastTableLoggerProvider.cs @@ -72,7 +72,7 @@ public TextWriter Output } // These can be null. They're copied to the old log messages. - // They're magically in sync with where the fuctions write. + // They're magically in sync with where the functions write. public LocalBlobDescriptor OutputBlob { diff --git a/src/Microsoft.Azure.WebJobs.Host/HostContainerNames.cs b/src/Microsoft.Azure.WebJobs.Host/HostContainerNames.cs index b256078cb..a708cbc29 100644 --- a/src/Microsoft.Azure.WebJobs.Host/HostContainerNames.cs +++ b/src/Microsoft.Azure.WebJobs.Host/HostContainerNames.cs @@ -7,7 +7,7 @@ namespace Microsoft.Azure.WebJobs.Host // may point to blobs stored here). internal static class HostContainerNames { - // Note that sometimes this container name is used for the Storage account and sometimes for the Dasboard + // Note that sometimes this container name is used for the Storage account and sometimes for the Dashboard // account. These containers happen to be the same when the accounts are the same. public const string Hosts = "azure-webjobs-hosts"; } diff --git a/src/Microsoft.Azure.WebJobs.Host/JobHost.cs b/src/Microsoft.Azure.WebJobs.Host/JobHost.cs index 90391cf2e..f219beb9a 100644 --- a/src/Microsoft.Azure.WebJobs.Host/JobHost.cs +++ b/src/Microsoft.Azure.WebJobs.Host/JobHost.cs @@ -360,7 +360,7 @@ private Task EnsureHostInitializedAsync(CancellationToken cancellationToken) return _hostInitializationTask; } - // Caller gaurantees this is single-threaded. + // Caller guarantees this is single-threaded. // Set initializationTask when complete, many threads can wait on that. // When complete, the fields should be initialized to allow runtime usage. private async Task InitializeHostAsync(CancellationToken cancellationToken, TaskCompletionSource initializationTask) diff --git a/src/Microsoft.Azure.WebJobs.Host/Loggers/Logger/FunctionOutputLogger/FunctionOutputLogger.cs b/src/Microsoft.Azure.WebJobs.Host/Loggers/Logger/FunctionOutputLogger/FunctionOutputLogger.cs index c95947175..0134adcdd 100644 --- a/src/Microsoft.Azure.WebJobs.Host/Loggers/Logger/FunctionOutputLogger/FunctionOutputLogger.cs +++ b/src/Microsoft.Azure.WebJobs.Host/Loggers/Logger/FunctionOutputLogger/FunctionOutputLogger.cs @@ -11,7 +11,7 @@ namespace Microsoft.Azure.WebJobs.Logging { /// /// A logger explicitly for writing out logs to the returned from . This - /// is only intended to be used with the Function.{FunctionName}.User logger. Most opertions are no-op otherwise. + /// is only intended to be used with the Function.{FunctionName}.User logger. Most operations are no-op otherwise. /// internal class FunctionOutputLogger : ILogger { diff --git a/src/Microsoft.Azure.WebJobs.Host/PropertyHelper.cs b/src/Microsoft.Azure.WebJobs.Host/PropertyHelper.cs index 776ef81ac..d6ad769b3 100644 --- a/src/Microsoft.Azure.WebJobs.Host/PropertyHelper.cs +++ b/src/Microsoft.Azure.WebJobs.Host/PropertyHelper.cs @@ -444,7 +444,7 @@ protected static PropertyHelper[] GetVisibleProperties( // the type to see if we should include it. var ignoreProperty = false; - // Walk up the hierarchy until we find the type that actally declares this + // Walk up the hierarchy until we find the type that actually declares this // PropertyInfo. var currentTypeInfo = type.GetTypeInfo(); var declaringTypeInfo = declaringType.GetTypeInfo(); diff --git a/src/Microsoft.Azure.WebJobs.Host/Scale/ConcurrencyManager.cs b/src/Microsoft.Azure.WebJobs.Host/Scale/ConcurrencyManager.cs index fd6a0b1e0..83855310c 100644 --- a/src/Microsoft.Azure.WebJobs.Host/Scale/ConcurrencyManager.cs +++ b/src/Microsoft.Azure.WebJobs.Host/Scale/ConcurrencyManager.cs @@ -176,7 +176,7 @@ internal static int GetCoreAdjustedConcurrency(int concurrency, int otherCores, // based on number of cores. When running in an App Service plan, all instances will have // the same VM specs. When running in the Consumption plan, VMs may differ. In the latter case, // if the snapshot was taken on a VM with a different core count than ours, the adjusted - // concurency we compute may not be optimal, but it's a starting point that we'll dynamically + // concurrency we compute may not be optimal, but it's a starting point that we'll dynamically // adjust from as needed. float concurrencyPerCore = (float)concurrency / otherCores; int adjustedConcurrency = (int)(cores * concurrencyPerCore); diff --git a/src/Microsoft.Azure.WebJobs.Host/Scale/ConcurrencyOptions.cs b/src/Microsoft.Azure.WebJobs.Host/Scale/ConcurrencyOptions.cs index 9a17a7e8b..d73cc4932 100644 --- a/src/Microsoft.Azure.WebJobs.Host/Scale/ConcurrencyOptions.cs +++ b/src/Microsoft.Azure.WebJobs.Host/Scale/ConcurrencyOptions.cs @@ -59,7 +59,7 @@ public int MaximumFunctionConcurrency /// This value is used in conjunction with to /// determine when memory based throttling will kick in. /// A value of -1 indicates that the available memory limit is unknown, and - /// memory based throtting will be disabled. + /// memory based throttling will be disabled. /// /// /// When deployed to App Service, this value will be defaulted based on the SKU diff --git a/src/Microsoft.Azure.WebJobs.Host/Singleton/InMemoryDistributedLockManager.cs b/src/Microsoft.Azure.WebJobs.Host/Singleton/InMemoryDistributedLockManager.cs index 725723576..c5dde3d96 100644 --- a/src/Microsoft.Azure.WebJobs.Host/Singleton/InMemoryDistributedLockManager.cs +++ b/src/Microsoft.Azure.WebJobs.Host/Singleton/InMemoryDistributedLockManager.cs @@ -9,7 +9,7 @@ namespace Microsoft.Azure.WebJobs.Host { - // $$$ An Inmemory implementation of IDistributedLockManager. + // $$$ An In-memory implementation of IDistributedLockManager. // Can use this when running on a single node and don't need to coordinate across multiple machines. internal class InMemoryDistributedLockManager : IDistributedLockManager { diff --git a/src/Microsoft.Azure.WebJobs.Host/TypeUtility.cs b/src/Microsoft.Azure.WebJobs.Host/TypeUtility.cs index 6f4d69b51..72845e767 100644 --- a/src/Microsoft.Azure.WebJobs.Host/TypeUtility.cs +++ b/src/Microsoft.Azure.WebJobs.Host/TypeUtility.cs @@ -128,7 +128,7 @@ internal static TAttribute GetResolvedAttribute(ParameterInfo parame var attributeConnectionProvider = attribute as IConnectionProvider; if (attributeConnectionProvider != null && string.IsNullOrEmpty(attributeConnectionProvider.Connection)) { - // if the attribute doesn't specify an explicit connnection, walk up + // if the attribute doesn't specify an explicit connection, walk up // the hierarchy looking for an override specified via attribute var connectionProviderAttribute = attribute.GetType().GetCustomAttribute(); if (connectionProviderAttribute?.ProviderType != null) diff --git a/src/Microsoft.Azure.WebJobs.Logging/Entities/InstanceCountEntity.cs b/src/Microsoft.Azure.WebJobs.Logging/Entities/InstanceCountEntity.cs index 02dfe5b3f..0f561fd46 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Entities/InstanceCountEntity.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Entities/InstanceCountEntity.cs @@ -17,7 +17,7 @@ public class InstanceCountEntity : TableEntity const string RowKeyPrefix = "{0:D20}-"; const string RowKeyFormat = "{0:D20}-{1}-{2}"; // timestamp ticks, container name, salt - // Have a salt value for writing to avoid collisions since timeBucket is not gauranteed to be unique + // Have a salt value for writing to avoid collisions since timeBucket is not guaranteed to be unique // when many functions are quickly run within a single time tick. static int _salt; diff --git a/src/Microsoft.Azure.WebJobs.Logging/Entities/InstanceTableEntity.cs b/src/Microsoft.Azure.WebJobs.Logging/Entities/InstanceTableEntity.cs index a5d5a3fc6..8955b2a75 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Entities/InstanceTableEntity.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Entities/InstanceTableEntity.cs @@ -94,7 +94,7 @@ internal static string RowKeyFunctionInstanceId(Guid functionInstanceId) public DateTime? EndTime { get; set; } // Last heart beat. When EndTime is missing, this lets us guess if the function is still alive. - // Whereas Start and End are written very determinsitically in the lifecycle, + // Whereas Start and End are written very deterministically in the lifecycle, // heartbeat is special because it's written at potentially random times by a background poller thread. public DateTime? FunctionInstanceHeartbeatExpiry { get; set; } diff --git a/src/Microsoft.Azure.WebJobs.Logging/Entities/RecentPerFuncEntity.cs b/src/Microsoft.Azure.WebJobs.Logging/Entities/RecentPerFuncEntity.cs index 9d2345f06..8065aeb60 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Entities/RecentPerFuncEntity.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Entities/RecentPerFuncEntity.cs @@ -8,8 +8,8 @@ namespace Microsoft.Azure.WebJobs.Logging { - // Index that provides list of recention invocations per function type. - // 1 entity per Intance of a function that's executed. + // Index that provides list of recent invocations per function type. + // 1 entity per Instance of a function that's executed. internal class RecentPerFuncEntity : TableEntity, IRecentFunctionEntry, IEntityWithEpoch { const string PartitionKeyFormat = TableScheme.RecentFuncIndexPK; diff --git a/src/Microsoft.Azure.WebJobs.Logging/FunctionId.cs b/src/Microsoft.Azure.WebJobs.Logging/FunctionId.cs index 8ac719e9e..0d3c83958 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/FunctionId.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/FunctionId.cs @@ -95,7 +95,7 @@ public override bool Equals(object obj) } /// - /// Inquality + /// Inequality /// /// /// diff --git a/src/Microsoft.Azure.WebJobs.Logging/FunctionInstanceLogItem.cs b/src/Microsoft.Azure.WebJobs.Logging/FunctionInstanceLogItem.cs index 4c3c30b5f..6915d5de7 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/FunctionInstanceLogItem.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/FunctionInstanceLogItem.cs @@ -8,7 +8,7 @@ namespace Microsoft.Azure.WebJobs.Logging { /// - /// Publically visible. + /// Publicly visible. /// Represent a function invocation. /// public class FunctionInstanceLogItem : IFunctionInstanceBaseEntry @@ -47,8 +47,8 @@ public class FunctionInstanceLogItem : IFunctionInstanceBaseEntry public DateTime? EndTime { get; set; } /// A function outputs a heartbeat while it's running. - /// If EndTime = null and heartbeat is "old", then the function is likley abandoned (machine killed). - /// It's always possible a node loses network connectity, and so we appear abandoned, but + /// If EndTime = null and heartbeat is "old", then the function is likely abandoned (machine killed). + /// It's always possible a node loses network connectivity, and so we appear abandoned, but /// the function successfully completes /// public DateTime? FunctionInstanceHeartbeatExpiry { get; set; } diff --git a/src/Microsoft.Azure.WebJobs.Logging/FunctionInstanceStatus.cs b/src/Microsoft.Azure.WebJobs.Logging/FunctionInstanceStatus.cs index a5fbde09b..76e9b1ca5 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/FunctionInstanceStatus.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/FunctionInstanceStatus.cs @@ -18,7 +18,7 @@ public enum FunctionInstanceStatus Unknown = 0, /// - /// Function has been triggered and ready to run, but is blocked on some prerequeisite. + /// Function has been triggered and ready to run, but is blocked on some prerequisite. /// Blocked, diff --git a/src/Microsoft.Azure.WebJobs.Logging/Internal/CloudTableInstanceCountLogger.cs b/src/Microsoft.Azure.WebJobs.Logging/Internal/CloudTableInstanceCountLogger.cs index 3b4cca5ed..099ad76af 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Internal/CloudTableInstanceCountLogger.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Internal/CloudTableInstanceCountLogger.cs @@ -61,7 +61,7 @@ protected override async Task WriteEntry(long ticks, int currentActive, int tota /// /// Poll, return the ticks. /// - /// cancellation token to interupt the poll. Don't throw when cancelled, just return early. + /// cancellation token to interrupt the poll. Don't throw when cancelled, just return early. /// Tick counter after the poll. protected override async Task WaitOnPoll(CancellationToken token) { diff --git a/src/Microsoft.Azure.WebJobs.Logging/Internal/InstanceCountLoggerBase.cs b/src/Microsoft.Azure.WebJobs.Logging/Internal/InstanceCountLoggerBase.cs index d09c2849c..ff345ec04 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Internal/InstanceCountLoggerBase.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Internal/InstanceCountLoggerBase.cs @@ -86,7 +86,7 @@ public void Decrement(Guid instanceId) /// /// Poll, return the ticks. /// - /// cancellation token to interupt the poll. + /// cancellation token to interrupt the poll. /// Don't throw when cancelled, just return early because we still need a tick counter returned. /// Tick counter after the poll. protected abstract Task WaitOnPoll(CancellationToken token); @@ -100,7 +100,7 @@ public void Decrement(Guid instanceId) /// protected abstract Task WriteEntry(long ticks, int currentActive, int totalThisPeriod); - // Wrap cancellation token and task in a separate class so that StopAsync() doesn't reccyle them. + // Wrap cancellation token and task in a separate class so that StopAsync() doesn't recycle them. [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1001:TypesThatOwnDisposableFieldsShouldBeDisposable")] class Worker { diff --git a/src/Microsoft.Azure.WebJobs.Logging/Internal/LogReader.cs b/src/Microsoft.Azure.WebJobs.Logging/Internal/LogReader.cs index 444e2aafb..ce3503849 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Internal/LogReader.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Internal/LogReader.cs @@ -287,7 +287,7 @@ string continuationToken throw new InvalidOperationException("illegal time range"); } - // Shrink to phsyical. + // Shrink to physical. var epochs = _tables.Keys.ToArray(); if (epochs.Length == 0) { diff --git a/src/Microsoft.Azure.WebJobs.Logging/Internal/LogWriter.cs b/src/Microsoft.Azure.WebJobs.Logging/Internal/LogWriter.cs index dce10b31c..0ea25aae5 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Internal/LogWriter.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Internal/LogWriter.cs @@ -18,7 +18,7 @@ namespace Microsoft.Azure.WebJobs.Logging internal class LogWriter : ILogWriter { // Logs from AddAsync() are batched up. They can be explicitly flushed via FlushAsync() and - // they get autotmatically flushed at Interval. + // they get automatically flushed at Interval. // Calling AddAsync() will startup the background flusher. Calling FlushAsync() explicitly will disable it. private CancellationTokenSource _cancelBackgroundFlusher = null; private Task _backgroundFlusherTask = null; diff --git a/src/Microsoft.Azure.WebJobs.Logging/Internal/TableScheme.cs b/src/Microsoft.Azure.WebJobs.Logging/Internal/TableScheme.cs index 05a610a17..fb36d94c8 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Internal/TableScheme.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Internal/TableScheme.cs @@ -138,7 +138,7 @@ private static string EscapeStorageCharacter(char character) // Normalize must be one-to-one to avoid collisions. // Escape any non-alphanumeric characters so that we // a) have a valid rowkey name - // b) don't have characeters that conflict with separators in the row key (like '-') + // b) don't have characters that conflict with separators in the row key (like '-') public static string NormalizeFunctionName(string functionName) { StringBuilder sb = new StringBuilder(); diff --git a/src/Microsoft.Azure.WebJobs.Logging/Internal/TimeBucket.cs b/src/Microsoft.Azure.WebJobs.Logging/Internal/TimeBucket.cs index cc453272e..406f4516e 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Internal/TimeBucket.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Internal/TimeBucket.cs @@ -56,7 +56,7 @@ public static long GetEpochNumberFromTable(CloudTable table) return -1; } - // Epoch must be positive, orderd integers. + // Epoch must be positive, ordered integers. // Use YYYYMM private static long GetEpochSuffixNumber(DateTime epoch) { diff --git a/src/Microsoft.Azure.WebJobs.Logging/Internal/Utility.cs b/src/Microsoft.Azure.WebJobs.Logging/Internal/Utility.cs index 5101408b2..fdaae5696 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/Internal/Utility.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/Internal/Utility.cs @@ -218,7 +218,7 @@ public static async Task WriteBatchAsync(this ILogTableProvider logTableProvi int batchSize = 90; - // Batches must be within a single table partition, so Key is "tableName + ParitionKey". + // Batches must be within a single table partition, so Key is "tableName + PartitionKey". var batches = new Dictionary>(); List t = new List(); diff --git a/src/Microsoft.Azure.WebJobs.Logging/LogFactory.cs b/src/Microsoft.Azure.WebJobs.Logging/LogFactory.cs index 5233545d4..961acd204 100644 --- a/src/Microsoft.Azure.WebJobs.Logging/LogFactory.cs +++ b/src/Microsoft.Azure.WebJobs.Logging/LogFactory.cs @@ -25,7 +25,7 @@ public static ILogReader NewReader(ILogTableProvider logTableProvider) /// Create a new log writer. /// Pass in machineName to facilitate multiple compute instances writing to the same table simultaneously without interference. /// - /// name of host. A host is a homegenous collection of compute containers, like an Azure Website / appservice. + /// name of host. A host is a homogenous collection of compute containers, like an Azure Website / appservice. /// Multiple hosts can share a single set of azure tables. Logging is scoped per-host. /// name of the compute container. Likely %COMPUTERNAME%. /// callback interface that gets invoked to get azure tables to write logging to. diff --git a/src/Microsoft.Azure.WebJobs.Protocols/IPersistentQueueReader.cs b/src/Microsoft.Azure.WebJobs.Protocols/IPersistentQueueReader.cs index 0597b22fb..a26000345 100644 --- a/src/Microsoft.Azure.WebJobs.Protocols/IPersistentQueueReader.cs +++ b/src/Microsoft.Azure.WebJobs.Protocols/IPersistentQueueReader.cs @@ -19,7 +19,7 @@ internal interface IPersistentQueueReader { /// Dequeues the next message in the queue, if any. /// The dequeued message, if any. - /// Dequeuing marks the message as temorarly invisible. + /// Dequeuing marks the message as temporarily invisible. Task DequeueAsync(); /// Deletes a message from the queue. diff --git a/src/Microsoft.Azure.WebJobs.Protocols/JsonSerialization.cs b/src/Microsoft.Azure.WebJobs.Protocols/JsonSerialization.cs index fbd0c945e..7f1392e12 100644 --- a/src/Microsoft.Azure.WebJobs.Protocols/JsonSerialization.cs +++ b/src/Microsoft.Azure.WebJobs.Protocols/JsonSerialization.cs @@ -21,7 +21,7 @@ internal static class JsonSerialization { private static readonly JsonSerializerSettings JsonSerializerSettings = new JsonSerializerSettings { - // The default value, DateParseHandling.DateTime, drops time zone information from DateTimeOffets. + // The default value, DateParseHandling.DateTime, drops time zone information from DateTimeOffsets. // This value appears to work well with both DateTimes (without time zone information) and DateTimeOffsets. DateParseHandling = DateParseHandling.DateTimeOffset, NullValueHandling = NullValueHandling.Ignore,