From 16c267d95eafbf310f17bc938d00048a541be0d0 Mon Sep 17 00:00:00 2001 From: bchavez Date: Mon, 28 Aug 2017 11:31:40 -0700 Subject: [PATCH] House Cleaning - Spelling and grammar :shower: --- .../ActionSelectorBenchmark.cs | 2 +- .../ActionConstraints/ActionSelectorCandidate.cs | 2 +- .../Filters/FilterDescriptor.cs | 2 +- .../Filters/ResourceExecutedContext.cs | 2 +- .../ModelBinding/CompositeBindingSource.cs | 2 +- .../ModelBinding/IBindingSourceMetadata.cs | 2 +- .../ModelBinding/Metadata/ModelMetadataIdentity.cs | 2 +- .../ModelBinding/ModelMetadata.cs | 2 +- .../DefaultApiDescriptionProvider.cs | 2 +- src/Microsoft.AspNetCore.Mvc.Core/AcceptedResult.cs | 2 +- .../ApplicationModels/IParameterModelConvention.cs | 2 +- .../ApplicationModels/PropertyModel.cs | 2 +- .../ApplicationParts/AssemblyPart.cs | 2 +- src/Microsoft.AspNetCore.Mvc.Core/BindAttribute.cs | 2 +- src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs | 8 ++++---- .../Internal/AuthorizationApplicationModelProvider.cs | 2 +- .../Internal/DefaultApplicationModelProvider.cs | 6 +++--- .../Internal/DefaultModelBindingContext.cs | 2 +- .../ExplicitIndexCollectionValidationStrategy.cs | 4 ++-- .../Internal/HttpTokenParsingRules.cs | 2 +- .../Internal/MiddlewareFilter.cs | 2 +- .../Internal/MiddlewareFilterBuilder.cs | 2 +- .../Internal/ResourceInvoker.cs | 4 ++-- .../Internal/ShortFormDictionaryValidationStrategy.cs | 2 +- .../LocalRedirectResult.cs | 2 +- .../ModelBinding/Metadata/DisplayMetadata.cs | 2 +- .../ModelBinding/ModelBinderFactory.cs | 4 ++-- src/Microsoft.AspNetCore.Mvc.Core/RedirectResult.cs | 2 +- .../RedirectToActionResult.cs | 4 ++-- .../RedirectToPageResult.cs | 6 +++--- .../RedirectToRouteResult.cs | 4 ++-- .../IAttributeAdapter.cs | 2 +- .../Internal/DataAnnotationsMetadataProvider.cs | 2 +- .../WrapperProviderContext.cs | 2 +- .../IHtmlLocalizer.cs | 2 +- .../Compilation/CompiledViewDescriptor.cs | 2 +- src/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs | 2 +- .../IPageApplicationModelConvention.cs | 2 +- .../ApplicationModels/PageHandlerModel.cs | 2 +- .../ApplicationModels/PagePropertyModel.cs | 2 +- .../Internal/DefaultPageApplicationModelProvider.cs | 2 +- src/Microsoft.AspNetCore.Mvc.RazorPages/PageBase.cs | 8 ++++---- src/Microsoft.AspNetCore.Mvc.RazorPages/PageModel.cs | 8 ++++---- .../MvcWebApplicationBuilder.cs | 2 +- .../WebApplicationTestFixture.cs | 2 +- .../Microsoft.AspNetCore.Mvc.Testing.targets | 2 +- .../TempDataAttribute.cs | 2 +- .../ViewComponents/ViewComponentDescriptor.cs | 2 +- .../ViewFeatures/IHtmlGenerator.cs | 6 +++--- .../ViewFeatures/SaveTempDataAttribute.cs | 2 +- .../ViewFeatures/ViewDataInfo.cs | 2 +- .../ContentResultTest.cs | 2 +- .../DefaultAssemblyPartDiscoveryProviderTest.cs | 2 +- .../Internal/ResponseContentTypeHelperTest.cs | 2 +- .../ModelBinding/Internal/ValidationStackTest.cs | 2 +- .../ModelBinding/ModelBinderFactoryTest.cs | 4 ++-- .../Routing/UrlHelperTest.cs | 10 +++++----- .../ContentNegotiationTest.cs | 2 +- .../HtmlGenerationTest.cs | 4 ++-- .../InputObjectValidationTests.cs | 2 +- .../ActionParametersIntegrationTest.cs | 2 +- .../DefaultPageApplicationModelProviderTest.cs | 4 ++-- .../MvcServiceCollectionExtensionsTest.cs | 2 +- .../ControllerUnitTestabilityTests.cs | 2 +- .../Internal/ExpressionHelperTest.cs | 4 ++-- .../Rendering/HtmlHelperFormTest.cs | 2 +- .../TestUtils/TestData.cs | 2 +- test/WebSites/BasicWebSite/_gruntfile.js | 2 +- .../Controllers/ValidationController.cs | 2 +- .../Legacy/EnumParameterOverloadsController.cs | 2 +- .../Legacy/ParameterAttributeController.cs | 2 +- .../ActionSelection/Legacy/TestController.cs | 2 +- 72 files changed, 100 insertions(+), 100 deletions(-) diff --git a/benchmarks/Microsoft.AspNetCore.Mvc.Performance/ActionSelectorBenchmark.cs b/benchmarks/Microsoft.AspNetCore.Mvc.Performance/ActionSelectorBenchmark.cs index 317de9385b..235766e7ae 100644 --- a/benchmarks/Microsoft.AspNetCore.Mvc.Performance/ActionSelectorBenchmark.cs +++ b/benchmarks/Microsoft.AspNetCore.Mvc.Performance/ActionSelectorBenchmark.cs @@ -21,7 +21,7 @@ namespace Microsoft.AspNetCore.Mvc.Performance { private const int Seed = 1000; - // About 35 or so plausable sounding conventional routing actions. + // About 35 or so plausible sounding conventional routing actions. // // We include some duplicates here, because that's what happens when you have one method that handles // GET and one that handles POST. diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionSelectorCandidate.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionSelectorCandidate.cs index 7a72a93c76..c2251cd371 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionSelectorCandidate.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ActionConstraints/ActionSelectorCandidate.cs @@ -31,7 +31,7 @@ namespace Microsoft.AspNetCore.Mvc.ActionConstraints } /// - /// The representing a candiate for selection. + /// The representing a candidate for selection. /// public ActionDescriptor Action { get; } diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterDescriptor.cs index bd0cb771bd..bcdb7eca53 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/FilterDescriptor.cs @@ -18,7 +18,7 @@ namespace Microsoft.AspNetCore.Mvc.Filters /// with a higher value of Scope execute later in the pipeline. See Microsoft.AspNetCore.Mvc.FilterScope /// for commonly used scopes. /// - /// For implementions, the filter runs only after an exception has occurred, + /// For implementations, the filter runs only after an exception has occurred, /// and so the observed order of execution will be opposite that of other filters. /// public class FilterDescriptor diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutedContext.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutedContext.cs index bc8eb9f5c3..6a54d2c410 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutedContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/Filters/ResourceExecutedContext.cs @@ -27,7 +27,7 @@ namespace Microsoft.AspNetCore.Mvc.Filters /// /// Gets or sets a value which indicates whether or not execution was canceled by a resource filter. - /// If true, then a resource filter short-circuted execution by setting + /// If true, then a resource filter short-circuited execution by setting /// . /// public virtual bool Canceled { get; set; } diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/CompositeBindingSource.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/CompositeBindingSource.cs index bd25b6529b..886deb9951 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/CompositeBindingSource.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/CompositeBindingSource.cs @@ -9,7 +9,7 @@ using Microsoft.AspNetCore.Mvc.Abstractions; namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// - /// A which can repesent multiple value-provider data sources. + /// A which can represent multiple value-provider data sources. /// public class CompositeBindingSource : BindingSource { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBindingSourceMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBindingSourceMetadata.cs index 7be323cbe9..4a1ed31275 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBindingSourceMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/IBindingSourceMetadata.cs @@ -4,7 +4,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding { /// - /// Metadata which specificies the data source for model binding. + /// Metadata which specifies the data source for model binding. /// public interface IBindingSourceMetadata { diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataIdentity.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataIdentity.cs index bdc03ca456..a824e171d6 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataIdentity.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/Metadata/ModelMetadataIdentity.cs @@ -66,7 +66,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata } /// - /// Gets the defining the model property respresented by the current + /// Gets the defining the model property represented by the current /// instance, or null if the current instance does not represent a property. /// public Type ContainerType { get; private set; } diff --git a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelMetadata.cs index 13af65ec27..1cc0535c6b 100644 --- a/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Abstractions/ModelBinding/ModelMetadata.cs @@ -419,7 +419,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding /// public override int GetHashCode() { - // Normaly caching the hashcode would be dangerous, but Identity is deeply immutable so this is safe. + // Normally caching the hashcode would be dangerous, but Identity is deeply immutable so this is safe. if (_hashCode == null) { _hashCode = Identity.GetHashCode(); diff --git a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DefaultApiDescriptionProvider.cs b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DefaultApiDescriptionProvider.cs index 8c6e1e5f73..50a1bd04d1 100644 --- a/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DefaultApiDescriptionProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.ApiExplorer/DefaultApiDescriptionProvider.cs @@ -610,7 +610,7 @@ namespace Microsoft.AspNetCore.Mvc.ApiExplorer // For any property which is a leaf node, we don't want to keep traversing: // // 1) Collections - while it's possible to have binder attributes on the inside of a collection, - // it hardly seems useful, and would result in some very wierd binding. + // it hardly seems useful, and would result in some very weird binding. // // 2) Simple Types - These are generally part of the .net framework - primitives, or types which have a // type converter from string. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/AcceptedResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/AcceptedResult.cs index c56730f0c5..30b33a4fc5 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/AcceptedResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/AcceptedResult.cs @@ -40,7 +40,7 @@ namespace Microsoft.AspNetCore.Mvc /// provided. /// /// The location at which the status of requested content can be monitored - /// It is an optional paramater and may be null + /// It is an optional parameter and may be null /// The value to format in the entity body. public AcceptedResult(Uri locationUri, object value) : base(value) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IParameterModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IParameterModelConvention.cs index fd4c48d2b6..3904bdf73a 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IParameterModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/IParameterModelConvention.cs @@ -4,7 +4,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// - /// Allows customization of the of the . + /// Allows customization of the . /// /// /// To use this interface, create an class which implements the interface and diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/PropertyModel.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/PropertyModel.cs index e9c9763ba7..3db6a8cccc 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/PropertyModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationModels/PropertyModel.cs @@ -40,7 +40,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels } /// - /// Creats a new instance of from a given . + /// Creates a new instance of from a given . /// /// The which needs to be copied. public PropertyModel(PropertyModel other) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationParts/AssemblyPart.cs b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationParts/AssemblyPart.cs index f18da3a406..c48c37d6e7 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ApplicationParts/AssemblyPart.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ApplicationParts/AssemblyPart.cs @@ -18,7 +18,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationParts ICompilationReferencesProvider { /// - /// Initalizes a new instance. + /// Initializes a new instance. /// /// public AssemblyPart(Assembly assembly) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/BindAttribute.cs b/src/Microsoft.AspNetCore.Mvc.Core/BindAttribute.cs index c5ee71cdad..fe4f9e7996 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/BindAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/BindAttribute.cs @@ -19,7 +19,7 @@ namespace Microsoft.AspNetCore.Mvc private Func _propertyFilter; /// - /// Creates a new instace of . + /// Creates a new instance of . /// /// Names of parameters to include in binding. public BindAttribute(params string[] include) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs b/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs index 83393547a3..084884cc5e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ControllerBase.cs @@ -1842,7 +1842,7 @@ namespace Microsoft.AspNetCore.Mvc => new ChallengeResult(properties); /// - /// Creates a with the specified specified authentication schemes and + /// Creates a with the specified authentication schemes and /// . /// /// used to perform the authentication @@ -1903,7 +1903,7 @@ namespace Microsoft.AspNetCore.Mvc /// /// Creates a ( by default) with the - /// specified specified authentication schemes and . + /// specified authentication schemes and . /// /// used to perform the authentication /// challenge. @@ -1928,7 +1928,7 @@ namespace Microsoft.AspNetCore.Mvc => new SignInResult(authenticationScheme, principal); /// - /// Creates a with the specified specified authentication scheme and + /// Creates a with the specified authentication scheme and /// . /// /// The containing the user claims. @@ -1952,7 +1952,7 @@ namespace Microsoft.AspNetCore.Mvc => new SignOutResult(authenticationSchemes); /// - /// Creates a with the specified specified authentication schemes and + /// Creates a with the specified authentication schemes and /// . /// /// used to perform the sign-out operation. diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizationApplicationModelProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizationApplicationModelProvider.cs index 6117a959a2..3166c9deb0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizationApplicationModelProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/AuthorizationApplicationModelProvider.cs @@ -64,7 +64,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal public static AuthorizeFilter GetFilter(IAuthorizationPolicyProvider policyProvider, IEnumerable authData) { // The default policy provider will make the same policy for given input, so make it only once. - // This will always execute syncronously. + // This will always execute synchronously. if (policyProvider.GetType() == typeof(DefaultAuthorizationPolicyProvider)) { var policy = AuthorizationPolicy.CombineAsync(policyProvider, authData).GetAwaiter().GetResult(); diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultApplicationModelProvider.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultApplicationModelProvider.cs index 3f98f4b51c..49f0417615 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultApplicationModelProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultApplicationModelProvider.cs @@ -105,7 +105,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal throw new ArgumentNullException(nameof(typeInfo)); } - // For attribute routes on a controller, we want want to support 'overriding' routes on a derived + // For attribute routes on a controller, we want to support 'overriding' routes on a derived // class. So we need to walk up the hierarchy looking for the first class to define routes. // // Then we want to 'filter' the set of attributes, so that only the effective routes apply. @@ -291,7 +291,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal //TODO: modify comment // Now we need to determine the action selection info (cross-section of routes and constraints) // - // For attribute routes on a action, we want want to support 'overriding' routes on a + // For attribute routes on a action, we want to support 'overriding' routes on a // virtual method, but allow 'overriding'. So we need to walk up the hierarchy looking // for the first definition to define routes. // @@ -377,7 +377,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal return false; } - // Overriden methods from Object class, e.g. Equals(Object), GetHashCode(), etc., are not valid. + // Overridden methods from Object class, e.g. Equals(Object), GetHashCode(), etc., are not valid. if (methodInfo.GetBaseDefinition().DeclaringType == typeof(object)) { return false; diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultModelBindingContext.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultModelBindingContext.cs index 4f2ade4eb8..f1b8dedb84 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultModelBindingContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/DefaultModelBindingContext.cs @@ -272,7 +272,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding var scope = EnterNestedScope(); // Only filter if the new BindingSource affects the value providers. Otherwise we want - // to preserve the currrent state. + // to preserve the current state. if (modelMetadata.BindingSource != null && !modelMetadata.BindingSource.IsGreedy) { ValueProvider = FilterValueProvider(OriginalValueProvider, modelMetadata.BindingSource); diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ExplicitIndexCollectionValidationStrategy.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ExplicitIndexCollectionValidationStrategy.cs index 8308dee10e..eb955d6964 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ExplicitIndexCollectionValidationStrategy.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ExplicitIndexCollectionValidationStrategy.cs @@ -10,11 +10,11 @@ using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; namespace Microsoft.AspNetCore.Mvc.Internal { /// - /// An implementation of for a collection bound using 'explict indexing' + /// An implementation of for a collection bound using 'explicit indexing' /// style keys. /// /// - /// This implemenation handles cases like: + /// This implementation handles cases like: /// /// Model: IList<Student> /// Query String: ?students.index=Joey,Katherine&students[Joey].Age=8&students[Katherine].Age=9 diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpTokenParsingRules.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpTokenParsingRules.cs index b562ffba1e..a93f26d916 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpTokenParsingRules.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/HttpTokenParsingRules.cs @@ -152,7 +152,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Internal return HttpParseResult.NotParsed; } - // Quoted-char has 2 characters. Check wheter there are 2 chars left ('\' + char) + // Quoted-char has 2 characters. Check whether there are 2 chars left ('\' + char) // If so, check whether the character is in the range 0-127. If not, it's an invalid value. if ((startIndex + 2 > input.Length) || (input[startIndex + 1] > 127)) { diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MiddlewareFilter.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MiddlewareFilter.cs index 1ecaa98f0f..11ac93d5ab 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MiddlewareFilter.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MiddlewareFilter.cs @@ -32,7 +32,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal // Capture the current context into the feature. This will later be used in the end middleware to continue // the execution flow to later MVC layers. // Example: - // this filter -> user-middleware1 -> user-middleware2 -> the-end-middleware -> resouce filters or model binding + // this filter -> user-middleware1 -> user-middleware2 -> the-end-middleware -> resource filters or model binding var feature = new MiddlewareFilterFeature() { ResourceExecutionDelegate = next, diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MiddlewareFilterBuilder.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MiddlewareFilterBuilder.cs index 04a620620a..d485984628 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/MiddlewareFilterBuilder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/MiddlewareFilterBuilder.cs @@ -58,7 +58,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal // or model binding), add a middleware at the end of the user provided pipeline which make sure to continue // this flow. // Example: - // middleware filter -> user-middleware1 -> user-middleware2 -> end-middleware -> resouce filters or model binding + // middleware filter -> user-middleware1 -> user-middleware2 -> end-middleware -> resource filters or model binding nestedAppBuilder.Run(async (httpContext) => { var feature = httpContext.Features.Get(); diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResourceInvoker.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResourceInvoker.cs index b73754a1ff..83cec5e6bf 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResourceInvoker.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ResourceInvoker.cs @@ -526,7 +526,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal if (exceptionContext.Exception == null || exceptionContext.ExceptionHandled) { - // We don't need to do anthing to trigger a short circuit. If there's another + // We don't need to do anything to trigger a short circuit. If there's another // exception filter on the stack it will check the same set of conditions // and then just skip itself. _logger.ExceptionFilterShortCircuited(filter); @@ -566,7 +566,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal if (exceptionContext.Exception == null || exceptionContext.ExceptionHandled) { - // We don't need to do anthing to trigger a short circuit. If there's another + // We don't need to do anything to trigger a short circuit. If there's another // exception filter on the stack it will check the same set of conditions // and then just skip itself. _logger.ExceptionFilterShortCircuited(filter); diff --git a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ShortFormDictionaryValidationStrategy.cs b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ShortFormDictionaryValidationStrategy.cs index 3c7f74fd95..0da31c0cbe 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/Internal/ShortFormDictionaryValidationStrategy.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/Internal/ShortFormDictionaryValidationStrategy.cs @@ -15,7 +15,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal /// The of the keys of the model dictionary. /// The of the values of the model dictionary. /// - /// This implemenation handles cases like: + /// This implementation handles cases like: /// /// Model: IDictionary<string, Student> /// Query String: ?students[Joey].Age=8&students[Katherine].Age=9 diff --git a/src/Microsoft.AspNetCore.Mvc.Core/LocalRedirectResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/LocalRedirectResult.cs index 165d932c3c..341028ae5e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/LocalRedirectResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/LocalRedirectResult.cs @@ -43,7 +43,7 @@ namespace Microsoft.AspNetCore.Mvc /// /// The local URL to redirect to. /// Specifies whether the redirect should be permanent (301) or temporary (302). - /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the intial request's method. + /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request's method. public LocalRedirectResult(string localUrl, bool permanent, bool preserveMethod) { if (string.IsNullOrEmpty(localUrl)) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadata.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadata.cs index f1fd3fef08..5612a18412 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadata.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/Metadata/DisplayMetadata.cs @@ -42,7 +42,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata public string DisplayFormatString { get; set; } /// - /// Gets or sets a delegate delegate which is used to get a value for the + /// Gets or sets a delegate which is used to get a value for the /// display name of the model. See . /// public Func DisplayName { get; set; } diff --git a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelBinderFactory.cs b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelBinderFactory.cs index f2f74099a6..8388fedafb 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelBinderFactory.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/ModelBinding/ModelBinderFactory.cs @@ -106,7 +106,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding return NoOpBinder.Instance; } - // A non-null token will usually be passed in at the the top level (ParameterDescriptor likely). + // A non-null token will usually be passed in at the top level (ParameterDescriptor likely). // This prevents us from treating a parameter the same as a collection-element - which could // happen looking at just model metadata. var key = new Key(providerContext.Metadata, token); @@ -253,7 +253,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding } // For non-root nodes we use the ModelMetadata as the cache token. This ensures that all non-root - // nodes with the same metadata will have the the same binder. This is OK because for an non-root + // nodes with the same metadata will have the same binder. This is OK because for an non-root // node there's no opportunity to customize binding info like there is for a parameter. var token = metadata; diff --git a/src/Microsoft.AspNetCore.Mvc.Core/RedirectResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/RedirectResult.cs index ed4616a4c2..2074513d50 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/RedirectResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/RedirectResult.cs @@ -48,7 +48,7 @@ namespace Microsoft.AspNetCore.Mvc /// /// The URL to redirect to. /// Specifies whether the redirect should be permanent (301) or temporary (302). - /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the intial request method. + /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. public RedirectResult(string url, bool permanent, bool preserveMethod) { if (url == null) diff --git a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToActionResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToActionResult.cs index d763cc9a48..562184432d 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToActionResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToActionResult.cs @@ -73,7 +73,7 @@ namespace Microsoft.AspNetCore.Mvc /// The name of the controller to use for generating the URL. /// The route data to use for generating the URL. /// If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). - /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the intial request method. + /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. public RedirectToActionResult( string actionName, string controllerName, @@ -111,7 +111,7 @@ namespace Microsoft.AspNetCore.Mvc /// The name of the controller to use for generating the URL. /// The route data to use for generating the URL. /// If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). - /// If set to true, make the temporary redirect (307) and permanent redirect (308) preserve the intial request method. + /// If set to true, make the temporary redirect (307) and permanent redirect (308) preserve the initial request method. /// The fragment to add to the URL. public RedirectToActionResult( string actionName, diff --git a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToPageResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToPageResult.cs index 319166f338..0750e2754e 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToPageResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToPageResult.cs @@ -84,7 +84,7 @@ namespace Microsoft.AspNetCore.Mvc /// The page handler to redirect to. /// The parameters for the page. /// If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). - /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the intial request method. + /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. public RedirectToPageResult( string pageName, string pageHandler, @@ -140,7 +140,7 @@ namespace Microsoft.AspNetCore.Mvc /// The page handler to redirect to. /// The parameters for the page. /// If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). - /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the intial request method. + /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. /// The fragment to add to the URL. public RedirectToPageResult( string pageName, @@ -169,7 +169,7 @@ namespace Microsoft.AspNetCore.Mvc public string PageName { get; set; } /// - /// Gets or sets the the page handler to redirect to. + /// Gets or sets the page handler to redirect to. /// public string PageHandler { get; set; } diff --git a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToRouteResult.cs b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToRouteResult.cs index b68add42d4..e7401bdabf 100644 --- a/src/Microsoft.AspNetCore.Mvc.Core/RedirectToRouteResult.cs +++ b/src/Microsoft.AspNetCore.Mvc.Core/RedirectToRouteResult.cs @@ -61,7 +61,7 @@ namespace Microsoft.AspNetCore.Mvc /// The name of the route. /// The parameters for the route. /// If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). - /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the intial request method. + /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. public RedirectToRouteResult( string routeName, object routeValues, @@ -110,7 +110,7 @@ namespace Microsoft.AspNetCore.Mvc /// The name of the route. /// The parameters for the route. /// If set to true, makes the redirect permanent (301). Otherwise a temporary redirect is used (302). - /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the intial request method. + /// If set to true, make the temporary redirect (307) or permanent redirect (308) preserve the initial request method. /// The fragment to add to the URL. public RedirectToRouteResult( string routeName, diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IAttributeAdapter.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IAttributeAdapter.cs index a1b3213892..57765c869d 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IAttributeAdapter.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/IAttributeAdapter.cs @@ -6,7 +6,7 @@ using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; namespace Microsoft.AspNetCore.Mvc.DataAnnotations { /// - /// Interface so that adapters provide their relevent values to error messages. + /// Interface so that adapters provide their relevant values to error messages. /// public interface IAttributeAdapter : IClientModelValidator { diff --git a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsMetadataProvider.cs b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsMetadataProvider.cs index cefc789cb4..0248cee5c5 100644 --- a/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsMetadataProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.DataAnnotations/Internal/DataAnnotationsMetadataProvider.cs @@ -129,7 +129,7 @@ namespace Microsoft.AspNetCore.Mvc.DataAnnotations.Internal } // DisplayName - // DisplayAttribute has precendence over DisplayNameAttribute. + // DisplayAttribute has precedence over DisplayNameAttribute. if (displayAttribute?.GetName() != null) { if (localizer != null && diff --git a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderContext.cs b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderContext.cs index ccef032233..3164f67b69 100644 --- a/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderContext.cs +++ b/src/Microsoft.AspNetCore.Mvc.Formatters.Xml/WrapperProviderContext.cs @@ -29,7 +29,7 @@ namespace Microsoft.AspNetCore.Mvc.Formatters.Xml /// /// The declared type which could be wrapped/un-wrapped by a different type - /// during serialization or de-serializatoin. + /// during serialization or deserialization. /// public Type DeclaredType { get; } diff --git a/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizer.cs b/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizer.cs index 0129486bcf..f9589a990c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizer.cs +++ b/src/Microsoft.AspNetCore.Mvc.Localization/IHtmlLocalizer.cs @@ -8,7 +8,7 @@ using Microsoft.Extensions.Localization; namespace Microsoft.AspNetCore.Mvc.Localization { /// - /// Represents a type that that does HTML-aware localization of strings, by HTML encoding arguments that are + /// Represents a type that does HTML-aware localization of strings, by HTML encoding arguments that are /// formatted in the resource string. /// public interface IHtmlLocalizer diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompiledViewDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompiledViewDescriptor.cs index c88a512af0..660f38f6de 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompiledViewDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/Compilation/CompiledViewDescriptor.cs @@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.Compilation public string RelativePath { get; set; } /// - /// Gets or sets the decorating the sview. + /// Gets or sets the decorating the view. /// public RazorViewAttribute ViewAttribute { get; set; } diff --git a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs index 60663c83c9..6a7773eae3 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs +++ b/src/Microsoft.AspNetCore.Mvc.Razor/IRazorPage.cs @@ -14,7 +14,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor public interface IRazorPage { /// - /// Gets or sets the view context of the renderign view. + /// Gets or sets the view context of the rendering view. /// ViewContext ViewContext { get; set; } diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/IPageApplicationModelConvention.cs b/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/IPageApplicationModelConvention.cs index deb53ee82d..e1b6d778d5 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/IPageApplicationModelConvention.cs +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/IPageApplicationModelConvention.cs @@ -4,7 +4,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels { /// - /// Allows customization of the of the . + /// Allows customization of the . /// public interface IPageApplicationModelConvention : IPageConvention { diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/PageHandlerModel.cs b/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/PageHandlerModel.cs index baf996f919..6923269c14 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/PageHandlerModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/PageHandlerModel.cs @@ -32,7 +32,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels } /// - /// Creats a new instance of from a given . + /// Creates a new instance of from a given . /// /// The which needs to be copied. public PageHandlerModel(PageHandlerModel other) diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/PagePropertyModel.cs b/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/PagePropertyModel.cs index ac31e8d6bd..f76d7da366 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/PagePropertyModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/ApplicationModels/PagePropertyModel.cs @@ -30,7 +30,7 @@ namespace Microsoft.AspNetCore.Mvc.ApplicationModels } /// - /// Creats a new instance of from a given . + /// Creates a new instance of from a given . /// /// The which needs to be copied. public PagePropertyModel(PagePropertyModel other) diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/DefaultPageApplicationModelProvider.cs b/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/DefaultPageApplicationModelProvider.cs index c2bb7d9a24..a844d59b40 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/DefaultPageApplicationModelProvider.cs +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/Internal/DefaultPageApplicationModelProvider.cs @@ -249,7 +249,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Internal return false; } - // Overriden methods from Object class, e.g. Equals(Object), GetHashCode(), etc., are not valid. + // Overridden methods from Object class, e.g. Equals(Object), GetHashCode(), etc., are not valid. if (methodInfo.GetBaseDefinition().DeclaringType == typeof(object)) { return false; diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/PageBase.cs b/src/Microsoft.AspNetCore.Mvc.RazorPages/PageBase.cs index 060ec8bdea..5c7177183b 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/PageBase.cs +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/PageBase.cs @@ -185,7 +185,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages => new ChallengeResult(properties); /// - /// Creates a with the specified specified authentication schemes and + /// Creates a with the specified authentication schemes and /// . /// /// used to perform the authentication @@ -296,7 +296,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages /// /// Creates a ( by default) with the - /// specified specified authentication schemes and . + /// specified authentication schemes and . /// /// used to perform the authentication /// challenge. @@ -1129,7 +1129,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages => new SignInResult(authenticationScheme, principal); /// - /// Creates a with the specified specified authentication scheme and + /// Creates a with the specified authentication scheme and /// . /// /// The containing the user claims. @@ -1151,7 +1151,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages => new SignOutResult(authenticationSchemes); /// - /// Creates a with the specified specified authentication schemes and + /// Creates a with the specified authentication schemes and /// . /// /// used to perform the sign-out operation. diff --git a/src/Microsoft.AspNetCore.Mvc.RazorPages/PageModel.cs b/src/Microsoft.AspNetCore.Mvc.RazorPages/PageModel.cs index d8083e4393..91ea905afe 100644 --- a/src/Microsoft.AspNetCore.Mvc.RazorPages/PageModel.cs +++ b/src/Microsoft.AspNetCore.Mvc.RazorPages/PageModel.cs @@ -538,7 +538,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages => new ChallengeResult(properties); /// - /// Creates a with the specified specified authentication schemes and + /// Creates a with the specified authentication schemes and /// . /// /// used to perform the authentication @@ -649,7 +649,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages /// /// Creates a ( by default) with the - /// specified specified authentication schemes and . + /// specified authentication schemes and . /// /// used to perform the authentication /// challenge. @@ -1502,7 +1502,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages => new SignInResult(authenticationScheme, principal); /// - /// Creates a with the specified specified authentication scheme and + /// Creates a with the specified authentication scheme and /// . /// /// The containing the user claims. @@ -1524,7 +1524,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages => new SignOutResult(authenticationSchemes); /// - /// Creates a with the specified specified authentication schemes and + /// Creates a with the specified authentication schemes and /// . /// /// used to perform the sign-out operation. diff --git a/src/Microsoft.AspNetCore.Mvc.Testing/MvcWebApplicationBuilder.cs b/src/Microsoft.AspNetCore.Mvc.Testing/MvcWebApplicationBuilder.cs index c5a4d94bdc..e216b4115c 100644 --- a/src/Microsoft.AspNetCore.Mvc.Testing/MvcWebApplicationBuilder.cs +++ b/src/Microsoft.AspNetCore.Mvc.Testing/MvcWebApplicationBuilder.cs @@ -65,7 +65,7 @@ namespace Microsoft.AspNetCore.Mvc.Testing "'true'." + $"For functional tests to work they need to either run from the build output folder or the {Path.GetFileName(depsFile.FullName)} " + $"file from your application's output directory must be copied" + - "to the folder where the tests are running on. A common cause for this error is having shadow copying enabled when the" + + "to the folder where the tests are running on. A common cause for this error is having shadow copying enabled when the " + "tests run."); } diff --git a/src/Microsoft.AspNetCore.Mvc.Testing/WebApplicationTestFixture.cs b/src/Microsoft.AspNetCore.Mvc.Testing/WebApplicationTestFixture.cs index 00ede535b4..a5a0697677 100644 --- a/src/Microsoft.AspNetCore.Mvc.Testing/WebApplicationTestFixture.cs +++ b/src/Microsoft.AspNetCore.Mvc.Testing/WebApplicationTestFixture.cs @@ -67,7 +67,7 @@ namespace Microsoft.AspNetCore.Mvc.Testing /// The startup code defined in will be executed to configure the application. /// /// - /// This constructor will infer the application root directive by searching for a solution file tht matches the pattern + /// This constructor will infer the application root directive by searching for a solution file that matches the pattern /// and then appending the path /// to the solution directory.The application root directory will be used to discover views and content files. /// diff --git a/src/Microsoft.AspNetCore.Mvc.Testing/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Testing.targets b/src/Microsoft.AspNetCore.Mvc.Testing/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Testing.targets index b128ceeb70..3c845461e2 100644 --- a/src/Microsoft.AspNetCore.Mvc.Testing/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Testing.targets +++ b/src/Microsoft.AspNetCore.Mvc.Testing/build/netstandard2.0/Microsoft.AspNetCore.Mvc.Testing.targets @@ -9,7 +9,7 @@ The functional tests act as the host application for all test websites. Since the CLI copies all reference assembly dependencies in websites to their corresponding bin/{config}/refs folder we need to re-calculate reference assemblies for this project so there's a corresponding refs folder in our output. Without it - our websites deps files will fail to find their assembly referenes. + our websites deps files will fail to find their assembly references. --> true diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.cs index fd2e42f0d7..bc3eeacc49 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/TempDataAttribute.cs @@ -8,7 +8,7 @@ namespace Microsoft.AspNetCore.Mvc /// /// Properties decorated with will have their values stored in /// and loaded from the . - /// is supported on properties of Controllers, Razor Pages, and Razor Page Page Models. + /// is supported on properties of Controllers, Razor Pages, and Razor Page Models. /// [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)] public sealed class TempDataAttribute : Attribute diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptor.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptor.cs index 470e796d49..4aa1125757 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptor.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewComponents/ViewComponentDescriptor.cs @@ -56,7 +56,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewComponents /// /// /// The full name is defaulted to the full namespace of the view component class, prepended to - /// the the class name with a '.' character as the separator. If the view component class uses + /// the class name with a '.' character as the separator. If the view component class uses /// ViewComponent as a suffix, the suffix will be omitted from the . /// /// diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IHtmlGenerator.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IHtmlGenerator.cs index e492f9bf5d..f0f59d4ba2 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IHtmlGenerator.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/IHtmlGenerator.cs @@ -29,7 +29,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures /// The name of the controller. /// The protocol (scheme) for the generated link. /// The hostname for the generated link. - /// The fragment for the genrated link. + /// The fragment for the generated link. /// /// An that contains the parameters for a route. The parameters are retrieved through /// reflection by examining the properties of the . This is typically @@ -63,7 +63,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures /// The page handler. /// The protocol (scheme) for the generated link. /// The hostname for the generated link. - /// The fragment for the genrated link. + /// The fragment for the generated link. /// /// An that contains the parameters for a route. The parameters are retrieved through /// reflection by examining the properties of the . This is typically @@ -254,7 +254,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures /// The name of the route to use for link generation. /// The protocol (scheme) for the generated link. /// The hostname for the generated link. - /// The fragment for the genrated link. + /// The fragment for the generated link. /// /// An that contains the parameters for a route. The parameters are retrieved through /// reflection by examining the properties of the . This is typically diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataAttribute.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataAttribute.cs index 3798bcfeee..908afc2fca 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataAttribute.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/SaveTempDataAttribute.cs @@ -17,7 +17,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures public SaveTempDataAttribute() { // Since SaveTempDataFilter registers for a response's OnStarting callback, we want this filter to run - // as early as possible to get the oppurtunity to register the call back before any other result filter + // as early as possible to get the opportunity to register the call back before any other result filter // starts writing to the response stream. Order = int.MinValue + 100; } diff --git a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataInfo.cs b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataInfo.cs index 9ae0d8eb5b..f9ce77ed3b 100644 --- a/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataInfo.cs +++ b/src/Microsoft.AspNetCore.Mvc.ViewFeatures/ViewFeatures/ViewDataInfo.cs @@ -32,7 +32,7 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures /// passing parameter to lazily evaluate the value. /// /// The that will be evaluated from. - /// The that will be used to evalute . + /// The that will be used to evaluate . public ViewDataInfo(object container, PropertyInfo propertyInfo) : this(container, propertyInfo, _propertyInfoResolver) { diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ContentResultTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ContentResultTest.cs index fc3b2fdaea..376e5bc8f2 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ContentResultTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ContentResultTest.cs @@ -261,7 +261,7 @@ namespace Microsoft.AspNetCore.Mvc private static IServiceCollection CreateServices(params ViewComponentDescriptor[] descriptors) { // An array pool could return a buffer which is greater or equal to the size of the default character - // chunk size. Since the tests here depend on a specifc character buffer size to test boundary conditions, + // chunk size. Since the tests here depend on a specific character buffer size to test boundary conditions, // make sure to only return a buffer of that size. var charArrayPool = new Mock>(); charArrayPool diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultAssemblyPartDiscoveryProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultAssemblyPartDiscoveryProviderTest.cs index 768d39b51a..83dc08faa9 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultAssemblyPartDiscoveryProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/DefaultAssemblyPartDiscoveryProviderTest.cs @@ -227,7 +227,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal } // This test verifies DefaultAssemblyPartDiscoveryProvider.ReferenceAssemblies reflects the actual loadable assemblies - // of the libraries that Microsoft.AspNetCore.Mvc dependes on. + // of the libraries that Microsoft.AspNetCore.Mvc depends on. // If we add or remove dependencies, this test should be changed together. [Fact] public void ReferenceAssemblies_ReturnsLoadableReferenceAssemblies() diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseContentTypeHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseContentTypeHelperTest.cs index 117fda1257..9e1e31edec 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseContentTypeHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Internal/ResponseContentTypeHelperTest.cs @@ -81,7 +81,7 @@ namespace Microsoft.AspNetCore.Mvc.Internal "text/bar; p1=p1-value; charset=us-ascii" }, - // Content type set on action result takes precedence over the conten type set on http response + // Content type set on action result takes precedence over the content type set on http response { MediaTypeHeaderValue.Parse("text/foo; charset=us-ascii"), "text/bar", diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Internal/ValidationStackTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Internal/ValidationStackTest.cs index f4698abd52..b68337cea8 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Internal/ValidationStackTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/Internal/ValidationStackTest.cs @@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding.Internal PreLoad(preloadCount, validationStack); // Act & Assert - // Poping null when it's not there must not throw + // Popping null when it's not there must not throw validationStack.Pop(null); } diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBinderFactoryTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBinderFactoryTest.cs index 8b95b45a52..66a2f49175 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBinderFactoryTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/ModelBinding/ModelBinderFactoryTest.cs @@ -530,8 +530,8 @@ namespace Microsoft.AspNetCore.Mvc.ModelBinding Assert.Equal(1, widgetIdProvider.SuccessCount); } - // This is a really wierd case, but I wanted to make sure it's covered so it doesn't - // blow up in wierd ways. + // This is a really weird case, but I wanted to make sure it's covered so it doesn't + // blow up in weird ways. // // If a binder provider tries to recursively create itself, but then returns null, we've // already returned and possibly cached the PlaceholderBinder instance, we want to make sure that diff --git a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs index 563cfd2410..80bda3ff04 100644 --- a/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Core.Test/Routing/UrlHelperTest.cs @@ -791,7 +791,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing [Fact] public void Action_RouteValueInvalidation_AffectsOtherRouteValues() { - // Arrage + // Arrange var services = CreateServices(); var routeBuilder = CreateRouteBuilder(services); @@ -835,7 +835,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing [Fact] public void Action_RouteValueInvalidation_DoesNotAffectActionAndController_ActionPassedInRouteValues() { - // Arrage + // Arrange var services = CreateServices(); var routeBuilder = CreateRouteBuilder(services); @@ -898,7 +898,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing string virtualPath, string expected) { - // Arrage + // Arrange var router = Mock.Of(); var pathData = new VirtualPathData(router, virtualPath) { @@ -921,7 +921,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing string virtualPath, string expected) { - // Arrage + // Arrange var fragmentValue = "fragment-value"; expected += $"#{fragmentValue}"; var router = Mock.Of(); @@ -954,7 +954,7 @@ namespace Microsoft.AspNetCore.Mvc.Routing string fragment, string expected) { - // Arrage + // Arrange var router = Mock.Of(); var pathData = new VirtualPathData(router, virtualPath) { diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ContentNegotiationTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ContentNegotiationTest.cs index 198a19a1de..9116b47831 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ContentNegotiationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/ContentNegotiationTest.cs @@ -273,7 +273,7 @@ END:VCARD [Fact] public async Task ProducesAttribute_OnDerivedAction_OverridesTheValueOnBaseAction() { - // Arange + // Arrange var expectedContentType = MediaTypeHeaderValue.Parse( "application/custom_NoProducesContentOnClassController_Action;charset=utf-8"); var expectedBody = "NoProducesContentOnClassController"; diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs index d2d6a1349d..ce022e8956 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/HtmlGenerationTest.cs @@ -523,7 +523,7 @@ Products: Music Systems, Televisions (3)"; Assert.Equal(expected, response, ignoreLineEndingDifferences: true); } - // We want to make sure that for 'wierd' model expressions involving: + // We want to make sure that for 'weird' model expressions involving: // - fields // - statics // - private @@ -531,7 +531,7 @@ Products: Music Systems, Televisions (3)"; // These tests verify that we don't throw, and can evaluate the expression to get the model // value. One quirk of behavior for these cases is that we can't return a correct model metadata // instance (this is true for anything other than a public instance property). We're not overly - // concerned with that, and so the accuracy of the model metadata is is not verified by the test. + // concerned with that, and so the accuracy of the model metadata is not verified by the test. [Theory] [InlineData("GetWeirdWithHtmlHelpers")] [InlineData("GetWeirdWithTagHelpers")] diff --git a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputObjectValidationTests.cs b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputObjectValidationTests.cs index 42e99ec106..1562a189aa 100644 --- a/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputObjectValidationTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.FunctionalTests/InputObjectValidationTests.cs @@ -68,7 +68,7 @@ namespace Microsoft.AspNetCore.Mvc.FunctionalTests // Assert Assert.Equal(HttpStatusCode.OK, response.StatusCode); - Assert.Equal("User has been registerd : " + sampleName, + Assert.Equal("User has been registered : " + sampleName, await response.Content.ReadAsStringAsync()); } diff --git a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ActionParametersIntegrationTest.cs b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ActionParametersIntegrationTest.cs index ebbac1867d..41a09a475a 100644 --- a/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ActionParametersIntegrationTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.IntegrationTests/ActionParametersIntegrationTest.cs @@ -597,7 +597,7 @@ namespace Microsoft.AspNetCore.Mvc.IntegrationTests } // By default the ComplexTypeModelBinder fails to construct models for types with no parameterless constructor, - // but a developer could change this behavior by overridng CreateModel + // but a developer could change this behavior by overriding CreateModel private class CustomComplexTypeModelBinder : ComplexTypeModelBinder { public CustomComplexTypeModelBinder(IDictionary propertyBinders) diff --git a/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Internal/DefaultPageApplicationModelProviderTest.cs b/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Internal/DefaultPageApplicationModelProviderTest.cs index fca35d2c75..c01a36c1f7 100644 --- a/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Internal/DefaultPageApplicationModelProviderTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.RazorPages.Test/Internal/DefaultPageApplicationModelProviderTest.cs @@ -332,7 +332,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Internal }); } - // We want to test the the 'empty' page has no bound properties, and no handler methods. + // We want to test the 'empty' page has no bound properties, and no handler methods. [Fact] public void OnProvidersExecuting_EmptyPage() { @@ -353,7 +353,7 @@ namespace Microsoft.AspNetCore.Mvc.RazorPages.Internal Assert.Same(typeof(EmptyPage).GetTypeInfo(), pageModel.PageType); } - // We want to test the the 'empty' page and pagemodel has no bound properties, and no handler methods. + // We want to test the 'empty' page and pagemodel has no bound properties, and no handler methods. [Fact] public void OnProvidersExecuting_EmptyPageModel() { diff --git a/test/Microsoft.AspNetCore.Mvc.Test/MvcServiceCollectionExtensionsTest.cs b/test/Microsoft.AspNetCore.Mvc.Test/MvcServiceCollectionExtensionsTest.cs index 62a53ce733..58164f6c8f 100644 --- a/test/Microsoft.AspNetCore.Mvc.Test/MvcServiceCollectionExtensionsTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.Test/MvcServiceCollectionExtensionsTest.cs @@ -57,7 +57,7 @@ namespace Microsoft.AspNetCore.Mvc var services = new ServiceCollection(); services.AddSingleton(GetHostingEnvironment()); - // Register a mock implementation of each service, AddMvcServices should add another implemenetation. + // Register a mock implementation of each service, AddMvcServices should add another implementation. foreach (var serviceType in MutliRegistrationServiceTypes) { var mockType = typeof(Mock<>).MakeGenericType(serviceType.Key); diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerUnitTestabilityTests.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerUnitTestabilityTests.cs index a7db806384..34e560c7c2 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerUnitTestabilityTests.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/ControllerUnitTestabilityTests.cs @@ -15,7 +15,7 @@ using Xunit; namespace Microsoft.AspNetCore.Mvc { - // Tests Controler for the unit testability with which users can simply instantiate contollers for unit tests + // Tests Controller for the unit testability with which users can simply instantiate controllers for unit tests public class ControllerUnitTestabilityTests { [Theory] diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/ExpressionHelperTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/ExpressionHelperTest.cs index 86d7d047f9..b6df9b1bdd 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/ExpressionHelperTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Internal/ExpressionHelperTest.cs @@ -129,12 +129,12 @@ namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Internal }, // Constants are not supported. { - // Namespace never appears in expresison name. "Model" there doesn't matter. + // Namespace never appears in expression name. "Model" there doesn't matter. (Expression>)(m => Microsoft.AspNetCore.Mvc.ViewFeatures.Model.Constants.WoodstockYear), string.Empty }, { - // Class name never appears in expresion name. "Model" there doesn't matter. + // Class name never appears in expression name. "Model" there doesn't matter. (Expression>)(m => Model.Constants.WoodstockYear), string.Empty }, diff --git a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormTest.cs b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormTest.cs index 974001f48f..ceebb8f712 100644 --- a/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormTest.cs +++ b/test/Microsoft.AspNetCore.Mvc.ViewFeatures.Test/Rendering/HtmlHelperFormTest.cs @@ -589,7 +589,7 @@ namespace Microsoft.AspNetCore.Mvc.Rendering // Act & Assert using (var form = htmlHelper.BeginForm(FormMethod.Post, antiforgery: false, htmlAttributes: null)) { - // This call will ouput a token. + // This call will output a token. Assert.Equal("antiforgery", Assert.IsType(htmlHelper.AntiForgeryToken()).TagName); } diff --git a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/TestUtils/TestData.cs b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/TestUtils/TestData.cs index b798a5e8bf..3f19268c09 100644 --- a/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/TestUtils/TestData.cs +++ b/test/Microsoft.AspNetCore.Mvc.WebApiCompatShimTest/TestUtils/TestData.cs @@ -273,7 +273,7 @@ namespace Microsoft.TestCommon /// The test data variation with which to create the related . /// The related for the as given by the test data variation. /// - /// For example, if the given was created for test data and the varation parameter + /// For example, if the given was created for test data and the variation parameter /// was then the returned type would be . /// public Type GetAsTypeOrNull(TestDataVariations variation) diff --git a/test/WebSites/BasicWebSite/_gruntfile.js b/test/WebSites/BasicWebSite/_gruntfile.js index d0ae191963..22b35580a7 100644 --- a/test/WebSites/BasicWebSite/_gruntfile.js +++ b/test/WebSites/BasicWebSite/_gruntfile.js @@ -15,6 +15,6 @@ module.exports = function (grunt) { grunt.registerTask("default", ["bower:install"]); // The following line loads the grunt plugins. - // This line needs to be at the end of this this file. + // This line needs to be at the end of this file. grunt.loadNpmTasks("grunt-bower-task"); }; \ No newline at end of file diff --git a/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs b/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs index 527c57d9dc..efc2441c22 100644 --- a/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs +++ b/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs @@ -19,7 +19,7 @@ namespace FormatterWebSite ModelState["Designation"].Errors[0].ErrorMessage); } - return Content("User has been registerd : " + user.Name); + return Content("User has been registered : " + user.Name); } [HttpPost] diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/EnumParameterOverloadsController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/EnumParameterOverloadsController.cs index a87dde4788..563304e06f 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/EnumParameterOverloadsController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/EnumParameterOverloadsController.cs @@ -7,7 +7,7 @@ using System.Web.Http; namespace WebApiCompatShimWebSite { - // This was ported from the WebAPI 5.2 codebase. Kept the same intentionally for compatability. + // This was ported from the WebAPI 5.2 codebase. Kept the same intentionally for compatibility. [ActionSelectionFilter] public class EnumParameterOverloadsController : ApiController { diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs index 3259990f3d..c920ac4274 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/ParameterAttributeController.cs @@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc; namespace WebApiCompatShimWebSite { - // This was ported from the WebAPI 5.2 codebase. Kept the same intentionally for compatability. + // This was ported from the WebAPI 5.2 codebase. Kept the same intentionally for compatibility. [ActionSelectionFilter] public class ParameterAttributeController : ApiController { diff --git a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs index 622c099125..26a43386aa 100644 --- a/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs +++ b/test/WebSites/WebApiCompatShimWebSite/Controllers/ActionSelection/Legacy/TestController.cs @@ -7,7 +7,7 @@ using Microsoft.AspNetCore.Mvc; namespace WebApiCompatShimWebSite { - // This was ported from the WebAPI 5.2 codebase. Kept the same intentionally for compatability. + // This was ported from the WebAPI 5.2 codebase. Kept the same intentionally for compatibility. [ActionSelectionFilter] public class TestController : ApiController {