diff --git a/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptor.cs b/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptor.cs index 35c43127cf88..c821f5d726c6 100644 --- a/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptor.cs +++ b/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptorExtensions.cs b/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptorExtensions.cs index e683080af63c..8176c9dbbd4a 100644 --- a/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptorExtensions.cs +++ b/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptorExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptorProviderContext.cs b/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptorProviderContext.cs index a87e51fc664b..8d6f06c0220c 100644 --- a/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptorProviderContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionDescriptorProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionInvokerProviderContext.cs b/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionInvokerProviderContext.cs index ccb5af263c2c..f2a15e8415f1 100644 --- a/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionInvokerProviderContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Abstractions/ActionInvokerProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionDescriptorProvider.cs b/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionDescriptorProvider.cs index b5bcdaba4f05..874548d80ed6 100644 --- a/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionDescriptorProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionDescriptorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Abstractions { diff --git a/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionInvoker.cs b/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionInvoker.cs index ed3650cc2302..fff09234cce0 100644 --- a/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionInvoker.cs +++ b/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionInvoker.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionInvokerProvider.cs b/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionInvokerProvider.cs index c324d7b3301f..c09b7445ded9 100644 --- a/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionInvokerProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/Abstractions/IActionInvokerProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Abstractions { diff --git a/src/Mvc/Mvc.Abstractions/src/Abstractions/ParameterDescriptor.cs b/src/Mvc/Mvc.Abstractions/src/Abstractions/ParameterDescriptor.cs index b0ff42d4ac50..a92f01491623 100644 --- a/src/Mvc/Mvc.Abstractions/src/Abstractions/ParameterDescriptor.cs +++ b/src/Mvc/Mvc.Abstractions/src/Abstractions/ParameterDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintContext.cs b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintContext.cs index c475f0a634d2..dfcb9df2bd94 100644 --- a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintItem.cs b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintItem.cs index 81cfd595af2e..409170838f70 100644 --- a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintItem.cs +++ b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintProviderContext.cs b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintProviderContext.cs index 7d23cd50f554..bbf90c3f20c1 100644 --- a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintProviderContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionConstraintProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionSelectorCandidate.cs b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionSelectorCandidate.cs index 47f2c4727e70..c42f5683dea7 100644 --- a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionSelectorCandidate.cs +++ b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/ActionSelectorCandidate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraint.cs b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraint.cs index bd59ab6c506a..39785a5b44f0 100644 --- a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraint.cs +++ b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraint.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ActionConstraints { diff --git a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintFactory.cs b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintFactory.cs index 9c0f5972288d..5245af2314e6 100644 --- a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintFactory.cs +++ b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintMetadata.cs b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintMetadata.cs index cbfd0970c088..8c4eccbf4ff6 100644 --- a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintMetadata.cs +++ b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ActionConstraints { diff --git a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintProvider.cs b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintProvider.cs index 262a296d1c37..ed281a9248dd 100644 --- a/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ActionConstraints/IActionConstraintProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ActionConstraints { diff --git a/src/Mvc/Mvc.Abstractions/src/ActionContext.cs b/src/Mvc/Mvc.Abstractions/src/ActionContext.cs index 000e55558c6f..5eb299ef3654 100644 --- a/src/Mvc/Mvc.Abstractions/src/ActionContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ActionContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiDescription.cs b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiDescription.cs index f20437ce0d7e..af37ee79e67d 100644 --- a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiDescription.cs +++ b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiDescription.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiDescriptionProviderContext.cs b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiDescriptionProviderContext.cs index aa9d199089c2..30c271fc6602 100644 --- a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiDescriptionProviderContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiDescriptionProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiParameterDescription.cs b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiParameterDescription.cs index 7b6d8f548a23..e888181acf89 100644 --- a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiParameterDescription.cs +++ b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiParameterDescription.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiParameterRouteInfo.cs b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiParameterRouteInfo.cs index fbb79452d4ba..db2ca6428314 100644 --- a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiParameterRouteInfo.cs +++ b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiParameterRouteInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiRequestFormat.cs b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiRequestFormat.cs index 3e063da212ff..545a10a6e5db 100644 --- a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiRequestFormat.cs +++ b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiRequestFormat.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Formatters; diff --git a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiResponseFormat.cs b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiResponseFormat.cs index 9830ef279ac2..5b4e4976bb03 100644 --- a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiResponseFormat.cs +++ b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiResponseFormat.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Formatters; diff --git a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiResponseType.cs b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiResponseType.cs index 1029ec343738..4b2a1530b495 100644 --- a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiResponseType.cs +++ b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/ApiResponseType.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/IApiDescriptionProvider.cs b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/IApiDescriptionProvider.cs index a95c84ee3f14..03bd5c326a03 100644 --- a/src/Mvc/Mvc.Abstractions/src/ApiExplorer/IApiDescriptionProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ApiExplorer/IApiDescriptionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.Abstractions/src/Authorization/IAllowAnonymousFilter.cs b/src/Mvc/Mvc.Abstractions/src/Authorization/IAllowAnonymousFilter.cs index a015f05967a6..c3018f9150f7 100644 --- a/src/Mvc/Mvc.Abstractions/src/Authorization/IAllowAnonymousFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Authorization/IAllowAnonymousFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutedContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutedContext.cs index 5e8fd95b23c3..bdf7088b0b9d 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutedContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutedContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutingContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutingContext.cs index 79f77c211b0b..b4f85db01a10 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutingContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutingContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutionDelegate.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutionDelegate.cs index 0ee53b4493f4..3ad1d17ad59b 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutionDelegate.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ActionExecutionDelegate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/AuthorizationFilterContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/AuthorizationFilterContext.cs index 0854a422d2b6..c6ecdf0b0eac 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/AuthorizationFilterContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/AuthorizationFilterContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ExceptionContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ExceptionContext.cs index d151134b8aca..04599e2386a8 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ExceptionContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ExceptionContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/FilterContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/FilterContext.cs index 97e0a294b65b..d1a2e18a8d8f 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/FilterContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/FilterContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/FilterDescriptor.cs b/src/Mvc/Mvc.Abstractions/src/Filters/FilterDescriptor.cs index a84ea301332b..bcb04b2bf244 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/FilterDescriptor.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/FilterDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/FilterItem.cs b/src/Mvc/Mvc.Abstractions/src/Filters/FilterItem.cs index f7a2e6a63d1d..b6a744de36fa 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/FilterItem.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/FilterItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/FilterProviderContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/FilterProviderContext.cs index 057654eaa493..6a7ca602e597 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/FilterProviderContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/FilterProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IActionFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IActionFilter.cs index cb37ded4c792..51bf11c8b1ef 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IActionFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IActionFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IAlwaysRunResultFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IAlwaysRunResultFilter.cs index e119fd8d9304..2cfcfd680b5e 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IAlwaysRunResultFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IAlwaysRunResultFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncActionFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncActionFilter.cs index 3342e2b1ffd5..a394ac7dc4ca 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncActionFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncActionFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncAlwaysRunResultFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncAlwaysRunResultFilter.cs index f3c0c94dd8a2..e90ba32a6f34 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncAlwaysRunResultFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncAlwaysRunResultFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncAuthorizationFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncAuthorizationFilter.cs index dd1a797e13ff..a83e12f65084 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncAuthorizationFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncAuthorizationFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncExceptionFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncExceptionFilter.cs index ce3343b4633c..61175cc9f836 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncExceptionFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncExceptionFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncResourceFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncResourceFilter.cs index 6b4eb7ba9ed4..f3b725a4d1ad 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncResourceFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncResourceFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncResultFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncResultFilter.cs index d6583cbc6004..8f769fd17d20 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncResultFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IAsyncResultFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IAuthorizationFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IAuthorizationFilter.cs index 3dbc4159a0ae..143a1c238123 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IAuthorizationFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IAuthorizationFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IExceptionFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IExceptionFilter.cs index 5908c2aac9ae..8ac9fad7dd43 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IExceptionFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IExceptionFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IFilterContainer.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IFilterContainer.cs index 26199e6dcffd..00de1e59127e 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IFilterContainer.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IFilterContainer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IFilterFactory.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IFilterFactory.cs index e0e844a79068..168968e19ef1 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IFilterFactory.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IFilterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IFilterMetadata.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IFilterMetadata.cs index 458bfdc35c5a..b72cde3e7c6c 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IFilterMetadata.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IFilterMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IFilterProvider.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IFilterProvider.cs index 46f121b4e84f..4f6389a2527a 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IFilterProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IFilterProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IOrderedFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IOrderedFilter.cs index 36876091ce6f..8cc65815df17 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IOrderedFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IOrderedFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IResourceFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IResourceFilter.cs index 410a03c939f0..77d6cdc9518e 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IResourceFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IResourceFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/IResultFilter.cs b/src/Mvc/Mvc.Abstractions/src/Filters/IResultFilter.cs index bb0ba46bbb1e..18880b5c57ec 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/IResultFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/IResultFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutedContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutedContext.cs index 8dfe78bba685..6133ebc0ecbb 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutedContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutedContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutingContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutingContext.cs index 37985fc1af57..6b50298541c6 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutingContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutingContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutionDelegate.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutionDelegate.cs index ef3531d208d4..417f1a6d7e51 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutionDelegate.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ResourceExecutionDelegate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutedContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutedContext.cs index 01eae1d8cf06..ecb203520887 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutedContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutedContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutingContext.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutingContext.cs index cd4e8775ac18..f403e1d4e75f 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutingContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutingContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutionDelegate.cs b/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutionDelegate.cs index d0ecea691414..49e740e2e479 100644 --- a/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutionDelegate.cs +++ b/src/Mvc/Mvc.Abstractions/src/Filters/ResultExecutionDelegate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/FormatterCollection.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/FormatterCollection.cs index ad16757da44b..995b42c40691 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/FormatterCollection.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/FormatterCollection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/IInputFormatter.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/IInputFormatter.cs index c56633d16aff..f192ea366dd8 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/IInputFormatter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/IInputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/IInputFormatterExceptionPolicy.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/IInputFormatterExceptionPolicy.cs index c2032c0e054a..23ba6f1af817 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/IInputFormatterExceptionPolicy.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/IInputFormatterExceptionPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Formatters { diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/IOutputFormatter.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/IOutputFormatter.cs index a266cf2df78e..d770d3526de1 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/IOutputFormatter.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/IOutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterContext.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterContext.cs index 001a24dd99b7..2f194ac8441f 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterException.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterException.cs index 7fc5cfefa34a..d73e6ef6cdc1 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterException.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterException.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterExceptionPolicy.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterExceptionPolicy.cs index d705fb70c0b0..5f1e136f99f9 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterExceptionPolicy.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterExceptionPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterResult.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterResult.cs index b071226cc50d..66119d37c944 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterResult.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/InputFormatterResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/OutputFormatterCanWriteContext.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/OutputFormatterCanWriteContext.cs index daf10315f02f..db00d6ddd4bc 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/OutputFormatterCanWriteContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/OutputFormatterCanWriteContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Abstractions/src/Formatters/OutputFormatterWriteContext.cs b/src/Mvc/Mvc.Abstractions/src/Formatters/OutputFormatterWriteContext.cs index c475b439eb7c..8d6ba4c6b84a 100644 --- a/src/Mvc/Mvc.Abstractions/src/Formatters/OutputFormatterWriteContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Formatters/OutputFormatterWriteContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Abstractions/src/IActionResult.cs b/src/Mvc/Mvc.Abstractions/src/IActionResult.cs index 8cfbee8a9c0e..7a3c9cb9f807 100644 --- a/src/Mvc/Mvc.Abstractions/src/IActionResult.cs +++ b/src/Mvc/Mvc.Abstractions/src/IActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/IUrlHelper.cs b/src/Mvc/Mvc.Abstractions/src/IUrlHelper.cs index c60e817a2a18..7f986dc3c67f 100644 --- a/src/Mvc/Mvc.Abstractions/src/IUrlHelper.cs +++ b/src/Mvc/Mvc.Abstractions/src/IUrlHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/BindingInfo.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/BindingInfo.cs index b7379ae4e0be..3788a8e69329 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/BindingInfo.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/BindingInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/BindingSource.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/BindingSource.cs index ea06036844ff..5df87c9207b9 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/BindingSource.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/BindingSource.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/CompositeBindingSource.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/CompositeBindingSource.cs index 99044400b522..e307ef8e2158 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/CompositeBindingSource.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/CompositeBindingSource.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/EmptyBodyBehavior.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/EmptyBodyBehavior.cs index 56f19baeabbb..1fca574ce300 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/EmptyBodyBehavior.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/EmptyBodyBehavior.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/EnumGroupAndName.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/EnumGroupAndName.cs index d4a141ed00ae..a1507b81a7fa 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/EnumGroupAndName.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/EnumGroupAndName.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IAllowEmptyInputInBodyModelBinding.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IAllowEmptyInputInBodyModelBinding.cs index 3184da3e5bc9..4417f7f52f8c 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IAllowEmptyInputInBodyModelBinding.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IAllowEmptyInputInBodyModelBinding.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IBinderTypeProviderMetadata.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IBinderTypeProviderMetadata.cs index 8c3db06e2667..13923c6c8f23 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IBinderTypeProviderMetadata.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IBinderTypeProviderMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IBindingSourceMetadata.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IBindingSourceMetadata.cs index 8639ce826e86..cbb17d1f5bd0 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IBindingSourceMetadata.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IBindingSourceMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelBinder.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelBinder.cs index d102fa71889c..7c7ae6861bfe 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelBinder.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelBinderProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelBinderProvider.cs index a2807b3598f4..1983d0c3f456 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelBinderProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelMetadataProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelMetadataProvider.cs index 45d2bfbab722..4f7657383fce 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelMetadataProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelNameProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelNameProvider.cs index 704772c36a3a..c3afd1e9bb16 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelNameProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IModelNameProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IPropertyFilterProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IPropertyFilterProvider.cs index 0c364c5cc266..edce2e62e0fd 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IPropertyFilterProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IPropertyFilterProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IRequestPredicateProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IRequestPredicateProvider.cs index ab72771f2251..fbd93359e37f 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IRequestPredicateProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IRequestPredicateProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProvider.cs index 55d1f63af9d9..588a4da0bb9c 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProviderFactory.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProviderFactory.cs index 39b2948fe716..1f224e9c4508 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProviderFactory.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/IValueProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelBindingMessageProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelBindingMessageProvider.cs index fa9f3a4ff7ca..9a7263fd640c 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelBindingMessageProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelBindingMessageProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelMetadataIdentity.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelMetadataIdentity.cs index 14395c5fc4fc..5ec65b49f7cc 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelMetadataIdentity.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelMetadataIdentity.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelMetadataKind.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelMetadataKind.cs index b964992d1afe..638795afd86c 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelMetadataKind.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Metadata/ModelMetadataKind.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBinderProviderContext.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBinderProviderContext.cs index c35c8c4814fa..121fd789e585 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBinderProviderContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBinderProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBindingContext.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBindingContext.cs index 18a4d48ee85c..bb3995559beb 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBindingContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBindingContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBindingResult.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBindingResult.cs index b29736cd5705..0feb01dafe71 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBindingResult.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelBindingResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelError.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelError.cs index d30796e08118..8d6ea62f9839 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelError.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelError.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelErrorCollection.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelErrorCollection.cs index 6b5b7d52d566..e9ef517c3cc3 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelErrorCollection.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelErrorCollection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.ObjectModel; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelMetadata.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelMetadata.cs index 1b2cf13493c0..4f1613522898 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelMetadata.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelMetadataProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelMetadataProvider.cs index 7e22b3cbb69e..5716f8afdfc4 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelMetadataProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelPropertyCollection.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelPropertyCollection.cs index 797e1b951493..bbae0dda0c4a 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelPropertyCollection.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelPropertyCollection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelStateDictionary.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelStateDictionary.cs index 6987e10200b3..e72d6443c4e1 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelStateDictionary.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelStateDictionary.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelStateEntry.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelStateEntry.cs index d56ef3dd811a..ac4c1e311e79 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelStateEntry.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelStateEntry.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelValidationState.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelValidationState.cs index 6d24c2bb403b..c2a44a5f9cb3 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelValidationState.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ModelValidationState.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/TooManyModelErrorsException.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/TooManyModelErrorsException.cs index 58f3cdbe42ac..f71fa5974eed 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/TooManyModelErrorsException.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/TooManyModelErrorsException.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientModelValidationContext.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientModelValidationContext.cs index 7d04881119ae..c82ab536d51c 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientModelValidationContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientModelValidationContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientValidatorItem.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientValidatorItem.cs index fbafff212d6c..21893557d830 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientValidatorItem.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientValidatorItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientValidatorProviderContext.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientValidatorProviderContext.cs index 84b02119b382..682f7f2e050a 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientValidatorProviderContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ClientValidatorProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IClientModelValidator.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IClientModelValidator.cs index 05f6939ee8fd..9cd58164d265 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IClientModelValidator.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IClientModelValidator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IClientModelValidatorProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IClientModelValidatorProvider.cs index adf01cf8f850..aeffbdd79662 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IClientModelValidatorProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IClientModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IModelValidator.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IModelValidator.cs index f2f0ae34ef82..58094fb3c9d1 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IModelValidator.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IModelValidator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IModelValidatorProvider.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IModelValidatorProvider.cs index 9ed1704ca9fc..d0be8b129add 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IModelValidatorProvider.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IPropertyValidationFilter.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IPropertyValidationFilter.cs index 622b41f70cc9..dd38df2c7437 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IPropertyValidationFilter.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IPropertyValidationFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IValidationStrategy.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IValidationStrategy.cs index 441995723000..f4953e6f0e5f 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IValidationStrategy.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/IValidationStrategy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationContext.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationContext.cs index 4e4de3644dcc..f1f1a9986431 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationContextBase.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationContextBase.cs index ea341ef62ed2..ca7a30bb6169 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationContextBase.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationContextBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationResult.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationResult.cs index eff3051ae197..ee5fe311a5b2 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationResult.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidationResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidatorProviderContext.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidatorProviderContext.cs index 8076c82da4e9..dd9e501d33a5 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidatorProviderContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ModelValidatorProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationEntry.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationEntry.cs index d42b82a60645..e6bee3c375d5 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationEntry.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationEntry.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationStateDictionary.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationStateDictionary.cs index 08a48a4b583e..a392173fe245 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationStateDictionary.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationStateDictionary.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationStateEntry.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationStateEntry.cs index ee9433428382..d2d1afe5fe53 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationStateEntry.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidationStateEntry.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidatorItem.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidatorItem.cs index 4bf3ecd92bba..2eb82536e3c3 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidatorItem.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/Validation/ValidatorItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Validation { diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderException.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderException.cs index 7607c7272229..e02f12b508d7 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderException.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderException.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderFactoryContext.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderFactoryContext.cs index cf48d9072df3..4049fe7b60af 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderFactoryContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderFactoryContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderResult.cs b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderResult.cs index 53253bcdd460..90d4d6cf20b0 100644 --- a/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderResult.cs +++ b/src/Mvc/Mvc.Abstractions/src/ModelBinding/ValueProviderResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Abstractions/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Abstractions/src/Properties/AssemblyInfo.cs index ae3b2c662bd5..306d340464c8 100644 --- a/src/Mvc/Mvc.Abstractions/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Abstractions/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Abstractions/src/Routing/AttributeRouteInfo.cs b/src/Mvc/Mvc.Abstractions/src/Routing/AttributeRouteInfo.cs index 279d41503371..73516716b39f 100644 --- a/src/Mvc/Mvc.Abstractions/src/Routing/AttributeRouteInfo.cs +++ b/src/Mvc/Mvc.Abstractions/src/Routing/AttributeRouteInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/Mvc.Abstractions/src/Routing/UrlActionContext.cs b/src/Mvc/Mvc.Abstractions/src/Routing/UrlActionContext.cs index 09853000d0e6..a9ebba875af9 100644 --- a/src/Mvc/Mvc.Abstractions/src/Routing/UrlActionContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Routing/UrlActionContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Routing { diff --git a/src/Mvc/Mvc.Abstractions/src/Routing/UrlRouteContext.cs b/src/Mvc/Mvc.Abstractions/src/Routing/UrlRouteContext.cs index d713e6921249..de1da240b996 100644 --- a/src/Mvc/Mvc.Abstractions/src/Routing/UrlRouteContext.cs +++ b/src/Mvc/Mvc.Abstractions/src/Routing/UrlRouteContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Routing { diff --git a/src/Mvc/Mvc.Abstractions/test/Filters/FilterContextTest.cs b/src/Mvc/Mvc.Abstractions/test/Filters/FilterContextTest.cs index 0902e7f17938..807319358578 100644 --- a/src/Mvc/Mvc.Abstractions/test/Filters/FilterContextTest.cs +++ b/src/Mvc/Mvc.Abstractions/test/Filters/FilterContextTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Abstractions/test/ModelBinding/BindingInfoTest.cs b/src/Mvc/Mvc.Abstractions/test/ModelBinding/BindingInfoTest.cs index 8d0d0c39dd75..e9d99c906440 100644 --- a/src/Mvc/Mvc.Abstractions/test/ModelBinding/BindingInfoTest.cs +++ b/src/Mvc/Mvc.Abstractions/test/ModelBinding/BindingInfoTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; diff --git a/src/Mvc/Mvc.Abstractions/test/ModelBinding/ModelMetadataTest.cs b/src/Mvc/Mvc.Abstractions/test/ModelBinding/ModelMetadataTest.cs index f9e24ea41546..e0c133a10a45 100644 --- a/src/Mvc/Mvc.Abstractions/test/ModelBinding/ModelMetadataTest.cs +++ b/src/Mvc/Mvc.Abstractions/test/ModelBinding/ModelMetadataTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Abstractions/test/ModelBinding/ModelStateDictionaryTest.cs b/src/Mvc/Mvc.Abstractions/test/ModelBinding/ModelStateDictionaryTest.cs index d5f13654f519..229457d71006 100644 --- a/src/Mvc/Mvc.Abstractions/test/ModelBinding/ModelStateDictionaryTest.cs +++ b/src/Mvc/Mvc.Abstractions/test/ModelBinding/ModelStateDictionaryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Formatters; diff --git a/src/Mvc/Mvc.Abstractions/test/ModelBinding/ValueProviderResultTest.cs b/src/Mvc/Mvc.Abstractions/test/ModelBinding/ValueProviderResultTest.cs index dd639bc564e3..761463539c65 100644 --- a/src/Mvc/Mvc.Abstractions/test/ModelBinding/ValueProviderResultTest.cs +++ b/src/Mvc/Mvc.Abstractions/test/ModelBinding/ValueProviderResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Primitives; using Xunit; diff --git a/src/Mvc/Mvc.Abstractions/test/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Abstractions/test/Properties/AssemblyInfo.cs index 3337ebeac24b..fb33a59c5309 100644 --- a/src/Mvc/Mvc.Abstractions/test/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Abstractions/test/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Analyzers/src/AttributesShouldNotBeAppliedToPageModelAnalyzer.cs b/src/Mvc/Mvc.Analyzers/src/AttributesShouldNotBeAppliedToPageModelAnalyzer.cs index ee91bde64e8a..2f02d36ed19d 100644 --- a/src/Mvc/Mvc.Analyzers/src/AttributesShouldNotBeAppliedToPageModelAnalyzer.cs +++ b/src/Mvc/Mvc.Analyzers/src/AttributesShouldNotBeAppliedToPageModelAnalyzer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Analyzers/src/AvoidHtmlPartialAnalyzer.cs b/src/Mvc/Mvc.Analyzers/src/AvoidHtmlPartialAnalyzer.cs index c4ba61910d5a..7d1bcb9600ab 100644 --- a/src/Mvc/Mvc.Analyzers/src/AvoidHtmlPartialAnalyzer.cs +++ b/src/Mvc/Mvc.Analyzers/src/AvoidHtmlPartialAnalyzer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Analyzers/src/CodeAnalysisExtensions.cs b/src/Mvc/Mvc.Analyzers/src/CodeAnalysisExtensions.cs index 186083aca179..d85e59292cd4 100644 --- a/src/Mvc/Mvc.Analyzers/src/CodeAnalysisExtensions.cs +++ b/src/Mvc/Mvc.Analyzers/src/CodeAnalysisExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/src/DiagnosticDescriptors.cs b/src/Mvc/Mvc.Analyzers/src/DiagnosticDescriptors.cs index 8c374422f8c9..213c30826278 100644 --- a/src/Mvc/Mvc.Analyzers/src/DiagnosticDescriptors.cs +++ b/src/Mvc/Mvc.Analyzers/src/DiagnosticDescriptors.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Analyzers/src/MvcFacts.cs b/src/Mvc/Mvc.Analyzers/src/MvcFacts.cs index e97439897fe3..0681bb9fbcc5 100644 --- a/src/Mvc/Mvc.Analyzers/src/MvcFacts.cs +++ b/src/Mvc/Mvc.Analyzers/src/MvcFacts.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Analyzers/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Analyzers/src/Properties/AssemblyInfo.cs index 9b669e0fb2fb..e44a582441c0 100644 --- a/src/Mvc/Mvc.Analyzers/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Analyzers/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Analyzers/src/SymbolNames.cs b/src/Mvc/Mvc.Analyzers/src/SymbolNames.cs index 7b08c9082f55..2742342dc931 100644 --- a/src/Mvc/Mvc.Analyzers/src/SymbolNames.cs +++ b/src/Mvc/Mvc.Analyzers/src/SymbolNames.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Analyzers { diff --git a/src/Mvc/Mvc.Analyzers/src/TagHelpersInCodeBlocksAnalyzer.cs b/src/Mvc/Mvc.Analyzers/src/TagHelpersInCodeBlocksAnalyzer.cs index e14350ec1bd1..cafba43ae734 100644 --- a/src/Mvc/Mvc.Analyzers/src/TagHelpersInCodeBlocksAnalyzer.cs +++ b/src/Mvc/Mvc.Analyzers/src/TagHelpersInCodeBlocksAnalyzer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Collections.Immutable; diff --git a/src/Mvc/Mvc.Analyzers/src/TopLevelParameterNameAnalyzer.cs b/src/Mvc/Mvc.Analyzers/src/TopLevelParameterNameAnalyzer.cs index 9de0b3dd17de..f87f54d52438 100644 --- a/src/Mvc/Mvc.Analyzers/src/TopLevelParameterNameAnalyzer.cs +++ b/src/Mvc/Mvc.Analyzers/src/TopLevelParameterNameAnalyzer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Analyzers/src/ViewFeatureAnalyzerBase.cs b/src/Mvc/Mvc.Analyzers/src/ViewFeatureAnalyzerBase.cs index 45df7c7ffb10..62ec1f370c6e 100644 --- a/src/Mvc/Mvc.Analyzers/src/ViewFeatureAnalyzerBase.cs +++ b/src/Mvc/Mvc.Analyzers/src/ViewFeatureAnalyzerBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Analyzers/src/ViewFeaturesAnalyzerContext.cs b/src/Mvc/Mvc.Analyzers/src/ViewFeaturesAnalyzerContext.cs index 221d077c638a..e262afdb17f7 100644 --- a/src/Mvc/Mvc.Analyzers/src/ViewFeaturesAnalyzerContext.cs +++ b/src/Mvc/Mvc.Analyzers/src/ViewFeaturesAnalyzerContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Diagnostics; diff --git a/src/Mvc/Mvc.Analyzers/test/AttributesShouldNotBeAppliedToPageModelAnalyzerTest.cs b/src/Mvc/Mvc.Analyzers/test/AttributesShouldNotBeAppliedToPageModelAnalyzerTest.cs index 2c271ff9323e..8e0cf5396bf9 100644 --- a/src/Mvc/Mvc.Analyzers/test/AttributesShouldNotBeAppliedToPageModelAnalyzerTest.cs +++ b/src/Mvc/Mvc.Analyzers/test/AttributesShouldNotBeAppliedToPageModelAnalyzerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Analyzers/test/AvoidHtmlPartialAnalyzerTest.cs b/src/Mvc/Mvc.Analyzers/test/AvoidHtmlPartialAnalyzerTest.cs index cac606e97cde..5b08c87927b2 100644 --- a/src/Mvc/Mvc.Analyzers/test/AvoidHtmlPartialAnalyzerTest.cs +++ b/src/Mvc/Mvc.Analyzers/test/AvoidHtmlPartialAnalyzerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Analyzers/test/CodeAnalysisExtensionsTest.cs b/src/Mvc/Mvc.Analyzers/test/CodeAnalysisExtensionsTest.cs index 129ed81059fa..f682243201c2 100644 --- a/src/Mvc/Mvc.Analyzers/test/CodeAnalysisExtensionsTest.cs +++ b/src/Mvc/Mvc.Analyzers/test/CodeAnalysisExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcDiagnosticAnalyzerRunner.cs b/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcDiagnosticAnalyzerRunner.cs index 2b4b8dca9a9c..1a058f1cdaea 100644 --- a/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcDiagnosticAnalyzerRunner.cs +++ b/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcDiagnosticAnalyzerRunner.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Immutable; diff --git a/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcTestSource.cs b/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcTestSource.cs index ab9cd6cfdc5d..550669d2fe56 100644 --- a/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcTestSource.cs +++ b/src/Mvc/Mvc.Analyzers/test/Infrastructure/MvcTestSource.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Analyzers/test/TagHelpersInCodeBlocksAnalyzerTest.cs b/src/Mvc/Mvc.Analyzers/test/TagHelpersInCodeBlocksAnalyzerTest.cs index c5d545cf1dc2..daf60c7aa95a 100644 --- a/src/Mvc/Mvc.Analyzers/test/TagHelpersInCodeBlocksAnalyzerTest.cs +++ b/src/Mvc/Mvc.Analyzers/test/TagHelpersInCodeBlocksAnalyzerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAllowAnonymousIsAppliedToPageHandlerMethod.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAllowAnonymousIsAppliedToPageHandlerMethod.cs index c070495950db..0e1811a87c46 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAllowAnonymousIsAppliedToPageHandlerMethod.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAllowAnonymousIsAppliedToPageHandlerMethod.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAttributeIsAppliedToBaseType.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAttributeIsAppliedToBaseType.cs index 9ca5e1e25102..f2494382c1bd 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAttributeIsAppliedToBaseType.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAttributeIsAppliedToBaseType.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAuthorizeAttributeIsAppliedToPageHandlerMethod.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAuthorizeAttributeIsAppliedToPageHandlerMethod.cs index 7bbfe32c0742..9f8352a50ff9 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAuthorizeAttributeIsAppliedToPageHandlerMethod.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfAuthorizeAttributeIsAppliedToPageHandlerMethod.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethod.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethod.cs index d91567c8cc63..016e7bd68365 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethod.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethod.cs @@ -1,4 +1,7 @@ -using System.Runtime.CompilerServices; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethodDerivingFromCustomModel.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethodDerivingFromCustomModel.cs index 946d5e42beab..6b63fd2f9928 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethodDerivingFromCustomModel.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethodDerivingFromCustomModel.cs @@ -1,4 +1,7 @@ -using System.Runtime.CompilerServices; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethodForTypeWithPageModelAttribute.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethodForTypeWithPageModelAttribute.cs index 1a07dfe84a06..2ec2de2aa36b 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethodForTypeWithPageModelAttribute.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfFiltersAreAppliedToPageHandlerMethodForTypeWithPageModelAttribute.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfRouteAttribute_IsAppliedToPageModel.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfRouteAttribute_IsAppliedToPageModel.cs index 3d865c3269ef..7a7fbf18bc58 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfRouteAttribute_IsAppliedToPageModel.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfRouteAttribute_IsAppliedToPageModel.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfRouteAttributesAreAppliedToPageHandlerMethod.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfRouteAttributesAreAppliedToPageHandlerMethod.cs index 889272bc2c51..221d416a0c5a 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfRouteAttributesAreAppliedToPageHandlerMethod.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/DiagnosticsAreReturned_IfRouteAttributesAreAppliedToPageHandlerMethod.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForControllerActions.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForControllerActions.cs index c187cc2ff324..887d88260812 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForControllerActions.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForControllerActions.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Authorization; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForControllerBaseActions.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForControllerBaseActions.cs index ce077e6b9fe0..cdaa5e67e364 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForControllerBaseActions.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForControllerBaseActions.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Authorization; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForNonHandlerMethodsWithAttributes.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForNonHandlerMethodsWithAttributes.cs index b3aa481c2d2b..596525677180 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForNonHandlerMethodsWithAttributes.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForNonHandlerMethodsWithAttributes.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForPageHandlersWithNonFilterAttributes.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForPageHandlersWithNonFilterAttributes.cs index 3e593db2d428..0b1b096534bc 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForPageHandlersWithNonFilterAttributes.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_ForPageHandlersWithNonFilterAttributes.cs @@ -1,4 +1,7 @@ -using System.Runtime.CompilerServices; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfAllowAnonymousIsAppliedToPageModel.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfAllowAnonymousIsAppliedToPageModel.cs index c298c43ff28d..c58f8defcecd 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfAllowAnonymousIsAppliedToPageModel.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfAllowAnonymousIsAppliedToPageModel.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfAuthorizeAttributeIsAppliedToPageModel.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfAuthorizeAttributeIsAppliedToPageModel.cs index 47c778eb9ed2..1e4b41022d34 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfAuthorizeAttributeIsAppliedToPageModel.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfAuthorizeAttributeIsAppliedToPageModel.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfFiltersAreAppliedToPageModel.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfFiltersAreAppliedToPageModel.cs index 5d0198174c52..fa6b55faaaac 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfFiltersAreAppliedToPageModel.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AttributesShouldNotBeAppliedToPageModelAnalyzerTest/NoDiagnosticsAreReturned_IfFiltersAreAppliedToPageModel.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Authorization; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Analyzers.Test diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial.cs index 7b00e3249f04..9d4f04be6156 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial.cs @@ -1,4 +1,7 @@ -namespace AspNetCore +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace AspNetCore { using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial_InSections.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial_InSections.cs index 6daed38d2f99..9dee0ff00722 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial_InSections.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial_InSections.cs @@ -1,4 +1,7 @@ -namespace AspNetCore +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace AspNetCore { using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial_WithAdditionalParameters.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial_WithAdditionalParameters.cs index 3d26ae36f955..6b6bc5301dd8 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial_WithAdditionalParameters.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfHtmlPartial_WithAdditionalParameters.cs @@ -1,4 +1,7 @@ -namespace AspNetCore +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace AspNetCore { using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial.cs index 827b3d938ead..c2b63356a5ff 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial.cs @@ -1,4 +1,7 @@ -namespace AspNetCore +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace AspNetCore { using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial_InSections.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial_InSections.cs index 39c1c4bcbc7d..d9a003aca83d 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial_InSections.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial_InSections.cs @@ -1,4 +1,7 @@ -namespace AspNetCore +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace AspNetCore { using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial_WithAdditionalParameters.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial_WithAdditionalParameters.cs index cbff6f75ee27..d598d4a68fef 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial_WithAdditionalParameters.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/DiagnosticsAreReturned_ForUseOfRenderPartial_WithAdditionalParameters.cs @@ -1,4 +1,7 @@ -namespace AspNetCore +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace AspNetCore { using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForNonUseOfHtmlPartial.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForNonUseOfHtmlPartial.cs index b41217ac9003..e148e727ff05 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForNonUseOfHtmlPartial.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForNonUseOfHtmlPartial.cs @@ -1,4 +1,7 @@ -namespace AspNetCore +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace AspNetCore { using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForUseOfHtmlPartialAsync.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForUseOfHtmlPartialAsync.cs index 72e9baf096dd..efa83588383a 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForUseOfHtmlPartialAsync.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForUseOfHtmlPartialAsync.cs @@ -1,4 +1,7 @@ -namespace AspNetCore +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace AspNetCore { using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForUseOfRenderPartialAsync.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForUseOfRenderPartialAsync.cs index e1edee2686ec..e364547030d7 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForUseOfRenderPartialAsync.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/AvoidHtmlPartialAnalyzerTest/NoDiagnosticsAreReturned_ForUseOfRenderPartialAsync.cs @@ -1,4 +1,7 @@ -namespace AspNetCore +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace AspNetCore { using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_BaseTypeWithAttributes.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_BaseTypeWithAttributes.cs index 8e0ee1e5dc00..494a48694b6b 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_BaseTypeWithAttributes.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_BaseTypeWithAttributes.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { [ApiConventionType(typeof(object))] [ApiController] diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnMethodWithoutAttributes.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnMethodWithoutAttributes.cs index 9b28469109fe..434d8a660d8a 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnMethodWithoutAttributes.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnMethodWithoutAttributes.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { public class GetAttributes_OnMethodWithoutAttributesClass { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnTypeWithAttributes.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnTypeWithAttributes.cs index a402f5cea959..f56b8bedca3b 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnTypeWithAttributes.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnTypeWithAttributes.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { [ApiConventionType(typeof(object))] [ApiController] diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnTypeWithoutAttributes.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnTypeWithoutAttributes.cs index e4aea556747b..71e55c2414f7 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnTypeWithoutAttributes.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_OnTypeWithoutAttributes.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Analyzers { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithMethodOverridding.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithMethodOverridding.cs index 43b2710d581e..13cf4dd85407 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithMethodOverridding.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithMethodOverridding.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { public class GetAttributes_WithInheritFalse_ReturnsAllAttributesOnCurrentActionBase { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithNewMethod.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithNewMethod.cs index 3455cc21dd1d..e0193b4c45d2 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithNewMethod.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithNewMethod.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { public class GetAttributes_WithNewMethodBase { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithoutMethodOverriding.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithoutMethodOverriding.cs index 79c2be699b31..af439f92cef7 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithoutMethodOverriding.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/GetAttributes_WithoutMethodOverriding.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { public class GetAttributes_WithoutMethodOverriding { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsFalseIfSymbolDoesNotHaveAttribute.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsFalseIfSymbolDoesNotHaveAttribute.cs index db5c15882f54..f7c7c5ef6599 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsFalseIfSymbolDoesNotHaveAttribute.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsFalseIfSymbolDoesNotHaveAttribute.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Analyzers { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnMethods.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnMethods.cs index 4dd452410e9f..bedac7ec1896 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnMethods.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnMethods.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Analyzers { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnOverriddenMethods.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnOverriddenMethods.cs index 64ef7b87b957..a5ca5372b128 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnOverriddenMethods.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnOverriddenMethods.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Analyzers { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnOverridenProperties.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnOverridenProperties.cs index 872f35fbfbfc..49295a9440a4 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnOverridenProperties.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnOverridenProperties.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Analyzers { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnProperties.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnProperties.cs index 7b36527ddba2..37d712ee62ab 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnProperties.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForAttributesOnProperties.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Analyzers { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForInterfaceContractOnAttribute.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForInterfaceContractOnAttribute.cs index 25a966df8ee8..80cb18e4c086 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForInterfaceContractOnAttribute.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueForInterfaceContractOnAttribute.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Analyzers { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueIfBaseTypeHasAttribute.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueIfBaseTypeHasAttribute.cs index 39851099c26c..38ba63b53d83 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueIfBaseTypeHasAttribute.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueIfBaseTypeHasAttribute.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { [Controller] public class HasAttribute_ReturnsTrueIfBaseTypeHasAttributeBase { } diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueIfTypeHasAttribute.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueIfTypeHasAttribute.cs index 31c6cf70cca5..8fd170a0fa1c 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueIfTypeHasAttribute.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/HasAttribute_ReturnsTrueIfTypeHasAttribute.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { [Controller] public class HasAttribute_ReturnsTrueIfTypeHasAttribute { } diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsFalseForDifferentTypes.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsFalseForDifferentTypes.cs index ceef09cde4e4..5e52aed1a23b 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsFalseForDifferentTypes.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsFalseForDifferentTypes.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { public class IsAssignable_ReturnsFalseForDifferentTypesA { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfAncestorTypeImplementsInterface.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfAncestorTypeImplementsInterface.cs index 60d8aecb48b1..10ccf906f565 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfAncestorTypeImplementsInterface.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfAncestorTypeImplementsInterface.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { public interface IsAssignable_ReturnsTrueIfAncestorTypeImplementsInterface { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypeImplementsInterface.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypeImplementsInterface.cs index a60d9fa56d96..4f75bde28c13 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypeImplementsInterface.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypeImplementsInterface.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { public interface IsAssignable_ReturnsTrueIfTypeImplementsInterface { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypeIsBaseClass.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypeIsBaseClass.cs index 8ed1087a7986..8d9530414d6c 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypeIsBaseClass.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypeIsBaseClass.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { public class IsAssignable_ReturnsTrueIfTypeIsBaseClassBase { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypesAreExact.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypesAreExact.cs index e47fa67dcced..ed6263971573 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypesAreExact.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/CodeAnalysisExtensionsTest/IsAssignable_ReturnsTrueIfTypesAreExact.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers { public class IsAssignable_ReturnsTrueIfTypesAreExact { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_ForControllerActionsWithParametersThatMatchProperties.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_ForControllerActionsWithParametersThatMatchProperties.cs index 85642db52a4a..604eb0409bb8 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_ForControllerActionsWithParametersThatMatchProperties.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_ForControllerActionsWithParametersThatMatchProperties.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class DiagnosticsAreReturned_ForControllerActionsWithParametersThatMatchProperties : Controller { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_ForModelBoundParameters.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_ForModelBoundParameters.cs index be2bc2d7f0cd..ad89537262d2 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_ForModelBoundParameters.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_ForModelBoundParameters.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class DiagnosticsAreReturned_ForModelBoundParameters : Controller { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_IfModelNameProviderIsUsedToModifyParameterName.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_IfModelNameProviderIsUsedToModifyParameterName.cs index ed15be578a0b..63820744e8f5 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_IfModelNameProviderIsUsedToModifyParameterName.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/DiagnosticsAreReturned_IfModelNameProviderIsUsedToModifyParameterName.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class DiagnosticsAreReturned_IfModelNameProviderIsUsedToModifyParameterName : Controller { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/GetNameTests.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/GetNameTests.cs index 2810ab1f49a8..891d24a3fe8f 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/GetNameTests.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/GetNameTests.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class GetNameTests { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresFields.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresFields.cs index e0136bc5f3af..99782cd78515 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresFields.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresFields.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_IgnoresFields { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresMethods.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresMethods.cs index b5f79812d60c..8b60e04e90b3 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresMethods.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresMethods.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_IgnoresMethods { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresNonPublicProperties.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresNonPublicProperties.cs index fbfb437f5458..7001e5e33a4f 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresNonPublicProperties.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresNonPublicProperties.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_IgnoresNonPublicProperties { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresStaticProperties.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresStaticProperties.cs index 065fca633fe5..41eda3986c28 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresStaticProperties.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_IgnoresStaticProperties.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_IgnoresStaticProperties { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForFromBodyParameter.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForFromBodyParameter.cs index f1b001129133..7771909289f3 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForFromBodyParameter.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForFromBodyParameter.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_ReturnsFalse_ForFromBodyParameter { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForParametersWithCustomModelBinder.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForParametersWithCustomModelBinder.cs index 38732f710218..e6f68b95db4b 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForParametersWithCustomModelBinder.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForParametersWithCustomModelBinder.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForSimpleTypes.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForSimpleTypes.cs index 50aded8121a2..b0dceb2c39f5 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForSimpleTypes.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_ForSimpleTypes.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameParameter.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameParameter.cs index 20c2a39c3d00..f4da0a04840e 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameParameter.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameParameter.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameParameter { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameProperty.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameProperty.cs index 902465213fd9..0d409eeb3fd8 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameProperty.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameProperty.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_ReturnsFalse_IfBindingSourceAttributeIsUsedToRenameProperty { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfModelBinderAttributeIsUsedToRenameParameter.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfModelBinderAttributeIsUsedToRenameParameter.cs index 0c28fb11321a..c4e687e4790e 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfModelBinderAttributeIsUsedToRenameParameter.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfModelBinderAttributeIsUsedToRenameParameter.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_ReturnsTrue_IfModelBinderAttributeIsUsedToRenameParameter { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfParameterNameIsTheSameAsModelProperty.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfParameterNameIsTheSameAsModelProperty.cs index adfcf507d034..ead1f4c0995b 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfParameterNameIsTheSameAsModelProperty.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfParameterNameIsTheSameAsModelProperty.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_ReturnsTrue_IfParameterNameIsTheSameAsModelProperty { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfParameterNameWithBinderAttributeIsTheSameNameAsModelProperty.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfParameterNameWithBinderAttributeIsTheSameNameAsModelProperty.cs index 2b96ecc57969..bc07d0bf2513 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfParameterNameWithBinderAttributeIsTheSameNameAsModelProperty.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfParameterNameWithBinderAttributeIsTheSameNameAsModelProperty.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class IsProblematicParameter_ReturnsTrue_IfParameterNameWithBinderAttributeIsTheSameNameAsModelProperty { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfPropertyWithModelBindingAttributeHasSameNameAsParameter.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfPropertyWithModelBindingAttributeHasSameNameAsParameter.cs index 5f2f1c5ecd96..8cae94f64dcf 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfPropertyWithModelBindingAttributeHasSameNameAsParameter.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/IsProblematicParameter_ReturnsTrue_IfPropertyWithModelBindingAttributeHasSameNameAsParameter.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedForApiControllers.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedForApiControllers.cs index 3be2d2a07a31..d36742fc457b 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedForApiControllers.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedForApiControllers.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { [ApiController] public class NoDiagnosticsAreReturnedForApiControllers : Controller diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedForNonActions.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedForNonActions.cs index d6e7edce315b..5712c85b3151 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedForNonActions.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedForNonActions.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class NoDiagnosticsAreReturnedForNonActions : Controller { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedIfParameterIsRenamedUsingBindingAttribute.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedIfParameterIsRenamedUsingBindingAttribute.cs index e870af370439..02eea577e520 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedIfParameterIsRenamedUsingBindingAttribute.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/NoDiagnosticsAreReturnedIfParameterIsRenamedUsingBindingAttribute.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { public class NoDiagnosticsAreReturnedIfParameterIsRenamedUsingBindingAttribute : Controller { diff --git a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/SpecifiesModelTypeTests.cs b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/SpecifiesModelTypeTests.cs index 95b2107935c6..fb9bd5bd3d15 100644 --- a/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/SpecifiesModelTypeTests.cs +++ b/src/Mvc/Mvc.Analyzers/test/TestFiles/TopLevelParameterNameAnalyzerTest/SpecifiesModelTypeTests.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; namespace Microsoft.AspNetCore.Mvc.Analyzers.TopLevelParameterNameAnalyzerTestFiles { diff --git a/src/Mvc/Mvc.Analyzers/test/TopLevelParameterNameAnalyzerTest.cs b/src/Mvc/Mvc.Analyzers/test/TopLevelParameterNameAnalyzerTest.cs index 2f82d63b1f06..1c1c25a0a01a 100644 --- a/src/Mvc/Mvc.Analyzers/test/TopLevelParameterNameAnalyzerTest.cs +++ b/src/Mvc/Mvc.Analyzers/test/TopLevelParameterNameAnalyzerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using System.Linq; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/ActualApiResponseMetadata.cs b/src/Mvc/Mvc.Api.Analyzers/src/ActualApiResponseMetadata.cs index 2fdc277a0819..71ef5ef1e17e 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/ActualApiResponseMetadata.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/ActualApiResponseMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/ActualApiResponseMetadataFactory.cs b/src/Mvc/Mvc.Api.Analyzers/src/ActualApiResponseMetadataFactory.cs index 4dc4f9635ebf..96d7e0ffe0bc 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/ActualApiResponseMetadataFactory.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/ActualApiResponseMetadataFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/AddResponseTypeAttributeCodeFixAction.cs b/src/Mvc/Mvc.Api.Analyzers/src/AddResponseTypeAttributeCodeFixAction.cs index 7dcac2f5ad1b..4c1aaa3771a9 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/AddResponseTypeAttributeCodeFixAction.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/AddResponseTypeAttributeCodeFixAction.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/AddResponseTypeAttributeCodeFixProvider.cs b/src/Mvc/Mvc.Api.Analyzers/src/AddResponseTypeAttributeCodeFixProvider.cs index bd9734e0b2ad..5b70b8885bb2 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/AddResponseTypeAttributeCodeFixProvider.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/AddResponseTypeAttributeCodeFixProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; using System.Composition; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs b/src/Mvc/Mvc.Api.Analyzers/src/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs index b1f52a8c78c0..f5aa92290ea8 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/ApiActionsDoNotRequireExplicitModelValidationCodeFixProvider.cs b/src/Mvc/Mvc.Api.Analyzers/src/ApiActionsDoNotRequireExplicitModelValidationCodeFixProvider.cs index b50935275afe..39aef47ac4da 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/ApiActionsDoNotRequireExplicitModelValidationCodeFixProvider.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/ApiActionsDoNotRequireExplicitModelValidationCodeFixProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Immutable; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/ApiControllerFacts.cs b/src/Mvc/Mvc.Api.Analyzers/src/ApiControllerFacts.cs index d010d588943b..aaf8cd927170 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/ApiControllerFacts.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/ApiControllerFacts.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Analyzers; using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/ApiControllerSymbolCache.cs b/src/Mvc/Mvc.Api.Analyzers/src/ApiControllerSymbolCache.cs index 2a418028895f..39631f116116 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/ApiControllerSymbolCache.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/ApiControllerSymbolCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/ApiConventionAnalyzer.cs b/src/Mvc/Mvc.Api.Analyzers/src/ApiConventionAnalyzer.cs index 5890981a1060..0f5a1deef221 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/ApiConventionAnalyzer.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/ApiConventionAnalyzer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Collections.Immutable; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/ApiDiagnosticDescriptors.cs b/src/Mvc/Mvc.Api.Analyzers/src/ApiDiagnosticDescriptors.cs index da4184604c18..8ba624a13efc 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/ApiDiagnosticDescriptors.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/ApiDiagnosticDescriptors.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/ApiSymbolNames.cs b/src/Mvc/Mvc.Api.Analyzers/src/ApiSymbolNames.cs index 1beb0aa41e1a..fdd305351eb8 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/ApiSymbolNames.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/ApiSymbolNames.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/src/DeclaredApiResponseMetadata.cs b/src/Mvc/Mvc.Api.Analyzers/src/DeclaredApiResponseMetadata.cs index c8f2a9c48f1f..8cea6b7292c8 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/DeclaredApiResponseMetadata.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/DeclaredApiResponseMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.CodeAnalysis; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Api.Analyzers/src/Properties/AssemblyInfo.cs index 1ed7ae5ed295..ad0ecfad0d39 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/SymbolApiConventionMatcher.cs b/src/Mvc/Mvc.Api.Analyzers/src/SymbolApiConventionMatcher.cs index 3d3a73721a9d..894fdbb7bf3a 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/SymbolApiConventionMatcher.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/SymbolApiConventionMatcher.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Api.Analyzers/src/SymbolApiResponseMetadataProvider.cs b/src/Mvc/Mvc.Api.Analyzers/src/SymbolApiResponseMetadataProvider.cs index e8c85489e780..87979e9092db 100644 --- a/src/Mvc/Mvc.Api.Analyzers/src/SymbolApiResponseMetadataProvider.cs +++ b/src/Mvc/Mvc.Api.Analyzers/src/SymbolApiResponseMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/ActualApiResponseMetadataFactoryTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/ActualApiResponseMetadataFactoryTest.cs index cca12582dd9c..e878095b05f4 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/ActualApiResponseMetadataFactoryTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/ActualApiResponseMetadataFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/AddResponseTypeAttributeCodeFixProviderIntegrationTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/AddResponseTypeAttributeCodeFixProviderIntegrationTest.cs index 10a77b8b42a2..facd454c3679 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/AddResponseTypeAttributeCodeFixProviderIntegrationTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/AddResponseTypeAttributeCodeFixProviderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest.cs index 9b3e54601469..f724999d6734 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest.cs index b8b096d9c947..e16c3268c5d3 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/ApiControllerFactsTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/ApiControllerFactsTest.cs index 6c2f5a81d17e..b0555415af8a 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/ApiControllerFactsTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/ApiControllerFactsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/ApiConventionAnalyzerIntegrationTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/ApiConventionAnalyzerIntegrationTest.cs index ea640f424a9f..017fc98e3d83 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/ApiConventionAnalyzerIntegrationTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/ApiConventionAnalyzerIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/DeclaredApiResponseMetadataTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/DeclaredApiResponseMetadataTest.cs index eee4a862f3e9..6474e8dc31eb 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/DeclaredApiResponseMetadataTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/DeclaredApiResponseMetadataTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Collections.Immutable; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/IgnoreCS1701WarningCodeFixRunner.cs b/src/Mvc/Mvc.Api.Analyzers/test/IgnoreCS1701WarningCodeFixRunner.cs index e46b39f1458b..c9fb62f1ee3c 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/IgnoreCS1701WarningCodeFixRunner.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/IgnoreCS1701WarningCodeFixRunner.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Analyzer.Testing; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/Infrastructure/MvcTestSource.cs b/src/Mvc/Mvc.Api.Analyzers/test/Infrastructure/MvcTestSource.cs index ab9cd6cfdc5d..550669d2fe56 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/Infrastructure/MvcTestSource.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/Infrastructure/MvcTestSource.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/MvcFactsTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/MvcFactsTest.cs index 4498d009f174..68f01531e6c9 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/MvcFactsTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/MvcFactsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiConventionMatcherTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiConventionMatcherTest.cs index 011485292c1c..7a83a3fafaa7 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiConventionMatcherTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiConventionMatcherTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiResponseMetadataProviderTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiResponseMetadataProviderTest.cs index daf18e83f179..aafced4c46d1 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiResponseMetadataProviderTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/SymbolApiResponseMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/GetDefaultStatusCodeTest.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/GetDefaultStatusCodeTest.cs index 8fb75a9e4935..63197e456be0 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/GetDefaultStatusCodeTest.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/GetDefaultStatusCodeTest.cs @@ -1,4 +1,7 @@ -using System.Net; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Net; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/InspectReturnExpressionTests.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/InspectReturnExpressionTests.cs index c7e12719f4e7..612c2bc2b164 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/InspectReturnExpressionTests.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/InspectReturnExpressionTests.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.InspectReturnExpressionTests { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/TryGetActualResponseMetadataTests.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/TryGetActualResponseMetadataTests.cs index 389b605adbd5..a7f042f3bb49 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/TryGetActualResponseMetadataTests.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ActualApiResponseMetadataFactoryTest/TryGetActualResponseMetadataTests.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Collections.Generic; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ActualApiResponseMetadataFactoryTest diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsFullyQualifiedProducesResponseType.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsFullyQualifiedProducesResponseType.Input.cs index e1b19d61a74b..5c53eaba459f 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsFullyQualifiedProducesResponseType.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsFullyQualifiedProducesResponseType.Input.cs @@ -1,4 +1,6 @@ - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + [assembly: Microsoft.AspNetCore.Mvc.ApiConventionType(typeof(Microsoft.AspNetCore.Mvc.DefaultApiConventions))] namespace TestApp._INPUT_ diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsFullyQualifiedProducesResponseType.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsFullyQualifiedProducesResponseType.Output.cs index accec3f2d414..99d61a9ff630 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsFullyQualifiedProducesResponseType.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsFullyQualifiedProducesResponseType.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; [assembly: Microsoft.AspNetCore.Mvc.ApiConventionType(typeof(Microsoft.AspNetCore.Mvc.DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodes.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodes.Input.cs index 65eb3a68ae80..c470ef97fd7b 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodes.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodes.Input.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodes.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodes.Output.cs index 8453b10ac5a5..81f746c100d6 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodes.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodes.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._OUTPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodesAndTypes.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodesAndTypes.Input.cs index 43f07eca63b8..242841bc30b8 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodesAndTypes.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodesAndTypes.Input.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodesAndTypes.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodesAndTypes.Output.cs index a758564bcf58..6b1ee2b20454 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodesAndTypes.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsMissingStatusCodesAndTypes.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._OUTPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsNumericLiteralForNonExistingStatusCodeConstants.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsNumericLiteralForNonExistingStatusCodeConstants.Input.cs index 93668878b1cc..27720891854e 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsNumericLiteralForNonExistingStatusCodeConstants.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsNumericLiteralForNonExistingStatusCodeConstants.Input.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ { [ApiController] [Route("[controller]/[action]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsNumericLiteralForNonExistingStatusCodeConstants.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsNumericLiteralForNonExistingStatusCodeConstants.Output.cs index 82a8f44a3b72..bf3705d5b9fa 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsNumericLiteralForNonExistingStatusCodeConstants.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsNumericLiteralForNonExistingStatusCodeConstants.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._OUTPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsResponseTypeWhenDifferentFromErrorType.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsResponseTypeWhenDifferentFromErrorType.Input.cs index 02d2e72efb0d..f55b1f39a8eb 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsResponseTypeWhenDifferentFromErrorType.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsResponseTypeWhenDifferentFromErrorType.Input.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ { [ProducesErrorResponseType(typeof(CodeFixAddsResponseTypeWhenDifferentErrorModel))] [ApiController] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsResponseTypeWhenDifferentFromErrorType.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsResponseTypeWhenDifferentFromErrorType.Output.cs index f6be4784e5ac..70d535204f0a 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsResponseTypeWhenDifferentFromErrorType.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsResponseTypeWhenDifferentFromErrorType.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._OUTPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodes.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodes.Input.cs index 7c3e0276081b..f8205b305464 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodes.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodes.Input.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ { [ApiController] [Route("[controller]/[action]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodes.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodes.Output.cs index 0da7b06e5ca0..dbc954901eb8 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodes.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodes.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._OUTPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Input.cs index 0fe46370373d..47cd145c9e0b 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Input.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Output.cs index dbdf8d7fae12..30708316cb25 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromConstructorParameters.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._OUTPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromMethodParameters.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromMethodParameters.Input.cs index 8bc4a372e15e..89e9f94a3718 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromMethodParameters.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromMethodParameters.Input.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromMethodParameters.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromMethodParameters.Output.cs index d1ad5d182d32..9bd4298befe4 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromMethodParameters.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromMethodParameters.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._OUTPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromObjectInitializer.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromObjectInitializer.Input.cs index 7041164c5e57..1c64050b2622 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromObjectInitializer.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromObjectInitializer.Input.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromObjectInitializer.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromObjectInitializer.Output.cs index 8f35baeee74c..da1a627f3b6f 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromObjectInitializer.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsStatusCodesFromObjectInitializer.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._OUTPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsSuccessStatusCode.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsSuccessStatusCode.Input.cs index ff32f9b56df0..ab94f7a9a74a 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsSuccessStatusCode.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsSuccessStatusCode.Input.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsSuccessStatusCode.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsSuccessStatusCode.Output.cs index dc640992898a..20979662c177 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsSuccessStatusCode.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixAddsSuccessStatusCode.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionAddsMissingStatusCodes.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionAddsMissingStatusCodes.Input.cs index 55a1e429b7c2..650aef984145 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionAddsMissingStatusCodes.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionAddsMissingStatusCodes.Input.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionAddsMissingStatusCodes.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionAddsMissingStatusCodes.Output.cs index 657b5e969071..2976fa8d488f 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionAddsMissingStatusCodes.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionAddsMissingStatusCodes.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Http; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionMethodAddsMissingStatusCodes.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionMethodAddsMissingStatusCodes.Input.cs index 96e622e16bdb..908570351cae 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionMethodAddsMissingStatusCodes.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionMethodAddsMissingStatusCodes.Input.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ { [ApiController] [Route("[controller]/[action]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionMethodAddsMissingStatusCodes.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionMethodAddsMissingStatusCodes.Output.cs index d8d7215a5947..60eeac8fc6ce 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionMethodAddsMissingStatusCodes.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWithConventionMethodAddsMissingStatusCodes.Output.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Http; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Http; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._OUTPUT_ { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWorksWhenMultipleIdenticalStatusCodesAreInError.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWorksWhenMultipleIdenticalStatusCodesAreInError.Input.cs index 19d51ee71061..58d1ed31ac82 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWorksWhenMultipleIdenticalStatusCodesAreInError.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWorksWhenMultipleIdenticalStatusCodesAreInError.Input.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Collections.Generic; using System.Linq; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers._INPUT_ diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWorksWhenMultipleIdenticalStatusCodesAreInError.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWorksWhenMultipleIdenticalStatusCodesAreInError.Output.cs index cd7b5dad5838..fd0371f0653c 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWorksWhenMultipleIdenticalStatusCodesAreInError.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/AddResponseTypeAttributeCodeFixProviderIntegrationTest/CodeFixWorksWhenMultipleIdenticalStatusCodesAreInError.Output.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Collections.Generic; using System.Linq; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecks.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecks.cs index 2966097a0fcd..7868098e6d2c 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecks.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecks.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecksUsingEquality.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecksUsingEquality.cs index 432789e86efa..89e103215220 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecksUsingEquality.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecksUsingEquality.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecksWithoutBracing.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecksWithoutBracing.cs index e62ee6801479..c0d5a47498ae 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecksWithoutBracing.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/DiagnosticsAreReturned_ForApiActionsWithModelStateChecksWithoutBracing.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsCheckingAdditionalConditions.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsCheckingAdditionalConditions.cs index 8ed22e69b9cb..7fece77ef99f 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsCheckingAdditionalConditions.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsCheckingAdditionalConditions.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsReturning400FromNonModelStateIsValidBlocks.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsReturning400FromNonModelStateIsValidBlocks.cs index 698fa7247601..0dfee31d12d2 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsReturning400FromNonModelStateIsValidBlocks.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsReturning400FromNonModelStateIsValidBlocks.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsReturningNot400FromNonModelStateIsValidBlock.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsReturningNot400FromNonModelStateIsValidBlock.cs index 86659db6f9b5..4fae36c1d445 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsReturningNot400FromNonModelStateIsValidBlock.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsReturningNot400FromNonModelStateIsValidBlock.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsWithoutModelStateChecks.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsWithoutModelStateChecks.cs index e24c0945624e..abc895fc2c5c 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsWithoutModelStateChecks.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiActionsWithoutModelStateChecks.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest { [ApiController] public class NoDiagnosticsAreReturned_ForApiActionsWithoutModelStateChecks : ControllerBase diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForNonApiController.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForNonApiController.cs index c9b044457f79..7d31024a6abe 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForNonApiController.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForNonApiController.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest { public class NoDiagnosticsAreReturned_ForNonApiController : ControllerBase { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs index 30b7c5ccebc6..65900e590fdf 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckAnalyzerIntegrationTest { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Input.cs index 2608c14bc5c0..117ad5341bae 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Input.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._INPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._INPUT_ { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Output.cs index 9d10cebb3115..4aeaa20c34e0 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesIfBlockWithoutBraces.Output.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._OUTPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._OUTPUT_ { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithEqualityCheck.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithEqualityCheck.Input.cs index 9a129687230d..6d2a441dae44 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithEqualityCheck.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithEqualityCheck.Input.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._INPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._INPUT_ { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithEqualityCheck.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithEqualityCheck.Output.cs index 8ba42c4bfd53..f117fd850733 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithEqualityCheck.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithEqualityCheck.Output.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._OUTPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._OUTPUT_ { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck.Input.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck.Input.cs index f737c35206b3..610c2ca38cb3 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck.Input.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck.Input.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._INPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._INPUT_ { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck.Output.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck.Output.cs index a61edaf518e2..b573ed128b39 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck.Output.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest/CodeFixRemovesModelStateIsInvalidBlockWithIfNotCheck.Output.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._OUTPUT_ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.ApiActionsDoNotRequireExplicitModelValidationCheckCodeFixProviderTest._OUTPUT_ { [ApiController] [Route("/api/[controller]")] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiControllerFactsTest/IsApiControllerAction_ReturnsTrue_IfAttributeIsDeclaredOnAssembly.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiControllerFactsTest/IsApiControllerAction_ReturnsTrue_IfAttributeIsDeclaredOnAssembly.cs index a8b5d0ee8b58..a37e73bb8502 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiControllerFactsTest/IsApiControllerAction_ReturnsTrue_IfAttributeIsDeclaredOnAssembly.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiControllerFactsTest/IsApiControllerAction_ReturnsTrue_IfAttributeIsDeclaredOnAssembly.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; [assembly: ApiController] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiControllerFactsTest/TestFile.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiControllerFactsTest/TestFile.cs index 7eb8c8584cbf..bbe10a41fb8e 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiControllerFactsTest/TestFile.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiControllerFactsTest/TestFile.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForActionResultOfTReturningMethodWithoutAnyAttributes.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForActionResultOfTReturningMethodWithoutAnyAttributes.cs index 42ce3bd06948..ea1529c15f31 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForActionResultOfTReturningMethodWithoutAnyAttributes.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForActionResultOfTReturningMethodWithoutAnyAttributes.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using Microsoft.AspNetCore.Mvc; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForActionResultOfTReturningMethodWithoutSomeAttributes.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForActionResultOfTReturningMethodWithoutSomeAttributes.cs index 1b341aed17b2..cd9c1cae0390 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForActionResultOfTReturningMethodWithoutSomeAttributes.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForActionResultOfTReturningMethodWithoutSomeAttributes.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForControllerWithCustomConvention.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForControllerWithCustomConvention.cs index 884d613e0476..3d67076ce203 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForControllerWithCustomConvention.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_ForControllerWithCustomConvention.cs @@ -1,4 +1,7 @@ -using System.Threading.Tasks; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Threading.Tasks; using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Api.Analyzers; diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfAsyncMethodReturningValueTaskWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfAsyncMethodReturningValueTaskWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs index 3e263cffd926..4e3940ac6a2f 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfAsyncMethodReturningValueTaskWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfAsyncMethodReturningValueTaskWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs @@ -1,4 +1,7 @@ -using System.Threading.Tasks; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfAsyncMethodWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfAsyncMethodWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs index d61842d16f63..d2fe4c82015c 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfAsyncMethodWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfAsyncMethodWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs @@ -1,4 +1,7 @@ -using System.Threading.Tasks; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithApiConventionMethod_ReturnsUndocumentedStatusCode.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithApiConventionMethod_ReturnsUndocumentedStatusCode.cs index f09255b7d0f7..1d3a17551fc6 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithApiConventionMethod_ReturnsUndocumentedStatusCode.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithApiConventionMethod_ReturnsUndocumentedStatusCode.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttributeAsynchronouslyReturnsValue_WithoutDocumentation.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttributeAsynchronouslyReturnsValue_WithoutDocumentation.cs index 4a93438cfd68..fa47af99517a 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttributeAsynchronouslyReturnsValue_WithoutDocumentation.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttributeAsynchronouslyReturnsValue_WithoutDocumentation.cs @@ -1,4 +1,7 @@ -using System.Threading.Tasks; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Threading.Tasks; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttributeReturnsValue_WithoutDocumentation.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttributeReturnsValue_WithoutDocumentation.cs index 1c4a8f59cfb0..959bbfde6ff1 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttributeReturnsValue_WithoutDocumentation.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttributeReturnsValue_WithoutDocumentation.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { [ApiController] public class DiagnosticsAreReturned_IfMethodWithAttributeReturnsValue_WithoutDocumentation : ControllerBase diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttribute_ReturnsDerivedType.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttribute_ReturnsDerivedType.cs index 82d6805a6832..91656b37032b 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttribute_ReturnsDerivedType.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithAttribute_ReturnsDerivedType.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithConvention_DoesNotReturnDocumentedStatusCode.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithConvention_DoesNotReturnDocumentedStatusCode.cs index 62929c1f2e3a..1d772eb087a6 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithConvention_DoesNotReturnDocumentedStatusCode.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithConvention_DoesNotReturnDocumentedStatusCode.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithConvention_ReturnsUndocumentedStatusCode.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithConvention_ReturnsUndocumentedStatusCode.cs index a49f31108abd..18455cea3301 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithConvention_ReturnsUndocumentedStatusCode.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithConvention_ReturnsUndocumentedStatusCode.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Api.Analyzers; [assembly: ApiConventionType(typeof(DiagnosticsAreReturned_IfMethodWithConvention_ReturnsUndocumentedStatusCodeConvention))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_DoesNotDocumentSuccessStatusCode.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_DoesNotDocumentSuccessStatusCode.cs index a45428d467ef..f2d791bcbb79 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_DoesNotDocumentSuccessStatusCode.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_DoesNotDocumentSuccessStatusCode.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_DoesNotReturnDocumentedStatusCode.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_DoesNotReturnDocumentedStatusCode.cs index 59b1c99c882e..443b145ab911 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_DoesNotReturnDocumentedStatusCode.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_DoesNotReturnDocumentedStatusCode.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs index ad4c183a5187..381a8aa8cf04 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { [ApiController] public class DiagnosticsAreReturned_IfMethodWithProducesResponseTypeAttribute_ReturnsUndocumentedStatusCode : ControllerBase diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiController_IfStatusCodesCannotBeInferred.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiController_IfStatusCodesCannotBeInferred.cs index e2866071d410..21c134fd3911 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiController_IfStatusCodesCannotBeInferred.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiController_IfStatusCodesCannotBeInferred.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { [ApiController] public class NoDiagnosticsAreReturned_ForApiController_IfStatusCodesCannotBeInferred : ControllerBase diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiController_WithAllDocumentedStatusCodes.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiController_WithAllDocumentedStatusCodes.cs index c7aaac359634..33d1caea334e 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiController_WithAllDocumentedStatusCodes.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForApiController_WithAllDocumentedStatusCodes.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForNonApiController.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForNonApiController.cs index 1d790dab91eb..6a915777796d 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForNonApiController.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForNonApiController.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForOkResultReturningAction.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForOkResultReturningAction.cs index e5ae8feb2c9e..461fa4f31fb2 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForOkResultReturningAction.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForOkResultReturningAction.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Collections.Generic; using System.Threading.Tasks; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs index 65d7167e6cb4..db176cce5072 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForRazorPageModels.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.RazorPages; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.RazorPages; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForReturnStatementsInLambdas.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForReturnStatementsInLambdas.cs index 0770de818d23..9e12429c4c54 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForReturnStatementsInLambdas.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForReturnStatementsInLambdas.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using Microsoft.AspNetCore.Mvc; [assembly: ApiConventionType(typeof(DefaultApiConventions))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForReturnStatementsInLocalFunctions.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForReturnStatementsInLocalFunctions.cs index 329bde822db4..249c5d191638 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForReturnStatementsInLocalFunctions.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/ApiConventionAnalyzerIntegrationTest/NoDiagnosticsAreReturned_ForReturnStatementsInLocalFunctions.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { [ApiController] public class NoDiagnosticsAreReturned_ForReturnStatementsInLocalFunctions : ControllerBase diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/MvcFactsTest/IsControllerActionTests.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/MvcFactsTest/IsControllerActionTests.cs index 085ba88d9a79..a81ec72a8056 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/MvcFactsTest/IsControllerActionTests.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/MvcFactsTest/IsControllerActionTests.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/MvcFactsTest/IsControllerTests.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/MvcFactsTest/IsControllerTests.cs index 1c765c6fd3bc..f53dcd578872 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/MvcFactsTest/IsControllerTests.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/MvcFactsTest/IsControllerTests.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers { public interface ITestController { } diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiConventionMatcherTest/SymbolApiConventionMatcherTestFile.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiConventionMatcherTest/SymbolApiConventionMatcherTestFile.cs index 3d27daef10c1..d1a2f1c24fd7 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiConventionMatcherTest/SymbolApiConventionMatcherTestFile.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiConventionMatcherTest/SymbolApiConventionMatcherTestFile.cs @@ -1,4 +1,7 @@ -using System.Runtime.CompilerServices; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Mvc.ApiExplorer; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsProblemDetails_IfNoAttributeIsDiscovered.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsProblemDetails_IfNoAttributeIsDiscovered.cs index 7e7834edbe24..0cd872888b65 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsProblemDetails_IfNoAttributeIsDiscovered.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsProblemDetails_IfNoAttributeIsDiscovered.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.SymbolApiResponseMetadataProviderTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.SymbolApiResponseMetadataProviderTest { public class GetErrorResponseType_ReturnsProblemDetails_IfNoAttributeIsDiscoveredController { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtAction.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtAction.cs index 9e8f37d0c64e..55743dcb39c6 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtAction.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtAction.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc.ModelBinding; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc.ModelBinding; namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.SymbolApiResponseMetadataProviderTest { diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtAssembly.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtAssembly.cs index b5199490d388..dc664122854a 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtAssembly.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtAssembly.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; [assembly: ProducesErrorResponseType(typeof(Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.SymbolApiResponseMetadataProviderTest.GetErrorResponseType_ReturnsTypeDefinedAtAssemblyModel))] diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtController.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtController.cs index b731f3f0eb76..e606021fe1b3 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtController.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetErrorResponseType_ReturnsTypeDefinedAtController.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.SymbolApiResponseMetadataProviderTest +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +namespace Microsoft.AspNetCore.Mvc.Api.Analyzers.TestFiles.SymbolApiResponseMetadataProviderTest { [ProducesErrorResponseType(typeof(GetErrorResponseType_ReturnsTypeDefinedAtControllerModel))] public class GetErrorResponseType_ReturnsTypeDefinedAtControllerController diff --git a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetResponseMetadataTests.cs b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetResponseMetadataTests.cs index bcf250847460..6bf00e9c555d 100644 --- a/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetResponseMetadataTests.cs +++ b/src/Mvc/Mvc.Api.Analyzers/test/TestFiles/SymbolApiResponseMetadataProviderTest/GetResponseMetadataTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionExtensions.cs b/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionExtensions.cs index d8c99a8b58a6..212b698f82e2 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionExtensions.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroup.cs b/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroup.cs index 3a8e35e5783a..8084a45cdae2 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroup.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroupCollection.cs b/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroupCollection.cs index b071f1c2c9c5..e1bb301efa1b 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroupCollection.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroupCollection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroupCollectionProvider.cs b/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroupCollectionProvider.cs index 1d7976d5bd93..7fec65ac43f1 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroupCollectionProvider.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/ApiDescriptionGroupCollectionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.ApiExplorer/src/ApiParameterContext.cs b/src/Mvc/Mvc.ApiExplorer/src/ApiParameterContext.cs index d88281f49037..3c001ace8445 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/ApiParameterContext.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/ApiParameterContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Controllers; diff --git a/src/Mvc/Mvc.ApiExplorer/src/ApiResponseTypeProvider.cs b/src/Mvc/Mvc.ApiExplorer/src/ApiResponseTypeProvider.cs index 241eb8f49e57..2e24f1a70de2 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/ApiResponseTypeProvider.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/ApiResponseTypeProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ApiExplorer/src/DefaultApiDescriptionProvider.cs b/src/Mvc/Mvc.ApiExplorer/src/DefaultApiDescriptionProvider.cs index 42ba2b990323..8d73cb15286e 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/DefaultApiDescriptionProvider.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/DefaultApiDescriptionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ApiExplorer/src/DependencyInjection/MvcApiExplorerMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.ApiExplorer/src/DependencyInjection/MvcApiExplorerMvcCoreBuilderExtensions.cs index 4004adc970b2..1318a7fef537 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/DependencyInjection/MvcApiExplorerMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/DependencyInjection/MvcApiExplorerMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApiExplorer; diff --git a/src/Mvc/Mvc.ApiExplorer/src/IApiDescriptionGroupCollectionProvider.cs b/src/Mvc/Mvc.ApiExplorer/src/IApiDescriptionGroupCollectionProvider.cs index 5227a62cbe3e..b0b13535c601 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/IApiDescriptionGroupCollectionProvider.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/IApiDescriptionGroupCollectionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApiExplorer { diff --git a/src/Mvc/Mvc.ApiExplorer/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.ApiExplorer/src/Properties/AssemblyInfo.cs index 40008c2f22b0..c446015eef06 100644 --- a/src/Mvc/Mvc.ApiExplorer/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.ApiExplorer/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.ApiExplorer/test/ApiResponseTypeProviderTest.cs b/src/Mvc/Mvc.ApiExplorer/test/ApiResponseTypeProviderTest.cs index 8f3029a64795..8a8f0e2091a4 100644 --- a/src/Mvc/Mvc.ApiExplorer/test/ApiResponseTypeProviderTest.cs +++ b/src/Mvc/Mvc.ApiExplorer/test/ApiResponseTypeProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ApiExplorer/test/DefaultApiDescriptionProviderTest.cs b/src/Mvc/Mvc.ApiExplorer/test/DefaultApiDescriptionProviderTest.cs index 9e54bbf3a0ca..2f7fc859d9fc 100644 --- a/src/Mvc/Mvc.ApiExplorer/test/DefaultApiDescriptionProviderTest.cs +++ b/src/Mvc/Mvc.ApiExplorer/test/DefaultApiDescriptionProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/AcceptVerbsAttribute.cs b/src/Mvc/Mvc.Core/src/AcceptVerbsAttribute.cs index 3e654b0837c1..d151c528f16c 100644 --- a/src/Mvc/Mvc.Core/src/AcceptVerbsAttribute.cs +++ b/src/Mvc/Mvc.Core/src/AcceptVerbsAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/AcceptedAtActionResult.cs b/src/Mvc/Mvc.Core/src/AcceptedAtActionResult.cs index d45ff8474b62..31e8b4c1d1bc 100644 --- a/src/Mvc/Mvc.Core/src/AcceptedAtActionResult.cs +++ b/src/Mvc/Mvc.Core/src/AcceptedAtActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/AcceptedAtRouteResult.cs b/src/Mvc/Mvc.Core/src/AcceptedAtRouteResult.cs index 7b259aa46647..79e139ac2581 100644 --- a/src/Mvc/Mvc.Core/src/AcceptedAtRouteResult.cs +++ b/src/Mvc/Mvc.Core/src/AcceptedAtRouteResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/AcceptedResult.cs b/src/Mvc/Mvc.Core/src/AcceptedResult.cs index 159f59cc9906..7fd203743ba9 100644 --- a/src/Mvc/Mvc.Core/src/AcceptedResult.cs +++ b/src/Mvc/Mvc.Core/src/AcceptedResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/ActionConstraints/ActionConstraintCache.cs b/src/Mvc/Mvc.Core/src/ActionConstraints/ActionConstraintCache.cs index 7663ad7eb963..6c6aa76da3b0 100644 --- a/src/Mvc/Mvc.Core/src/ActionConstraints/ActionConstraintCache.cs +++ b/src/Mvc/Mvc.Core/src/ActionConstraints/ActionConstraintCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ActionConstraints/ActionMethodSelectorAttribute.cs b/src/Mvc/Mvc.Core/src/ActionConstraints/ActionMethodSelectorAttribute.cs index 6cf3d35952fa..b18cc2a99acb 100644 --- a/src/Mvc/Mvc.Core/src/ActionConstraints/ActionMethodSelectorAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ActionConstraints/ActionMethodSelectorAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.Core/src/ActionConstraints/DefaultActionConstraintProvider.cs b/src/Mvc/Mvc.Core/src/ActionConstraints/DefaultActionConstraintProvider.cs index fe44d25be74c..020395773e21 100644 --- a/src/Mvc/Mvc.Core/src/ActionConstraints/DefaultActionConstraintProvider.cs +++ b/src/Mvc/Mvc.Core/src/ActionConstraints/DefaultActionConstraintProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/ActionConstraints/HttpMethodActionConstraint.cs b/src/Mvc/Mvc.Core/src/ActionConstraints/HttpMethodActionConstraint.cs index 6ee65d9f8b20..0059a208f361 100644 --- a/src/Mvc/Mvc.Core/src/ActionConstraints/HttpMethodActionConstraint.cs +++ b/src/Mvc/Mvc.Core/src/ActionConstraints/HttpMethodActionConstraint.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ActionConstraints/IConsumesActionConstraint.cs b/src/Mvc/Mvc.Core/src/ActionConstraints/IConsumesActionConstraint.cs index 9e368fe825ae..544dc2cb165c 100644 --- a/src/Mvc/Mvc.Core/src/ActionConstraints/IConsumesActionConstraint.cs +++ b/src/Mvc/Mvc.Core/src/ActionConstraints/IConsumesActionConstraint.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ActionConstraints { diff --git a/src/Mvc/Mvc.Core/src/ActionContextAttribute.cs b/src/Mvc/Mvc.Core/src/ActionContextAttribute.cs index 2923ae399b29..7c0dd8c5d020 100644 --- a/src/Mvc/Mvc.Core/src/ActionContextAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ActionContextAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/ActionNameAttribute.cs b/src/Mvc/Mvc.Core/src/ActionNameAttribute.cs index 78a374b517aa..6f9e061d8ccd 100644 --- a/src/Mvc/Mvc.Core/src/ActionNameAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ActionNameAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/ActionResult.cs b/src/Mvc/Mvc.Core/src/ActionResult.cs index 413d47aab6f5..c2da624b4f76 100644 --- a/src/Mvc/Mvc.Core/src/ActionResult.cs +++ b/src/Mvc/Mvc.Core/src/ActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/ActionResultOfT.cs b/src/Mvc/Mvc.Core/src/ActionResultOfT.cs index 0e0ffff83b5d..17d5d83bce78 100644 --- a/src/Mvc/Mvc.Core/src/ActionResultOfT.cs +++ b/src/Mvc/Mvc.Core/src/ActionResultOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/AntiforgeryValidationFailedResult.cs b/src/Mvc/Mvc.Core/src/AntiforgeryValidationFailedResult.cs index 95e064312759..7f758c3b1674 100644 --- a/src/Mvc/Mvc.Core/src/AntiforgeryValidationFailedResult.cs +++ b/src/Mvc/Mvc.Core/src/AntiforgeryValidationFailedResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Core.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/ApiBehaviorOptions.cs b/src/Mvc/Mvc.Core/src/ApiBehaviorOptions.cs index 2c0b9b47b830..6ce4f995381e 100644 --- a/src/Mvc/Mvc.Core/src/ApiBehaviorOptions.cs +++ b/src/Mvc/Mvc.Core/src/ApiBehaviorOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Core/src/ApiControllerAttribute.cs b/src/Mvc/Mvc.Core/src/ApiControllerAttribute.cs index 2b1abed7f634..a1dd103cebb5 100644 --- a/src/Mvc/Mvc.Core/src/ApiControllerAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApiControllerAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/ApiConventionMethodAttribute.cs b/src/Mvc/Mvc.Core/src/ApiConventionMethodAttribute.cs index 452cd81941c6..17996c92852d 100644 --- a/src/Mvc/Mvc.Core/src/ApiConventionMethodAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApiConventionMethodAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/ApiConventionTypeAttribute.cs b/src/Mvc/Mvc.Core/src/ApiConventionTypeAttribute.cs index 866ae5c015f4..24d3480eda4a 100644 --- a/src/Mvc/Mvc.Core/src/ApiConventionTypeAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApiConventionTypeAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionMatcher.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionMatcher.cs index cb55e61827b1..bb221116c5b7 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionMatcher.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionMatcher.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchAttribute.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchAttribute.cs index 2da8950decbb..81912e6fc108 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchBehavior.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchBehavior.cs index 2d4ed01d9392..3dfbe29be218 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchBehavior.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionNameMatchBehavior.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApiExplorer { diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionResult.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionResult.cs index f5b5ef4f49b9..8cdebaa09893 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionResult.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchAttribute.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchAttribute.cs index 5aa6b7cb08f7..2f9473c73257 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchBehavior.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchBehavior.cs index fcd7162aae8c..88407626b166 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchBehavior.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiConventionTypeMatchBehavior.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApiExplorer { diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiDescriptionActionData.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiDescriptionActionData.cs index 8ee745de5919..70494dd48186 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/ApiDescriptionActionData.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/ApiDescriptionActionData.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDefaultResponseMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDefaultResponseMetadataProvider.cs index a841fc9f0a7a..eb9bc1234790 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDefaultResponseMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDefaultResponseMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApiExplorer { diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDescriptionGroupNameProvider.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDescriptionGroupNameProvider.cs index 33a31251bc67..dadc1fa3b10e 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDescriptionGroupNameProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDescriptionGroupNameProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApiExplorer { diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDescriptionVisibilityProvider.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDescriptionVisibilityProvider.cs index 439c132c614f..7860685e68fe 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDescriptionVisibilityProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiDescriptionVisibilityProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApiExplorer { diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiRequestFormatMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiRequestFormatMetadataProvider.cs index f93232e81ab3..c581774cde81 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiRequestFormatMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiRequestFormatMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiRequestMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiRequestMetadataProvider.cs index e24ca509f4d6..1df6dc86aca2 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiRequestMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiRequestMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.Formatters; diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiResponseMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiResponseMetadataProvider.cs index 8a30df15a4a4..2c6e70f374ac 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiResponseMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiResponseMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiResponseTypeMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiResponseTypeMetadataProvider.cs index 8ae06b974fa8..153f8ae74435 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorer/IApiResponseTypeMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorer/IApiResponseTypeMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApiExplorerSettingsAttribute.cs b/src/Mvc/Mvc.Core/src/ApiExplorerSettingsAttribute.cs index 314bfaf6e3ba..74be790f50bc 100644 --- a/src/Mvc/Mvc.Core/src/ApiExplorerSettingsAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApiExplorerSettingsAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApiExplorer; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ActionAttributeRouteModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ActionAttributeRouteModel.cs index 5496f985d787..f0ce04a213ff 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ActionAttributeRouteModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ActionAttributeRouteModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ActionModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ActionModel.cs index 122ffeb85a45..b60d6ba2253f 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ActionModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ActionModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ApiBehaviorApplicationModelProvider.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ApiBehaviorApplicationModelProvider.cs index abc14ea6992d..59012e1de445 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ApiBehaviorApplicationModelProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ApiBehaviorApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ApiConventionApplicationModelConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ApiConventionApplicationModelConvention.cs index 867eee9f50f2..7c271b98f66e 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ApiConventionApplicationModelConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ApiConventionApplicationModelConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ApiExplorerModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ApiExplorerModel.cs index 8632d75e30c1..9dacc18ea206 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ApiExplorerModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ApiExplorerModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ApiVisibilityConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ApiVisibilityConvention.cs index 0a494bc050bc..13e7ed33876b 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ApiVisibilityConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ApiVisibilityConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModel.cs index 6c06d055f51e..352a0315b2d3 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelConventions.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelConventions.cs index 6bd39d339161..3382fd7ef7af 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelConventions.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelConventions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelFactory.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelFactory.cs index ce8d82248ef1..597126a01b4d 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelFactory.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelProviderContext.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelProviderContext.cs index 5e357e37780b..a38a97073405 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelProviderContext.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ApplicationModelProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/AttributeRouteModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/AttributeRouteModel.cs index 6f2108f9bcfa..9d80219c94ee 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/AttributeRouteModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/AttributeRouteModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/AuthorizationApplicationModelProvider.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/AuthorizationApplicationModelProvider.cs index 31a3b1427ec1..d840fb9c5559 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/AuthorizationApplicationModelProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/AuthorizationApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ClientErrorResultFilterConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ClientErrorResultFilterConvention.cs index d7afdeb0eb6c..3eddbbd44e1b 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ClientErrorResultFilterConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ClientErrorResultFilterConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ConsumesConstraintForFormFileParameterConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ConsumesConstraintForFormFileParameterConvention.cs index b6bb13a9bff6..972fbf0c0eea 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ConsumesConstraintForFormFileParameterConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ConsumesConstraintForFormFileParameterConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerActionDescriptorBuilder.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerActionDescriptorBuilder.cs index 9b2e8a951af1..fce0231f1ea3 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerActionDescriptorBuilder.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerActionDescriptorBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerActionDescriptorProvider.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerActionDescriptorProvider.cs index e82b71569742..c481b8eed416 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerActionDescriptorProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerActionDescriptorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerModel.cs index 6ce92ec91ebb..aa082e60448a 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ControllerModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/DefaultApplicationModelProvider.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/DefaultApplicationModelProvider.cs index ee1d36cf2a46..d2e1e202ab0f 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/DefaultApplicationModelProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/DefaultApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IActionModelConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IActionModelConvention.cs index 6d235666f96b..16299c4365c5 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IActionModelConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IActionModelConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IApiExplorerModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IApiExplorerModel.cs index 6d3705e6d92c..ef81a0fedf88 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IApiExplorerModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IApiExplorerModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IApplicationModelConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IApplicationModelConvention.cs index 7388b7f5e480..82d2b903f557 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IApplicationModelConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IApplicationModelConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IApplicationModelProvider.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IApplicationModelProvider.cs index 8d8814ad4391..4b9cfad715c5 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IApplicationModelProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IBindingModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IBindingModel.cs index b48db3bb0144..97618c60c508 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IBindingModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IBindingModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ICommonModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ICommonModel.cs index a495fce0f3b3..620c418b0ede 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ICommonModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ICommonModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IControllerModelConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IControllerModelConvention.cs index 37d08ec44086..510ad335afe1 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IControllerModelConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IControllerModelConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IFilterModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IFilterModel.cs index 22f8a7d1fb17..3277a4fa6b20 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IFilterModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IFilterModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IParameterModelBaseConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IParameterModelBaseConvention.cs index 2457b89f9559..55f80d532b60 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IParameterModelBaseConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IParameterModelBaseConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IParameterModelConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IParameterModelConvention.cs index 76924e27abfa..495effb91181 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IParameterModelConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IParameterModelConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/IPropertyModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/IPropertyModel.cs index 48cd751abcd7..cdb09c92970a 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/IPropertyModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/IPropertyModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/InferParameterBindingInfoConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/InferParameterBindingInfoConvention.cs index 8f0a33a497ab..919758219732 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/InferParameterBindingInfoConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/InferParameterBindingInfoConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/InvalidModelStateFilterConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/InvalidModelStateFilterConvention.cs index cb3a865636af..62cd9a6da2fb 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/InvalidModelStateFilterConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/InvalidModelStateFilterConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ParameterModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ParameterModel.cs index 0a658f30bfb2..722b7a1c4b70 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ParameterModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ParameterModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/ParameterModelBase.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/ParameterModelBase.cs index c466e8aa679b..82789e5d0c55 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/ParameterModelBase.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/ParameterModelBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/PropertyModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/PropertyModel.cs index f1b93b60f72e..672fc12dc6d4 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/PropertyModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/PropertyModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/RouteTokenTransformerConvention.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/RouteTokenTransformerConvention.cs index d7c4e78f5ff5..bfa6a411bf66 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/RouteTokenTransformerConvention.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/RouteTokenTransformerConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/Mvc.Core/src/ApplicationModels/SelectorModel.cs b/src/Mvc/Mvc.Core/src/ApplicationModels/SelectorModel.cs index c1c137db320d..a6639c3b0359 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationModels/SelectorModel.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationModels/SelectorModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPart.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPart.cs index 807af25a9d3d..b41f7eb52d84 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPart.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPart.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationParts { diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartAttribute.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartAttribute.cs index e69839692955..147d6e4afcb8 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartFactory.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartFactory.cs index ac215409bf29..c6e0e4c82ebf 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartFactory.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartManager.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartManager.cs index 796c4309039f..8895780f007d 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartManager.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/ApplicationPartManager.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/AssemblyPart.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/AssemblyPart.cs index 7dd653550de2..ccc3c6f4a508 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/AssemblyPart.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/AssemblyPart.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/DefaultApplicationPartFactory.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/DefaultApplicationPartFactory.cs index 60a08f797498..f65c930d5cd2 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/DefaultApplicationPartFactory.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/DefaultApplicationPartFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationFeatureProvider.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationFeatureProvider.cs index 2ee9ece9f091..d04c0dfd1038 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationFeatureProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationFeatureProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationParts { diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationFeatureProviderOfT.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationFeatureProviderOfT.cs index cf7f870bca38..e8c3c8504b54 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationFeatureProviderOfT.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationFeatureProviderOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationPartTypeProvider.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationPartTypeProvider.cs index 616c9a9aea4d..142f756ba51c 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationPartTypeProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/IApplicationPartTypeProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/ICompilationReferencesProvider.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/ICompilationReferencesProvider.cs index bb2691bedd09..b05aaea3ef8b 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/ICompilationReferencesProvider.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/ICompilationReferencesProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/NullApplicationPartFactory.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/NullApplicationPartFactory.cs index 6fe7ff39ff76..138c6e27cc28 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/NullApplicationPartFactory.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/NullApplicationPartFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/ProvideApplicationPartFactoryAttribute.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/ProvideApplicationPartFactoryAttribute.cs index 1437d3b78deb..097467565c64 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/ProvideApplicationPartFactoryAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/ProvideApplicationPartFactoryAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Core; diff --git a/src/Mvc/Mvc.Core/src/ApplicationParts/RelatedAssemblyAttribute.cs b/src/Mvc/Mvc.Core/src/ApplicationParts/RelatedAssemblyAttribute.cs index b2078809b4a1..2d1bd2b822f0 100644 --- a/src/Mvc/Mvc.Core/src/ApplicationParts/RelatedAssemblyAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ApplicationParts/RelatedAssemblyAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/AreaAttribute.cs b/src/Mvc/Mvc.Core/src/AreaAttribute.cs index 3e16b8929750..1c6b0886dae4 100644 --- a/src/Mvc/Mvc.Core/src/AreaAttribute.cs +++ b/src/Mvc/Mvc.Core/src/AreaAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Core; diff --git a/src/Mvc/Mvc.Core/src/Authorization/AllowAnonymousFilter.cs b/src/Mvc/Mvc.Core/src/Authorization/AllowAnonymousFilter.cs index 34b785cbecd0..2ae3c631a1f6 100644 --- a/src/Mvc/Mvc.Core/src/Authorization/AllowAnonymousFilter.cs +++ b/src/Mvc/Mvc.Core/src/Authorization/AllowAnonymousFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Authorization { diff --git a/src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs b/src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs index 0d86160b186e..9dfd5e43bdc1 100644 --- a/src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs +++ b/src/Mvc/Mvc.Core/src/Authorization/AuthorizeFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/BadRequestObjectResult.cs b/src/Mvc/Mvc.Core/src/BadRequestObjectResult.cs index fd3e398d9881..68c0ae4c0625 100644 --- a/src/Mvc/Mvc.Core/src/BadRequestObjectResult.cs +++ b/src/Mvc/Mvc.Core/src/BadRequestObjectResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/BadRequestResult.cs b/src/Mvc/Mvc.Core/src/BadRequestResult.cs index 5a034b181acf..0aeebe18e1cb 100644 --- a/src/Mvc/Mvc.Core/src/BadRequestResult.cs +++ b/src/Mvc/Mvc.Core/src/BadRequestResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/BindAttribute.cs b/src/Mvc/Mvc.Core/src/BindAttribute.cs index 0091eabd2ebf..bdd5e5add54e 100644 --- a/src/Mvc/Mvc.Core/src/BindAttribute.cs +++ b/src/Mvc/Mvc.Core/src/BindAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/BindPropertiesAttribute.cs b/src/Mvc/Mvc.Core/src/BindPropertiesAttribute.cs index 28a155829053..e4c5d1b5c529 100644 --- a/src/Mvc/Mvc.Core/src/BindPropertiesAttribute.cs +++ b/src/Mvc/Mvc.Core/src/BindPropertiesAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/BindPropertyAttribute.cs b/src/Mvc/Mvc.Core/src/BindPropertyAttribute.cs index 22430cf6567f..577cb994b1b1 100644 --- a/src/Mvc/Mvc.Core/src/BindPropertyAttribute.cs +++ b/src/Mvc/Mvc.Core/src/BindPropertyAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/Builder/ControllerActionEndpointConventionBuilder.cs b/src/Mvc/Mvc.Core/src/Builder/ControllerActionEndpointConventionBuilder.cs index e5b61baede09..b3b8fcef9f85 100644 --- a/src/Mvc/Mvc.Core/src/Builder/ControllerActionEndpointConventionBuilder.cs +++ b/src/Mvc/Mvc.Core/src/Builder/ControllerActionEndpointConventionBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Builder/ControllerEndpointRouteBuilderExtensions.cs b/src/Mvc/Mvc.Core/src/Builder/ControllerEndpointRouteBuilderExtensions.cs index 1dfe8ee24c94..7b28aabf7120 100644 --- a/src/Mvc/Mvc.Core/src/Builder/ControllerEndpointRouteBuilderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/Builder/ControllerEndpointRouteBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/Builder/MvcApplicationBuilderExtensions.cs b/src/Mvc/Mvc.Core/src/Builder/MvcApplicationBuilderExtensions.cs index fb7bb53fc5c6..a910cfc79b08 100644 --- a/src/Mvc/Mvc.Core/src/Builder/MvcApplicationBuilderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/Builder/MvcApplicationBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Builder/MvcAreaRouteBuilderExtensions.cs b/src/Mvc/Mvc.Core/src/Builder/MvcAreaRouteBuilderExtensions.cs index e2cdf09f8a21..4626277a8ec1 100644 --- a/src/Mvc/Mvc.Core/src/Builder/MvcAreaRouteBuilderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/Builder/MvcAreaRouteBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Core; diff --git a/src/Mvc/Mvc.Core/src/CacheProfile.cs b/src/Mvc/Mvc.Core/src/CacheProfile.cs index e42a71985151..956fb77de4b2 100644 --- a/src/Mvc/Mvc.Core/src/CacheProfile.cs +++ b/src/Mvc/Mvc.Core/src/CacheProfile.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/Mvc.Core/src/ChallengeResult.cs b/src/Mvc/Mvc.Core/src/ChallengeResult.cs index b2e2b48dc76c..79867064a4e9 100644 --- a/src/Mvc/Mvc.Core/src/ChallengeResult.cs +++ b/src/Mvc/Mvc.Core/src/ChallengeResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ClientErrorData.cs b/src/Mvc/Mvc.Core/src/ClientErrorData.cs index 554b61d6ca82..4105efc4dbec 100644 --- a/src/Mvc/Mvc.Core/src/ClientErrorData.cs +++ b/src/Mvc/Mvc.Core/src/ClientErrorData.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/Mvc.Core/src/CompatibilityVersion.cs b/src/Mvc/Mvc.Core/src/CompatibilityVersion.cs index 285379364549..5053366fb032 100644 --- a/src/Mvc/Mvc.Core/src/CompatibilityVersion.cs +++ b/src/Mvc/Mvc.Core/src/CompatibilityVersion.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Mvc/Mvc.Core/src/ConflictObjectResult.cs b/src/Mvc/Mvc.Core/src/ConflictObjectResult.cs index eb7f16d2b1fb..4922b11be2f1 100644 --- a/src/Mvc/Mvc.Core/src/ConflictObjectResult.cs +++ b/src/Mvc/Mvc.Core/src/ConflictObjectResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/ConflictResult.cs b/src/Mvc/Mvc.Core/src/ConflictResult.cs index a97acb8c315b..b4f3c0f1b9c3 100644 --- a/src/Mvc/Mvc.Core/src/ConflictResult.cs +++ b/src/Mvc/Mvc.Core/src/ConflictResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/ConsumesAttribute.cs b/src/Mvc/Mvc.Core/src/ConsumesAttribute.cs index 150781c49c27..ea4e3a6ae635 100644 --- a/src/Mvc/Mvc.Core/src/ConsumesAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ConsumesAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ContentResult.cs b/src/Mvc/Mvc.Core/src/ContentResult.cs index e1d86fc1f03f..e125f43f02b6 100644 --- a/src/Mvc/Mvc.Core/src/ContentResult.cs +++ b/src/Mvc/Mvc.Core/src/ContentResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/ControllerAttribute.cs b/src/Mvc/Mvc.Core/src/ControllerAttribute.cs index 2e225dac6d6b..9082d8d3ce2b 100644 --- a/src/Mvc/Mvc.Core/src/ControllerAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ControllerAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/ControllerBase.cs b/src/Mvc/Mvc.Core/src/ControllerBase.cs index 317e298a8aed..6180c3ba60b7 100644 --- a/src/Mvc/Mvc.Core/src/ControllerBase.cs +++ b/src/Mvc/Mvc.Core/src/ControllerBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/src/ControllerContext.cs b/src/Mvc/Mvc.Core/src/ControllerContext.cs index 2ec174ec11c5..b7637918fefd 100644 --- a/src/Mvc/Mvc.Core/src/ControllerContext.cs +++ b/src/Mvc/Mvc.Core/src/ControllerContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ControllerContextAttribute.cs b/src/Mvc/Mvc.Core/src/ControllerContextAttribute.cs index d2210420ba81..87f3722292fd 100644 --- a/src/Mvc/Mvc.Core/src/ControllerContextAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ControllerContextAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ControllerActionDescriptor.cs b/src/Mvc/Mvc.Core/src/Controllers/ControllerActionDescriptor.cs index df14307988fb..c3228b891e3b 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ControllerActionDescriptor.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ControllerActionDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ControllerActivatorProvider.cs b/src/Mvc/Mvc.Core/src/Controllers/ControllerActivatorProvider.cs index f3f25c1dd62d..02c6a3e1f11d 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ControllerActivatorProvider.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ControllerActivatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ControllerBinderDelegate.cs b/src/Mvc/Mvc.Core/src/Controllers/ControllerBinderDelegate.cs index 101bb0cabb3e..412810d6e95c 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ControllerBinderDelegate.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ControllerBinderDelegate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ControllerBinderDelegateProvider.cs b/src/Mvc/Mvc.Core/src/Controllers/ControllerBinderDelegateProvider.cs index b8c5788afb6d..2175ce8b5cd7 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ControllerBinderDelegateProvider.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ControllerBinderDelegateProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ControllerBoundPropertyDescriptor.cs b/src/Mvc/Mvc.Core/src/Controllers/ControllerBoundPropertyDescriptor.cs index 62b5a2e6f1b6..a43967ec1ef4 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ControllerBoundPropertyDescriptor.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ControllerBoundPropertyDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ControllerFactoryProvider.cs b/src/Mvc/Mvc.Core/src/Controllers/ControllerFactoryProvider.cs index 513a4a2fa4a7..6fc11352775b 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ControllerFactoryProvider.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ControllerFactoryProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ControllerFeature.cs b/src/Mvc/Mvc.Core/src/Controllers/ControllerFeature.cs index e3c8eaafc509..8fc2ea98025a 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ControllerFeature.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ControllerFeature.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ControllerFeatureProvider.cs b/src/Mvc/Mvc.Core/src/Controllers/ControllerFeatureProvider.cs index caff2fc22b9c..749a7fecb71e 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ControllerFeatureProvider.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ControllerFeatureProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ControllerParameterDescriptor.cs b/src/Mvc/Mvc.Core/src/Controllers/ControllerParameterDescriptor.cs index 0e1c01c0bb11..abb58f9024f0 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ControllerParameterDescriptor.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ControllerParameterDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerActivator.cs b/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerActivator.cs index 013c4eca7853..dfdd661577d4 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerActivator.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerFactory.cs b/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerFactory.cs index b520d4871a72..d32ca0c50289 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerFactory.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerPropertyActivator.cs b/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerPropertyActivator.cs index 406f9b90134d..3ab92dc81b95 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerPropertyActivator.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/DefaultControllerPropertyActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Core/src/Controllers/IControllerActivator.cs b/src/Mvc/Mvc.Core/src/Controllers/IControllerActivator.cs index 0fb0feacc169..f75651ae6e64 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/IControllerActivator.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/IControllerActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Controllers/IControllerActivatorProvider.cs b/src/Mvc/Mvc.Core/src/Controllers/IControllerActivatorProvider.cs index 00a911c7802f..18ae6c795670 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/IControllerActivatorProvider.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/IControllerActivatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Controllers/IControllerFactory.cs b/src/Mvc/Mvc.Core/src/Controllers/IControllerFactory.cs index 1fc5897921b6..6a112a93176d 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/IControllerFactory.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/IControllerFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Controllers/IControllerFactoryProvider.cs b/src/Mvc/Mvc.Core/src/Controllers/IControllerFactoryProvider.cs index 8076487697e2..16a1aa7324ea 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/IControllerFactoryProvider.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/IControllerFactoryProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Controllers/IControllerPropertyActivatorFactory.cs b/src/Mvc/Mvc.Core/src/Controllers/IControllerPropertyActivatorFactory.cs index 95d9cff4a5f3..e62f7278295d 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/IControllerPropertyActivatorFactory.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/IControllerPropertyActivatorFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Controllers/ServiceBasedControllerActivator.cs b/src/Mvc/Mvc.Core/src/Controllers/ServiceBasedControllerActivator.cs index 663a31daa0b9..e06d0065afd1 100644 --- a/src/Mvc/Mvc.Core/src/Controllers/ServiceBasedControllerActivator.cs +++ b/src/Mvc/Mvc.Core/src/Controllers/ServiceBasedControllerActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Mvc/Mvc.Core/src/CreatedAtActionResult.cs b/src/Mvc/Mvc.Core/src/CreatedAtActionResult.cs index 9f1c2d62ae13..30d85c6fca33 100644 --- a/src/Mvc/Mvc.Core/src/CreatedAtActionResult.cs +++ b/src/Mvc/Mvc.Core/src/CreatedAtActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/CreatedAtRouteResult.cs b/src/Mvc/Mvc.Core/src/CreatedAtRouteResult.cs index 3e74801e77d9..690ef46d6fcd 100644 --- a/src/Mvc/Mvc.Core/src/CreatedAtRouteResult.cs +++ b/src/Mvc/Mvc.Core/src/CreatedAtRouteResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/CreatedResult.cs b/src/Mvc/Mvc.Core/src/CreatedResult.cs index 79263abbcef3..bffe23c3a98e 100644 --- a/src/Mvc/Mvc.Core/src/CreatedResult.cs +++ b/src/Mvc/Mvc.Core/src/CreatedResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Mvc/Mvc.Core/src/DefaultApiConventions.cs b/src/Mvc/Mvc.Core/src/DefaultApiConventions.cs index c8eaad6b3b25..c95a43faf7ca 100644 --- a/src/Mvc/Mvc.Core/src/DefaultApiConventions.cs +++ b/src/Mvc/Mvc.Core/src/DefaultApiConventions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ApiExplorer; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/ApiBehaviorOptionsSetup.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/ApiBehaviorOptionsSetup.cs index d51bbfaf040e..1bd8ebc491de 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/ApiBehaviorOptionsSetup.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/ApiBehaviorOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/ApplicationModelConventionExtensions.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/ApplicationModelConventionExtensions.cs index 15f25d474c87..466603128fd7 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/ApplicationModelConventionExtensions.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/ApplicationModelConventionExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/IMvcBuilder.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/IMvcBuilder.cs index c1419690a4e6..b833f22b13ef 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/IMvcBuilder.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/IMvcBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/IMvcCoreBuilder.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/IMvcCoreBuilder.cs index 9263ebb51426..5d772327c6fd 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/IMvcCoreBuilder.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/IMvcCoreBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcBuilder.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcBuilder.cs index 2a339145df81..80d810752e90 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcBuilder.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreBuilder.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreBuilder.cs index b6674f65207b..0fa10973fff2 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreBuilder.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreMvcBuilderExtensions.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreMvcBuilderExtensions.cs index d38baf66b48d..cfeb66f985ee 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreMvcBuilderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreMvcBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreMvcCoreBuilderExtensions.cs index a55675281b53..2c0f896d55f1 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreRouteOptionsSetup.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreRouteOptionsSetup.cs index 85af370d9f8d..f85383e35a98 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreRouteOptionsSetup.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreRouteOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreServiceCollectionExtensions.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreServiceCollectionExtensions.cs index 6ba700b49b6c..010acb815021 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreServiceCollectionExtensions.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcCoreServiceCollectionExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcMarkerService.cs b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcMarkerService.cs index 337a1baca5ce..153f01a56417 100644 --- a/src/Mvc/Mvc.Core/src/DependencyInjection/MvcMarkerService.cs +++ b/src/Mvc/Mvc.Core/src/DependencyInjection/MvcMarkerService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.Extensions.DependencyInjection { diff --git a/src/Mvc/Mvc.Core/src/Diagnostics/EventData.cs b/src/Mvc/Mvc.Core/src/Diagnostics/EventData.cs index 3772e93653f3..c7d1a89c44d9 100644 --- a/src/Mvc/Mvc.Core/src/Diagnostics/EventData.cs +++ b/src/Mvc/Mvc.Core/src/Diagnostics/EventData.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Core/src/Diagnostics/MvcDiagnostics.cs b/src/Mvc/Mvc.Core/src/Diagnostics/MvcDiagnostics.cs index 7d818fdaf03e..9ac27aca38f2 100644 --- a/src/Mvc/Mvc.Core/src/Diagnostics/MvcDiagnostics.cs +++ b/src/Mvc/Mvc.Core/src/Diagnostics/MvcDiagnostics.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/DisableRequestSizeLimitAttribute.cs b/src/Mvc/Mvc.Core/src/DisableRequestSizeLimitAttribute.cs index 0c327e28a655..c5cee18610a2 100644 --- a/src/Mvc/Mvc.Core/src/DisableRequestSizeLimitAttribute.cs +++ b/src/Mvc/Mvc.Core/src/DisableRequestSizeLimitAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/EmptyResult.cs b/src/Mvc/Mvc.Core/src/EmptyResult.cs index dbe278e7a487..8378e5e3f04a 100644 --- a/src/Mvc/Mvc.Core/src/EmptyResult.cs +++ b/src/Mvc/Mvc.Core/src/EmptyResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/Mvc.Core/src/FileContentResult.cs b/src/Mvc/Mvc.Core/src/FileContentResult.cs index 7fcb8729112f..7146699eb468 100644 --- a/src/Mvc/Mvc.Core/src/FileContentResult.cs +++ b/src/Mvc/Mvc.Core/src/FileContentResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Mvc/Mvc.Core/src/FileResult.cs b/src/Mvc/Mvc.Core/src/FileResult.cs index 8f5d9b86d3b9..770d40703a22 100644 --- a/src/Mvc/Mvc.Core/src/FileResult.cs +++ b/src/Mvc/Mvc.Core/src/FileResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Mvc/Mvc.Core/src/FileStreamResult.cs b/src/Mvc/Mvc.Core/src/FileStreamResult.cs index ba358eeb09c4..ddddfcc783eb 100644 --- a/src/Mvc/Mvc.Core/src/FileStreamResult.cs +++ b/src/Mvc/Mvc.Core/src/FileStreamResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Mvc/Mvc.Core/src/Filters/ActionFilterAttribute.cs b/src/Mvc/Mvc.Core/src/Filters/ActionFilterAttribute.cs index efb06d56ce0c..a6412a9706a0 100644 --- a/src/Mvc/Mvc.Core/src/Filters/ActionFilterAttribute.cs +++ b/src/Mvc/Mvc.Core/src/Filters/ActionFilterAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Filters/ControllerActionFilter.cs b/src/Mvc/Mvc.Core/src/Filters/ControllerActionFilter.cs index c169d8173c21..787693f1c49f 100644 --- a/src/Mvc/Mvc.Core/src/Filters/ControllerActionFilter.cs +++ b/src/Mvc/Mvc.Core/src/Filters/ControllerActionFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Filters/ControllerResultFilter.cs b/src/Mvc/Mvc.Core/src/Filters/ControllerResultFilter.cs index 3352c92a9d2a..c86034c78842 100644 --- a/src/Mvc/Mvc.Core/src/Filters/ControllerResultFilter.cs +++ b/src/Mvc/Mvc.Core/src/Filters/ControllerResultFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Filters/DefaultFilterProvider.cs b/src/Mvc/Mvc.Core/src/Filters/DefaultFilterProvider.cs index fd0556f96138..60a77d7083b3 100644 --- a/src/Mvc/Mvc.Core/src/Filters/DefaultFilterProvider.cs +++ b/src/Mvc/Mvc.Core/src/Filters/DefaultFilterProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Core/src/Filters/DisableRequestSizeLimitFilter.cs b/src/Mvc/Mvc.Core/src/Filters/DisableRequestSizeLimitFilter.cs index 75818a637390..166318783336 100644 --- a/src/Mvc/Mvc.Core/src/Filters/DisableRequestSizeLimitFilter.cs +++ b/src/Mvc/Mvc.Core/src/Filters/DisableRequestSizeLimitFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http.Features; diff --git a/src/Mvc/Mvc.Core/src/Filters/ExceptionFilterAttribute.cs b/src/Mvc/Mvc.Core/src/Filters/ExceptionFilterAttribute.cs index e6efec0d2e24..744a6fb20890 100644 --- a/src/Mvc/Mvc.Core/src/Filters/ExceptionFilterAttribute.cs +++ b/src/Mvc/Mvc.Core/src/Filters/ExceptionFilterAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Filters/FilterCollection.cs b/src/Mvc/Mvc.Core/src/Filters/FilterCollection.cs index ca522d769592..e858d41c5081 100644 --- a/src/Mvc/Mvc.Core/src/Filters/FilterCollection.cs +++ b/src/Mvc/Mvc.Core/src/Filters/FilterCollection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.ObjectModel; diff --git a/src/Mvc/Mvc.Core/src/Filters/FilterCursor.cs b/src/Mvc/Mvc.Core/src/Filters/FilterCursor.cs index 679a94464795..1bb331684d9d 100644 --- a/src/Mvc/Mvc.Core/src/Filters/FilterCursor.cs +++ b/src/Mvc/Mvc.Core/src/Filters/FilterCursor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Core/src/Filters/FilterCursorItem.cs b/src/Mvc/Mvc.Core/src/Filters/FilterCursorItem.cs index c925d49ab24a..11048e05f545 100644 --- a/src/Mvc/Mvc.Core/src/Filters/FilterCursorItem.cs +++ b/src/Mvc/Mvc.Core/src/Filters/FilterCursorItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Core/src/Filters/FilterDescriptorOrderComparer.cs b/src/Mvc/Mvc.Core/src/Filters/FilterDescriptorOrderComparer.cs index 33256705b605..4ffc44bb1f45 100644 --- a/src/Mvc/Mvc.Core/src/Filters/FilterDescriptorOrderComparer.cs +++ b/src/Mvc/Mvc.Core/src/Filters/FilterDescriptorOrderComparer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Filters/FilterFactory.cs b/src/Mvc/Mvc.Core/src/Filters/FilterFactory.cs index cc7563703b1d..df6f0ac20bc4 100644 --- a/src/Mvc/Mvc.Core/src/Filters/FilterFactory.cs +++ b/src/Mvc/Mvc.Core/src/Filters/FilterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Filters/FilterFactoryResult.cs b/src/Mvc/Mvc.Core/src/Filters/FilterFactoryResult.cs index 2f03f4d30567..811d818da7c9 100644 --- a/src/Mvc/Mvc.Core/src/Filters/FilterFactoryResult.cs +++ b/src/Mvc/Mvc.Core/src/Filters/FilterFactoryResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Core/src/Filters/FilterScope.cs b/src/Mvc/Mvc.Core/src/Filters/FilterScope.cs index 57552637c45f..25a0d48a358e 100644 --- a/src/Mvc/Mvc.Core/src/Filters/FilterScope.cs +++ b/src/Mvc/Mvc.Core/src/Filters/FilterScope.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Core/src/Filters/IMiddlewareFilterFeature.cs b/src/Mvc/Mvc.Core/src/Filters/IMiddlewareFilterFeature.cs index 40e2f03f9ddb..daf07a6487a2 100644 --- a/src/Mvc/Mvc.Core/src/Filters/IMiddlewareFilterFeature.cs +++ b/src/Mvc/Mvc.Core/src/Filters/IMiddlewareFilterFeature.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Core/src/Filters/IResponseCacheFilter.cs b/src/Mvc/Mvc.Core/src/Filters/IResponseCacheFilter.cs index 9d430796245b..cf2ba02bd5fd 100644 --- a/src/Mvc/Mvc.Core/src/Filters/IResponseCacheFilter.cs +++ b/src/Mvc/Mvc.Core/src/Filters/IResponseCacheFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilter.cs b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilter.cs index d84bd188c809..6be3bb7d65a1 100644 --- a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilter.cs +++ b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterAttribute.cs b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterAttribute.cs index a3a50e035b2f..a879a55f2654 100644 --- a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterAttribute.cs +++ b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs index 1e5343c25486..b002a444f72e 100644 --- a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs +++ b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilderStartupFilter.cs b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilderStartupFilter.cs index 563942e57cd4..1a1f6ca51b87 100644 --- a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilderStartupFilter.cs +++ b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterBuilderStartupFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterConfigurationProvider.cs b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterConfigurationProvider.cs index 559dd32de1e7..16a9f1ae5d27 100644 --- a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterConfigurationProvider.cs +++ b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterConfigurationProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterFeature.cs b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterFeature.cs index 64be942238d5..5f7bb8172838 100644 --- a/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterFeature.cs +++ b/src/Mvc/Mvc.Core/src/Filters/MiddlewareFilterFeature.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.Core/src/Filters/RequestFormLimitsFilter.cs b/src/Mvc/Mvc.Core/src/Filters/RequestFormLimitsFilter.cs index d063c5c55310..8f9b7cfe56cb 100644 --- a/src/Mvc/Mvc.Core/src/Filters/RequestFormLimitsFilter.cs +++ b/src/Mvc/Mvc.Core/src/Filters/RequestFormLimitsFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http.Features; diff --git a/src/Mvc/Mvc.Core/src/Filters/RequestSizeLimitFilter.cs b/src/Mvc/Mvc.Core/src/Filters/RequestSizeLimitFilter.cs index 660065e8c97a..12ecdd86ce0a 100644 --- a/src/Mvc/Mvc.Core/src/Filters/RequestSizeLimitFilter.cs +++ b/src/Mvc/Mvc.Core/src/Filters/RequestSizeLimitFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/src/Filters/ResponseCacheFilter.cs b/src/Mvc/Mvc.Core/src/Filters/ResponseCacheFilter.cs index b59000299671..e5584198c40f 100644 --- a/src/Mvc/Mvc.Core/src/Filters/ResponseCacheFilter.cs +++ b/src/Mvc/Mvc.Core/src/Filters/ResponseCacheFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.Logging; diff --git a/src/Mvc/Mvc.Core/src/Filters/ResponseCacheFilterExecutor.cs b/src/Mvc/Mvc.Core/src/Filters/ResponseCacheFilterExecutor.cs index c6bbc771a360..367cc75cf7d9 100644 --- a/src/Mvc/Mvc.Core/src/Filters/ResponseCacheFilterExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Filters/ResponseCacheFilterExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/Filters/ResultFilterAttribute.cs b/src/Mvc/Mvc.Core/src/Filters/ResultFilterAttribute.cs index b7ff6806611c..70b57b261642 100644 --- a/src/Mvc/Mvc.Core/src/Filters/ResultFilterAttribute.cs +++ b/src/Mvc/Mvc.Core/src/Filters/ResultFilterAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/ForbidResult.cs b/src/Mvc/Mvc.Core/src/ForbidResult.cs index 785ffd752949..e2f32c6cae93 100644 --- a/src/Mvc/Mvc.Core/src/ForbidResult.cs +++ b/src/Mvc/Mvc.Core/src/ForbidResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/FormatFilterAttribute.cs b/src/Mvc/Mvc.Core/src/FormatFilterAttribute.cs index dab307f89ddd..ea3c9b2b7dc7 100644 --- a/src/Mvc/Mvc.Core/src/FormatFilterAttribute.cs +++ b/src/Mvc/Mvc.Core/src/FormatFilterAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/Formatters/AcceptHeaderParser.cs b/src/Mvc/Mvc.Core/src/Formatters/AcceptHeaderParser.cs index 16e26b21657c..2928a83f0cd2 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/AcceptHeaderParser.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/AcceptHeaderParser.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Formatters/FormatFilter.cs b/src/Mvc/Mvc.Core/src/Formatters/FormatFilter.cs index 059a5a14d7f5..db155d3e7d7a 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/FormatFilter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/FormatFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/src/Formatters/FormatterMappings.cs b/src/Mvc/Mvc.Core/src/Formatters/FormatterMappings.cs index ccc1d6b48c82..5b6487391c02 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/FormatterMappings.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/FormatterMappings.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Formatters/HttpNoContentOutputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/HttpNoContentOutputFormatter.cs index 244ffa829e20..c37a36f3e709 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/HttpNoContentOutputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/HttpNoContentOutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/Formatters/HttpParseResult.cs b/src/Mvc/Mvc.Core/src/Formatters/HttpParseResult.cs index 71b0f57a7ed3..9969b949d847 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/HttpParseResult.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/HttpParseResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Formatters { diff --git a/src/Mvc/Mvc.Core/src/Formatters/HttpTokenParsingRules.cs b/src/Mvc/Mvc.Core/src/Formatters/HttpTokenParsingRules.cs index db9f8f444c6e..945c229e9a52 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/HttpTokenParsingRules.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/HttpTokenParsingRules.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.Text; diff --git a/src/Mvc/Mvc.Core/src/Formatters/IFormatFilter.cs b/src/Mvc/Mvc.Core/src/Formatters/IFormatFilter.cs index 6e49bbb3103c..db3c5eb481e7 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/IFormatFilter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/IFormatFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/Formatters/InputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/InputFormatter.cs index ce31d6e46bba..b997834cfd71 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/InputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/InputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Formatters/MediaType.cs b/src/Mvc/Mvc.Core/src/Formatters/MediaType.cs index 58ba5ac4187b..b7004ca2dd59 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/MediaType.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/MediaType.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/src/Formatters/MediaTypeCollection.cs b/src/Mvc/Mvc.Core/src/Formatters/MediaTypeCollection.cs index a596862b361e..75db0cd37395 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/MediaTypeCollection.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/MediaTypeCollection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.ObjectModel; diff --git a/src/Mvc/Mvc.Core/src/Formatters/MediaTypeHeaderValues.cs b/src/Mvc/Mvc.Core/src/Formatters/MediaTypeHeaderValues.cs index 8d1eaae71708..3758b00fbfbb 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/MediaTypeHeaderValues.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/MediaTypeHeaderValues.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Net.Http.Headers; diff --git a/src/Mvc/Mvc.Core/src/Formatters/MediaTypeSegmentWithQuality.cs b/src/Mvc/Mvc.Core/src/Formatters/MediaTypeSegmentWithQuality.cs index 66714ae17bdf..302efb8c752d 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/MediaTypeSegmentWithQuality.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/MediaTypeSegmentWithQuality.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Primitives; diff --git a/src/Mvc/Mvc.Core/src/Formatters/OutputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/OutputFormatter.cs index 4f30c0cd1b02..e1d4bde0c58d 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/OutputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/OutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Formatters/ResponseContentTypeHelper.cs b/src/Mvc/Mvc.Core/src/Formatters/ResponseContentTypeHelper.cs index 31ba0b303d8d..fdb1782c2584 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/ResponseContentTypeHelper.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/ResponseContentTypeHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Formatters/StreamOutputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/StreamOutputFormatter.cs index fe95c27ffce3..5e3d9ebb97f4 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/StreamOutputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/StreamOutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/src/Formatters/StringOutputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/StringOutputFormatter.cs index 23d00c5608c9..640f357af160 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/StringOutputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/StringOutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text; diff --git a/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonInputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonInputFormatter.cs index 37e78b7ca9d1..43d8d5cbeb8a 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonInputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonInputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonOutputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonOutputFormatter.cs index 0c60b0efcd9e..e372782b3b91 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonOutputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/SystemTextJsonOutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.ExceptionServices; diff --git a/src/Mvc/Mvc.Core/src/Formatters/TextInputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/TextInputFormatter.cs index a4dc61ce9a3d..9da4e1e74f39 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/TextInputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/TextInputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Formatters/TextOutputFormatter.cs b/src/Mvc/Mvc.Core/src/Formatters/TextOutputFormatter.cs index 448a2ec2d64c..744542e0dc1a 100644 --- a/src/Mvc/Mvc.Core/src/Formatters/TextOutputFormatter.cs +++ b/src/Mvc/Mvc.Core/src/Formatters/TextOutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/FromBodyAttribute.cs b/src/Mvc/Mvc.Core/src/FromBodyAttribute.cs index c3d1b46f3ddc..7ce2c753563a 100644 --- a/src/Mvc/Mvc.Core/src/FromBodyAttribute.cs +++ b/src/Mvc/Mvc.Core/src/FromBodyAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.Core/src/FromFormAttribute.cs b/src/Mvc/Mvc.Core/src/FromFormAttribute.cs index a2237fe1f1f5..4aa3f8896bda 100644 --- a/src/Mvc/Mvc.Core/src/FromFormAttribute.cs +++ b/src/Mvc/Mvc.Core/src/FromFormAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http.Metadata; diff --git a/src/Mvc/Mvc.Core/src/FromHeaderAttribute.cs b/src/Mvc/Mvc.Core/src/FromHeaderAttribute.cs index e152adbfcba3..c45f7ec564fa 100644 --- a/src/Mvc/Mvc.Core/src/FromHeaderAttribute.cs +++ b/src/Mvc/Mvc.Core/src/FromHeaderAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http.Metadata; diff --git a/src/Mvc/Mvc.Core/src/FromQueryAttribute.cs b/src/Mvc/Mvc.Core/src/FromQueryAttribute.cs index 65bc452e7270..ab273c8b952f 100644 --- a/src/Mvc/Mvc.Core/src/FromQueryAttribute.cs +++ b/src/Mvc/Mvc.Core/src/FromQueryAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http.Metadata; diff --git a/src/Mvc/Mvc.Core/src/FromRouteAttribute.cs b/src/Mvc/Mvc.Core/src/FromRouteAttribute.cs index bb70451fef91..359772462223 100644 --- a/src/Mvc/Mvc.Core/src/FromRouteAttribute.cs +++ b/src/Mvc/Mvc.Core/src/FromRouteAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/FromServicesAttribute.cs b/src/Mvc/Mvc.Core/src/FromServicesAttribute.cs index 41c993429383..26c8f177fdd6 100644 --- a/src/Mvc/Mvc.Core/src/FromServicesAttribute.cs +++ b/src/Mvc/Mvc.Core/src/FromServicesAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http.Metadata; diff --git a/src/Mvc/Mvc.Core/src/HttpDeleteAttribute.cs b/src/Mvc/Mvc.Core/src/HttpDeleteAttribute.cs index 5ad70affeb39..283f876fdf90 100644 --- a/src/Mvc/Mvc.Core/src/HttpDeleteAttribute.cs +++ b/src/Mvc/Mvc.Core/src/HttpDeleteAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/HttpGetAttribute.cs b/src/Mvc/Mvc.Core/src/HttpGetAttribute.cs index ada829e31bab..da8d2d3dbe57 100644 --- a/src/Mvc/Mvc.Core/src/HttpGetAttribute.cs +++ b/src/Mvc/Mvc.Core/src/HttpGetAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/HttpHeadAttribute.cs b/src/Mvc/Mvc.Core/src/HttpHeadAttribute.cs index dc021177d5b5..b3e8cee513bf 100644 --- a/src/Mvc/Mvc.Core/src/HttpHeadAttribute.cs +++ b/src/Mvc/Mvc.Core/src/HttpHeadAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/HttpOptionsAttribute.cs b/src/Mvc/Mvc.Core/src/HttpOptionsAttribute.cs index f52ba3359c65..8cb193426e72 100644 --- a/src/Mvc/Mvc.Core/src/HttpOptionsAttribute.cs +++ b/src/Mvc/Mvc.Core/src/HttpOptionsAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/HttpPatchAttribute.cs b/src/Mvc/Mvc.Core/src/HttpPatchAttribute.cs index 33639f2bec54..0c2e2c9918e1 100644 --- a/src/Mvc/Mvc.Core/src/HttpPatchAttribute.cs +++ b/src/Mvc/Mvc.Core/src/HttpPatchAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/HttpPostAttribute.cs b/src/Mvc/Mvc.Core/src/HttpPostAttribute.cs index 992ea0f615e1..31c30a7e6a7c 100644 --- a/src/Mvc/Mvc.Core/src/HttpPostAttribute.cs +++ b/src/Mvc/Mvc.Core/src/HttpPostAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/HttpPutAttribute.cs b/src/Mvc/Mvc.Core/src/HttpPutAttribute.cs index eb018395bf8b..22a21ac2fd8f 100644 --- a/src/Mvc/Mvc.Core/src/HttpPutAttribute.cs +++ b/src/Mvc/Mvc.Core/src/HttpPutAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/IDesignTimeMvcBuilderConfiguration.cs b/src/Mvc/Mvc.Core/src/IDesignTimeMvcBuilderConfiguration.cs index 312642b052c0..84e418a1e35e 100644 --- a/src/Mvc/Mvc.Core/src/IDesignTimeMvcBuilderConfiguration.cs +++ b/src/Mvc/Mvc.Core/src/IDesignTimeMvcBuilderConfiguration.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.DependencyInjection; diff --git a/src/Mvc/Mvc.Core/src/IRequestFormLimitsPolicy.cs b/src/Mvc/Mvc.Core/src/IRequestFormLimitsPolicy.cs index c55608d59d87..a3ad987246cf 100644 --- a/src/Mvc/Mvc.Core/src/IRequestFormLimitsPolicy.cs +++ b/src/Mvc/Mvc.Core/src/IRequestFormLimitsPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/IRequestSizePolicy.cs b/src/Mvc/Mvc.Core/src/IRequestSizePolicy.cs index 6005da9b9b8e..bad3450c9344 100644 --- a/src/Mvc/Mvc.Core/src/IRequestSizePolicy.cs +++ b/src/Mvc/Mvc.Core/src/IRequestSizePolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionContextAccessor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionContextAccessor.cs index fb2ff2614f0a..dfafa1eb121a 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionContextAccessor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionContextAccessor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionDescriptorCollection.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionDescriptorCollection.cs index 7e694ad21e5c..e9191f0e5a96 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionDescriptorCollection.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionDescriptorCollection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionDescriptorCollectionProvider.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionDescriptorCollectionProvider.cs index 01647fb7b9b5..c0baa60e1257 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionDescriptorCollectionProvider.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionDescriptorCollectionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionInvokerFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionInvokerFactory.cs index 92e9d14126af..6befa5eda1f8 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionInvokerFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionInvokerFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionMethodExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionMethodExecutor.cs index 94b376bb9e41..d40c61ae88d6 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionMethodExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionMethodExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultObjectValueAttribute.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultObjectValueAttribute.cs index 6cf787f582f9..8ad064fedf4c 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultObjectValueAttribute.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultObjectValueAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultStatusCodeAttribute.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultStatusCodeAttribute.cs index 089c00a2e2a5..2f95e0e276ed 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultStatusCodeAttribute.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultStatusCodeAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultTypeMapper.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultTypeMapper.cs index ca6748a57267..21ab4b47d4bc 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultTypeMapper.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionResultTypeMapper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionSelectionTable.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionSelectionTable.cs index 07d19dd735b9..1c7186d3dc24 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionSelectionTable.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionSelectionTable.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ActionSelector.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ActionSelector.cs index d8ca83de0f15..adf6ba886219 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ActionSelector.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ActionSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/AmbiguousActionException.cs b/src/Mvc/Mvc.Core/src/Infrastructure/AmbiguousActionException.cs index 82b1d60bfe64..a9074ad04e8a 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/AmbiguousActionException.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/AmbiguousActionException.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/AsyncEnumerableReader.cs b/src/Mvc/Mvc.Core/src/Infrastructure/AsyncEnumerableReader.cs index 4cd5b546ed27..3f8f1431c736 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/AsyncEnumerableReader.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/AsyncEnumerableReader.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ClientErrorResultFilter.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ClientErrorResultFilter.cs index 127f69a88bbd..fa05ae87a339 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ClientErrorResultFilter.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ClientErrorResultFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ClientErrorResultFilterFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ClientErrorResultFilterFactory.cs index d3817d1bd012..a6d896ed89f1 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ClientErrorResultFilterFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ClientErrorResultFilterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/CompatibilitySwitch.cs b/src/Mvc/Mvc.Core/src/Infrastructure/CompatibilitySwitch.cs index 0c070ecbe4b8..cf74b1348178 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/CompatibilitySwitch.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/CompatibilitySwitch.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.Options; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ConfigureCompatibilityOptions.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ConfigureCompatibilityOptions.cs index 844e92190437..cbf1252d52b9 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ConfigureCompatibilityOptions.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ConfigureCompatibilityOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ContentResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ContentResultExecutor.cs index 865c8b2d377a..f7e8876b876d 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ContentResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ContentResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs index 6ad1e30a6d1c..d3f8d9455f01 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvoker.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerCache.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerCache.cs index 74bb34db4e62..ff2f01253049 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerCache.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerCacheEntry.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerCacheEntry.cs index d74174b91fd3..eb61a482a175 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerCacheEntry.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerCacheEntry.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerProvider.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerProvider.cs index 3fa37f7f6f3f..dd576bf2c8ad 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerProvider.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ControllerActionInvokerProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/CopyOnWriteList.cs b/src/Mvc/Mvc.Core/src/Infrastructure/CopyOnWriteList.cs index ea876a37f57d..2ce7663f6a72 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/CopyOnWriteList.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/CopyOnWriteList.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/DefaultActionDescriptorCollectionProvider.cs b/src/Mvc/Mvc.Core/src/Infrastructure/DefaultActionDescriptorCollectionProvider.cs index b49a966df186..6d3bf7552d29 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/DefaultActionDescriptorCollectionProvider.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/DefaultActionDescriptorCollectionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/DefaultOutputFormatterSelector.cs b/src/Mvc/Mvc.Core/src/Infrastructure/DefaultOutputFormatterSelector.cs index d6c911e66359..bb55b42f455b 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/DefaultOutputFormatterSelector.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/DefaultOutputFormatterSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/DefaultProblemDetailsFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/DefaultProblemDetailsFactory.cs index 863b713903c2..fed8438f4091 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/DefaultProblemDetailsFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/DefaultProblemDetailsFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/DefaultStatusCodeAttribute.cs b/src/Mvc/Mvc.Core/src/Infrastructure/DefaultStatusCodeAttribute.cs index c47920026fd1..0e269b9a58d4 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/DefaultStatusCodeAttribute.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/DefaultStatusCodeAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/FileContentResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/FileContentResultExecutor.cs index a6d7f937e7be..0165e5207fe9 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/FileContentResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/FileContentResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/FileResultExecutorBase.cs b/src/Mvc/Mvc.Core/src/Infrastructure/FileResultExecutorBase.cs index 99ea3cb0554a..1d27af97fd9d 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/FileResultExecutorBase.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/FileResultExecutorBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/FileStreamResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/FileStreamResultExecutor.cs index ce6295cf0f51..d6b0c14ab4c7 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/FileStreamResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/FileStreamResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IActionContextAccessor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IActionContextAccessor.cs index 3a153203e73f..c6468463ae87 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IActionContextAccessor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IActionContextAccessor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IActionDescriptorChangeProvider.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IActionDescriptorChangeProvider.cs index ac95355abe2a..225b1c4c6c3d 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IActionDescriptorChangeProvider.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IActionDescriptorChangeProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IActionDescriptorCollectionProvider.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IActionDescriptorCollectionProvider.cs index 5979353033ef..ffb9cd854986 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IActionDescriptorCollectionProvider.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IActionDescriptorCollectionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IActionInvokerFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IActionInvokerFactory.cs index c86c35627568..0442dee15dc2 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IActionInvokerFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IActionInvokerFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IActionResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IActionResultExecutor.cs index 1b6074884259..140063021141 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IActionResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IActionResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IActionResultTypeMapper.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IActionResultTypeMapper.cs index 2c06dc2f7e0c..b8e4481e3699 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IActionResultTypeMapper.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IActionResultTypeMapper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IActionSelector.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IActionSelector.cs index 3f250fc06ce6..441433e60136 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IActionSelector.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IActionSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IAntiforgeryValidationFailedResult.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IAntiforgeryValidationFailedResult.cs index bfd9022a638a..b314eebb2b69 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IAntiforgeryValidationFailedResult.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IAntiforgeryValidationFailedResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IApiBehaviorMetadata.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IApiBehaviorMetadata.cs index bc9080d589f2..e7581cd20910 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IApiBehaviorMetadata.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IApiBehaviorMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorActionResult.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorActionResult.cs index ee02de3cc0ce..499a1bc6e661 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorActionResult.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorFactory.cs index b69bcbdccdab..f67cd8a28910 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IClientErrorFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ICompatibilitySwitch.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ICompatibilitySwitch.cs index 6f723db0e2aa..23b95cedc280 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ICompatibilitySwitch.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ICompatibilitySwitch.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Infrastructure { diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IConvertToActionResult.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IConvertToActionResult.cs index c7ab3d62d678..c8ea10a212a0 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IConvertToActionResult.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IConvertToActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IHttpRequestStreamReaderFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IHttpRequestStreamReaderFactory.cs index 0f5cdf7069e2..d8c93a3e02fc 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IHttpRequestStreamReaderFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IHttpRequestStreamReaderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IHttpResponseStreamWriterFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IHttpResponseStreamWriterFactory.cs index 285ce4416845..beb7216d82e4 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IHttpResponseStreamWriterFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IHttpResponseStreamWriterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IParameterInfoParameterDescriptor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IParameterInfoParameterDescriptor.cs index 7310cff1c5c4..4fe09235633f 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IParameterInfoParameterDescriptor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IParameterInfoParameterDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IPropertyInfoParameterDescriptor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IPropertyInfoParameterDescriptor.cs index 115c8f4b4c8b..e5d2151ad737 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IPropertyInfoParameterDescriptor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IPropertyInfoParameterDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/IStatusCodeActionResult.cs b/src/Mvc/Mvc.Core/src/Infrastructure/IStatusCodeActionResult.cs index 0cb1e0820efa..b0e90ce8ec44 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/IStatusCodeActionResult.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/IStatusCodeActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ITypeActivatorCache.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ITypeActivatorCache.cs index e703f1119561..7ac68e255ae3 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ITypeActivatorCache.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ITypeActivatorCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/LocalRedirectResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/LocalRedirectResultExecutor.cs index cf1e8dad1d96..25f11866c6f9 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/LocalRedirectResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/LocalRedirectResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/MemoryPoolHttpRequestStreamReaderFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/MemoryPoolHttpRequestStreamReaderFactory.cs index d9d3a4e0f740..20241c7f8f32 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/MemoryPoolHttpRequestStreamReaderFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/MemoryPoolHttpRequestStreamReaderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/MemoryPoolHttpResponseStreamWriterFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/MemoryPoolHttpResponseStreamWriterFactory.cs index 71ddf556e476..6756e1279ac6 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/MemoryPoolHttpResponseStreamWriterFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/MemoryPoolHttpResponseStreamWriterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ModelStateInvalidFilter.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ModelStateInvalidFilter.cs index 77831ece8f3b..f01f7780ce4a 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ModelStateInvalidFilter.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ModelStateInvalidFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ModelStateInvalidFilterFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ModelStateInvalidFilterFactory.cs index 7b6cfb369f1f..4aee6fa0f41f 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ModelStateInvalidFilterFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ModelStateInvalidFilterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/MvcCompatibilityOptions.cs b/src/Mvc/Mvc.Core/src/Infrastructure/MvcCompatibilityOptions.cs index 126a0e95e0d7..56b3d7c5d4df 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/MvcCompatibilityOptions.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/MvcCompatibilityOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/MvcCoreMvcOptionsSetup.cs b/src/Mvc/Mvc.Core/src/Infrastructure/MvcCoreMvcOptionsSetup.cs index c1da4dec8c39..f301afa6b0b9 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/MvcCoreMvcOptionsSetup.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/MvcCoreMvcOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/NonDisposableStream.cs b/src/Mvc/Mvc.Core/src/Infrastructure/NonDisposableStream.cs index 6a7e60ce79b8..c3fc7996fc79 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/NonDisposableStream.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/NonDisposableStream.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ObjectResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ObjectResultExecutor.cs index 75a4dc9f9f78..a03012d715f2 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ObjectResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ObjectResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/OrderedEndpointsSequenceProvider.cs b/src/Mvc/Mvc.Core/src/Infrastructure/OrderedEndpointsSequenceProvider.cs index 97f970cf9461..38d2bcc4203a 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/OrderedEndpointsSequenceProvider.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/OrderedEndpointsSequenceProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/OrderedEndpointsSequenceProviderCache.cs b/src/Mvc/Mvc.Core/src/Infrastructure/OrderedEndpointsSequenceProviderCache.cs index efeffe1330ea..c318ad3b20dc 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/OrderedEndpointsSequenceProviderCache.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/OrderedEndpointsSequenceProviderCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/OutputFormatterSelector.cs b/src/Mvc/Mvc.Core/src/Infrastructure/OutputFormatterSelector.cs index 77073c1d643f..a5a4a54f1a77 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/OutputFormatterSelector.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/OutputFormatterSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ParameterDefaultValues.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ParameterDefaultValues.cs index dd69a6636366..5974c080b049 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ParameterDefaultValues.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ParameterDefaultValues.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/PhysicalFileResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/PhysicalFileResultExecutor.cs index 7d1b5cfa161d..88f5067b5041 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/PhysicalFileResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/PhysicalFileResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsClientErrorFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsClientErrorFactory.cs index b213a4e2fbf5..551c2068cfdc 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsClientErrorFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsClientErrorFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsFactory.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsFactory.cs index a2ecb0a330fa..a147b2659aeb 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsFactory.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsJsonConverter.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsJsonConverter.cs index 59f3d7076c07..98a95c34f080 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsJsonConverter.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ProblemDetailsJsonConverter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/RedirectResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/RedirectResultExecutor.cs index f229e19b1c0b..97915dbeda09 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/RedirectResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/RedirectResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToActionResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToActionResultExecutor.cs index c36a84261c74..f34f25a75e11 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToActionResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToActionResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToPageResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToPageResultExecutor.cs index 31b426826a14..781b0cc0deab 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToPageResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToPageResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToRouteResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToRouteResultExecutor.cs index d6b91a4f7872..9df7f2e7c48e 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToRouteResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/RedirectToRouteResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs index e5604a100032..22d408e37481 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ResourceInvoker.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/StringArrayComparer.cs b/src/Mvc/Mvc.Core/src/Infrastructure/StringArrayComparer.cs index 715b6c489b6f..11aa114808e2 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/StringArrayComparer.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/StringArrayComparer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/SystemTextJsonResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/SystemTextJsonResultExecutor.cs index 6672925961a8..73e2fc498c7d 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/SystemTextJsonResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/SystemTextJsonResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/TypeActivatorCache.cs b/src/Mvc/Mvc.Core/src/Infrastructure/TypeActivatorCache.cs index e822b2a18945..2ba88d286de7 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/TypeActivatorCache.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/TypeActivatorCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/ValidationProblemDetailsJsonConverter.cs b/src/Mvc/Mvc.Core/src/Infrastructure/ValidationProblemDetailsJsonConverter.cs index 49f361fcc896..d01d3be1805c 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/ValidationProblemDetailsJsonConverter.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/ValidationProblemDetailsJsonConverter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Infrastructure/VirtualFileResultExecutor.cs b/src/Mvc/Mvc.Core/src/Infrastructure/VirtualFileResultExecutor.cs index 68e5da333b4c..530772a038eb 100644 --- a/src/Mvc/Mvc.Core/src/Infrastructure/VirtualFileResultExecutor.cs +++ b/src/Mvc/Mvc.Core/src/Infrastructure/VirtualFileResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/JsonOptions.cs b/src/Mvc/Mvc.Core/src/JsonOptions.cs index a72ce460c146..d5b1d7c26e9d 100644 --- a/src/Mvc/Mvc.Core/src/JsonOptions.cs +++ b/src/Mvc/Mvc.Core/src/JsonOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text.Json; using Microsoft.AspNetCore.Mvc.Formatters; diff --git a/src/Mvc/Mvc.Core/src/JsonResult.cs b/src/Mvc/Mvc.Core/src/JsonResult.cs index a31e55e61d3f..adc87aad2bd5 100644 --- a/src/Mvc/Mvc.Core/src/JsonResult.cs +++ b/src/Mvc/Mvc.Core/src/JsonResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text.Json; diff --git a/src/Mvc/Mvc.Core/src/LocalRedirectResult.cs b/src/Mvc/Mvc.Core/src/LocalRedirectResult.cs index 5efbb523d6dc..78c6bd2bb7c9 100644 --- a/src/Mvc/Mvc.Core/src/LocalRedirectResult.cs +++ b/src/Mvc/Mvc.Core/src/LocalRedirectResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Mvc/Mvc.Core/src/ModelBinderAttribute.cs b/src/Mvc/Mvc.Core/src/ModelBinderAttribute.cs index 535e9f83664d..126303dcd9df 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinderAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinderAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Core; diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/BindNeverAttribute.cs b/src/Mvc/Mvc.Core/src/ModelBinding/BindNeverAttribute.cs index 345a90903f55..270b9d345eff 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/BindNeverAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/BindNeverAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/BindRequiredAttribute.cs b/src/Mvc/Mvc.Core/src/ModelBinding/BindRequiredAttribute.cs index 0d853b337f39..9eb46bac6294 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/BindRequiredAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/BindRequiredAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ArrayModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ArrayModelBinder.cs index 46e27f12cf28..e70e8abcee8f 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ArrayModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ArrayModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ArrayModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ArrayModelBinderProvider.cs index 3efe487e6f43..fff13d260b0f 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ArrayModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ArrayModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BinderTypeModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BinderTypeModelBinder.cs index d374739552c6..be4c24c445f7 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BinderTypeModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BinderTypeModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BinderTypeModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BinderTypeModelBinderProvider.cs index e997cf620742..b8b854557e80 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BinderTypeModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BinderTypeModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BodyModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BodyModelBinder.cs index 4889affb5c22..805ffeca96c9 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BodyModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BodyModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BodyModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BodyModelBinderProvider.cs index 3d2d1c61e84e..811b8f27f556 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BodyModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/BodyModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ByteArrayModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ByteArrayModelBinder.cs index db2bf865cd92..13c2a184e717 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ByteArrayModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ByteArrayModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ByteArrayModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ByteArrayModelBinderProvider.cs index 155048e8af3d..f4a1ce8e6bb1 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ByteArrayModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ByteArrayModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CancellationTokenModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CancellationTokenModelBinder.cs index 64518fa86f06..a93e4397a083 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CancellationTokenModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CancellationTokenModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CancellationTokenModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CancellationTokenModelBinderProvider.cs index cb6f43ce0df5..a33911c2cc53 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CancellationTokenModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CancellationTokenModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CollectionModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CollectionModelBinder.cs index 4fc5f8cb2589..15026462d110 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CollectionModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CollectionModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CollectionModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CollectionModelBinderProvider.cs index c9aba8886dbf..d89195beddad 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CollectionModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/CollectionModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexObjectModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexObjectModelBinder.cs index ecbb5089a305..dc8a02f6a7e8 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexObjectModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexObjectModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexObjectModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexObjectModelBinderProvider.cs index db1afb21e4bd..9a62e0ef1a05 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexObjectModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexObjectModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexTypeModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexTypeModelBinder.cs index 55dbc726b275..fb6dbbce5eb8 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexTypeModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexTypeModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable disable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexTypeModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexTypeModelBinderProvider.cs index c65162f60da5..c1f890b20701 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexTypeModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ComplexTypeModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable disable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DateTimeModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DateTimeModelBinder.cs index 9b04652fa83d..ea4f1ef15207 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DateTimeModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DateTimeModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DateTimeModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DateTimeModelBinderProvider.cs index d88a9efa8370..ff292d664abe 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DateTimeModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DateTimeModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DecimalModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DecimalModelBinder.cs index 88991b4fa90c..6482dbc1e1e9 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DecimalModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DecimalModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DictionaryModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DictionaryModelBinder.cs index f155b982873a..99156eca9e95 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DictionaryModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DictionaryModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DictionaryModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DictionaryModelBinderProvider.cs index cc8445c23018..4f25f0e9e436 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DictionaryModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DictionaryModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DoubleModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DoubleModelBinder.cs index d85fc94e2bc6..96fcb152c67a 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DoubleModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/DoubleModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/EnumTypeModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/EnumTypeModelBinder.cs index 4d8e0dc5ec22..096400526170 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/EnumTypeModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/EnumTypeModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/EnumTypeModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/EnumTypeModelBinderProvider.cs index e5763172541e..e7511c739312 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/EnumTypeModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/EnumTypeModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FloatModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FloatModelBinder.cs index 92b53e767e65..a59bb7127915 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FloatModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FloatModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FloatingPointTypeModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FloatingPointTypeModelBinderProvider.cs index a600e53e0653..3c5803832928 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FloatingPointTypeModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FloatingPointTypeModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormCollectionModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormCollectionModelBinder.cs index 103882c5e060..a9b790fe4a62 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormCollectionModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormCollectionModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormCollectionModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormCollectionModelBinderProvider.cs index fa0175a83df9..f0ceab77094e 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormCollectionModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormCollectionModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormFileModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormFileModelBinder.cs index d60a986592ba..068eef9159f5 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormFileModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormFileModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormFileModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormFileModelBinderProvider.cs index a65c6fac908f..ed1a04924b54 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormFileModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/FormFileModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/HeaderModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/HeaderModelBinder.cs index 8fe99c63e16c..8f22e44e42fc 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/HeaderModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/HeaderModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/HeaderModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/HeaderModelBinderProvider.cs index e92d02b7c4a3..bbd8b2fac09c 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/HeaderModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/HeaderModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/KeyValuePairModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/KeyValuePairModelBinder.cs index 646b5a7ea248..2cf147437abd 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/KeyValuePairModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/KeyValuePairModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/KeyValuePairModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/KeyValuePairModelBinderProvider.cs index c8b34819b96e..d9845f58840c 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/KeyValuePairModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/KeyValuePairModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ServicesModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ServicesModelBinder.cs index 78850b5296fe..0f37f702baaa 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ServicesModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ServicesModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ServicesModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ServicesModelBinderProvider.cs index 7bc7bb9b7f94..16d592190dc1 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ServicesModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/ServicesModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/SimpleTypeModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/SimpleTypeModelBinder.cs index 3e63dddc7c23..825787a81850 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/SimpleTypeModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/SimpleTypeModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/SimpleTypeModelBinderProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/SimpleTypeModelBinderProvider.cs index bd1f2fb2c399..9ea4fb554086 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Binders/SimpleTypeModelBinderProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Binders/SimpleTypeModelBinderProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/BindingBehavior.cs b/src/Mvc/Mvc.Core/src/ModelBinding/BindingBehavior.cs index ddd93bdf6dfa..a227d71587c0 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/BindingBehavior.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/BindingBehavior.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/BindingBehaviorAttribute.cs b/src/Mvc/Mvc.Core/src/ModelBinding/BindingBehaviorAttribute.cs index 7c00de31914c..e5e776b459b0 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/BindingBehaviorAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/BindingBehaviorAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/BindingSourceValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/BindingSourceValueProvider.cs index dd6a941183bd..dde5cae39c66 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/BindingSourceValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/BindingSourceValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/CompositeValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/CompositeValueProvider.cs index 4a10df7df602..d0c74419183c 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/CompositeValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/CompositeValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/DefaultModelBindingContext.cs b/src/Mvc/Mvc.Core/src/ModelBinding/DefaultModelBindingContext.cs index 03e95b63b4ee..a7d2e1540e0d 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/DefaultModelBindingContext.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/DefaultModelBindingContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/DefaultPropertyFilterProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/DefaultPropertyFilterProvider.cs index 86adc2974453..74268e68d600 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/DefaultPropertyFilterProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/DefaultPropertyFilterProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ElementalValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ElementalValueProvider.cs index 223d55641afa..1a4ecf5bb7dd 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ElementalValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ElementalValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/EmptyModelMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/EmptyModelMetadataProvider.cs index 3f4793b22693..0a4102528269 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/EmptyModelMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/EmptyModelMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/FormFileValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/FormFileValueProvider.cs index 9fc84b730810..1e2960cc8ebc 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/FormFileValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/FormFileValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/FormFileValueProviderFactory.cs b/src/Mvc/Mvc.Core/src/ModelBinding/FormFileValueProviderFactory.cs index cad900a1850f..378eab0d224e 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/FormFileValueProviderFactory.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/FormFileValueProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/FormValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/FormValueProvider.cs index 1a9d4065a009..a06ed27eee95 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/FormValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/FormValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/FormValueProviderFactory.cs b/src/Mvc/Mvc.Core/src/ModelBinding/FormValueProviderFactory.cs index abf5db91c403..ec912a521ddb 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/FormValueProviderFactory.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/FormValueProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/IBindingSourceValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/IBindingSourceValueProvider.cs index 9117215a5103..79ab58f0dee7 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/IBindingSourceValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/IBindingSourceValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ICollectionModelBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ICollectionModelBinder.cs index 4a200798c227..1ce7b622d926 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ICollectionModelBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ICollectionModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/IEnumerableValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/IEnumerableValueProvider.cs index aae446f510a8..245b4e22c146 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/IEnumerableValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/IEnumerableValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/IKeyRewriterValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/IKeyRewriterValueProvider.cs index 49c37de297e6..5409e9e60b0b 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/IKeyRewriterValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/IKeyRewriterValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/IModelBinderFactory.cs b/src/Mvc/Mvc.Core/src/ModelBinding/IModelBinderFactory.cs index 8b597c0fa19d..fae57b21b3ec 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/IModelBinderFactory.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/IModelBinderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryFormValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryFormValueProvider.cs index 5da067a5c46f..3c56163e24bb 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryFormValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryFormValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryFormValueProviderFactory.cs b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryFormValueProviderFactory.cs index db8037174214..0816c8de338a 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryFormValueProviderFactory.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryFormValueProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryKeyValuePairNormalizer.cs b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryKeyValuePairNormalizer.cs index 8c6b2715b216..68e64311460e 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryKeyValuePairNormalizer.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryKeyValuePairNormalizer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryQueryStringValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryQueryStringValueProvider.cs index 3465752a1ca2..4db73cc6e51b 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryQueryStringValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryQueryStringValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryQueryStringValueProviderFactory.cs b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryQueryStringValueProviderFactory.cs index f610bacbee4a..cca5155e129f 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryQueryStringValueProviderFactory.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryQueryStringValueProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryValueProvider.cs index 481d823f1125..335b91f57c06 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/JQueryValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/JQueryValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingMetadata.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingMetadata.cs index fb3315749187..b51f290b2480 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingMetadata.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingMetadataProviderContext.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingMetadataProviderContext.cs index e7ab3e9cc0ab..60040c84cdd4 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingMetadataProviderContext.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingMetadataProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingSourceMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingSourceMetadataProvider.cs index 30413039ea4c..187a109eb523 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingSourceMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/BindingSourceMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultBindingMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultBindingMetadataProvider.cs index f83d9d7299fd..63d11e3c56d6 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultBindingMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultBindingMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultCompositeMetadataDetailsProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultCompositeMetadataDetailsProvider.cs index 4e5196ff7a56..f0132f664403 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultCompositeMetadataDetailsProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultCompositeMetadataDetailsProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultMetadataDetails.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultMetadataDetails.cs index 314197640c3f..284be5f037e8 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultMetadataDetails.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultMetadataDetails.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelBindingMessageProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelBindingMessageProvider.cs index 03d3d06c1d4b..2388533719d1 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelBindingMessageProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelBindingMessageProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelMetadata.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelMetadata.cs index 5ee03e6e895b..e15d84d1ac28 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelMetadata.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelMetadataProvider.cs index 8932c0fa152a..a6a2f6c89bb9 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultModelMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultValidationMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultValidationMetadataProvider.cs index ca3e4dbf287c..8464580e0448 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultValidationMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DefaultValidationMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DisplayMetadata.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DisplayMetadata.cs index a98e8a92369e..60d483fbb5c0 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DisplayMetadata.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DisplayMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DisplayMetadataProviderContext.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DisplayMetadataProviderContext.cs index 5030e35d23ff..ce763dca6d79 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DisplayMetadataProviderContext.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/DisplayMetadataProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ExcludeBindingMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ExcludeBindingMetadataProvider.cs index 01657ed6a899..730776f73cb0 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ExcludeBindingMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ExcludeBindingMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/HasValidatorsValidationMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/HasValidatorsValidationMetadataProvider.cs index 603f73b34d6a..9473eaf5edef 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/HasValidatorsValidationMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/HasValidatorsValidationMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IBindingMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IBindingMetadataProvider.cs index d42354c98c07..0d8254ba6bcc 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IBindingMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IBindingMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ICompositeMetadataDetailsProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ICompositeMetadataDetailsProvider.cs index 6677c3eb32d9..8336e2e087cd 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ICompositeMetadataDetailsProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ICompositeMetadataDetailsProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IDisplayMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IDisplayMetadataProvider.cs index cae17eb9fe11..e08f535ae19b 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IDisplayMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IDisplayMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IMetadataDetailsProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IMetadataDetailsProvider.cs index c2514c66f42d..350e641b8366 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IMetadataDetailsProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IMetadataDetailsProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IValidationMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IValidationMetadataProvider.cs index 23568d74473a..4d796bf802f1 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IValidationMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/IValidationMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/MetadataDetailsProviderExtensions.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/MetadataDetailsProviderExtensions.cs index de15a1208638..d34baee7fca6 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/MetadataDetailsProviderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/MetadataDetailsProviderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ModelAttributes.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ModelAttributes.cs index 316fe4dd5323..995212e9a84f 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ModelAttributes.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ModelAttributes.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ValidationMetadata.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ValidationMetadata.cs index 66184d8ff15e..1da71cc4fd03 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ValidationMetadata.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ValidationMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ValidationMetadataProviderContext.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ValidationMetadataProviderContext.cs index f8b43f0d840d..5687a61dc634 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ValidationMetadataProviderContext.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Metadata/ValidationMetadataProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderFactory.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderFactory.cs index 36da7a576cfc..a3ed7c645200 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderFactory.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderFactoryContext.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderFactoryContext.cs index d06c2e54b49c..d1e015dabbc0 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderFactoryContext.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderFactoryContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderProviderExtensions.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderProviderExtensions.cs index d4c554952bf2..f3cb66a78e9a 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderProviderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ModelBinderProviderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ModelBindingHelper.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ModelBindingHelper.cs index ef4a22d12ec4..a771281bf587 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ModelBindingHelper.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ModelBindingHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ModelMetadataProviderExtensions.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ModelMetadataProviderExtensions.cs index 7525c78a8b4f..b2a0e8267945 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ModelMetadataProviderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ModelMetadataProviderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ModelNames.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ModelNames.cs index c43596e56fc6..4ddcc199ab0d 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ModelNames.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ModelNames.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/NoOpBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/NoOpBinder.cs index 322657f1d29c..10a2a70e10b2 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/NoOpBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/NoOpBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ObjectModelValidator.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ObjectModelValidator.cs index 975126726916..6d3dad615345 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ObjectModelValidator.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ObjectModelValidator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ParameterBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ParameterBinder.cs index 1015b8c8f06b..2bb440387355 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ParameterBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ParameterBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/PlaceholderBinder.cs b/src/Mvc/Mvc.Core/src/ModelBinding/PlaceholderBinder.cs index 1cbf3ac28017..045aadcaf9e2 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/PlaceholderBinder.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/PlaceholderBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/PrefixContainer.cs b/src/Mvc/Mvc.Core/src/ModelBinding/PrefixContainer.cs index 08e1ee1f6af4..e9d1da2b53d8 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/PrefixContainer.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/PrefixContainer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/PropertyValueSetter.cs b/src/Mvc/Mvc.Core/src/ModelBinding/PropertyValueSetter.cs index a72253be781f..0499fbfe3387 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/PropertyValueSetter.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/PropertyValueSetter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/QueryStringValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/QueryStringValueProvider.cs index de42955db590..28c63e21d151 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/QueryStringValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/QueryStringValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/QueryStringValueProviderFactory.cs b/src/Mvc/Mvc.Core/src/ModelBinding/QueryStringValueProviderFactory.cs index 76d2edefe6f1..ef8571320f3b 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/QueryStringValueProviderFactory.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/QueryStringValueProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/RouteValueProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/RouteValueProvider.cs index 7a034ad194d7..058411bb3b7c 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/RouteValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/RouteValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/RouteValueProviderFactory.cs b/src/Mvc/Mvc.Core/src/ModelBinding/RouteValueProviderFactory.cs index ac5871709a11..4b2b723eb2b8 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/RouteValueProviderFactory.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/RouteValueProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/SuppressChildValidationMetadataProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/SuppressChildValidationMetadataProvider.cs index e273280dee51..f0021a3a152e 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/SuppressChildValidationMetadataProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/SuppressChildValidationMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/UnsupportedContentTypeException.cs b/src/Mvc/Mvc.Core/src/ModelBinding/UnsupportedContentTypeException.cs index 0c7d8d3636da..5c2c28668025 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/UnsupportedContentTypeException.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/UnsupportedContentTypeException.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/UnsupportedContentTypeFilter.cs b/src/Mvc/Mvc.Core/src/ModelBinding/UnsupportedContentTypeFilter.cs index a534de7db15c..6a7c0d2f9a5b 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/UnsupportedContentTypeFilter.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/UnsupportedContentTypeFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ClientValidatorCache.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ClientValidatorCache.cs index 7d78c160fa48..176b1d583e6c 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ClientValidatorCache.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ClientValidatorCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/CompositeClientModelValidatorProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/CompositeClientModelValidatorProvider.cs index c113d922a8c3..39fffee50f1d 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/CompositeClientModelValidatorProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/CompositeClientModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/CompositeModelValidatorProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/CompositeModelValidatorProvider.cs index a4130a2c1fc5..36896fcf7429 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/CompositeModelValidatorProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/CompositeModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultCollectionValidationStrategy.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultCollectionValidationStrategy.cs index 574c76191629..c32d2e45263a 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultCollectionValidationStrategy.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultCollectionValidationStrategy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultComplexObjectValidationStrategy.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultComplexObjectValidationStrategy.cs index b7634403db7a..a3db936d640c 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultComplexObjectValidationStrategy.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultComplexObjectValidationStrategy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultModelValidatorProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultModelValidatorProvider.cs index e01a87e7fa0e..894c7d6c2006 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultModelValidatorProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultObjectValidator.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultObjectValidator.cs index 21e1fd68cd3f..5bf52993f0ec 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultObjectValidator.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/DefaultObjectValidator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ExplicitIndexCollectionValidationStrategy.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ExplicitIndexCollectionValidationStrategy.cs index 2852d20ff2f0..f58b982b6fd8 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ExplicitIndexCollectionValidationStrategy.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ExplicitIndexCollectionValidationStrategy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/IMetadataBasedModelValidatorProvider.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/IMetadataBasedModelValidatorProvider.cs index 59c9cd4e334e..89e578089374 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/IMetadataBasedModelValidatorProvider.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/IMetadataBasedModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/IObjectModelValidator.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/IObjectModelValidator.cs index a254b3c61b68..8324bf2f0ca7 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/IObjectModelValidator.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/IObjectModelValidator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ModelValidatorProviderExtensions.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ModelValidatorProviderExtensions.cs index 2b8c6a94446d..2b08637268f2 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ModelValidatorProviderExtensions.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ModelValidatorProviderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ShortFormDictionaryValidationStrategy.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ShortFormDictionaryValidationStrategy.cs index 91659bbe9af3..7cdfed346560 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ShortFormDictionaryValidationStrategy.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ShortFormDictionaryValidationStrategy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidateNeverAttribute.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidateNeverAttribute.cs index 5270df88267d..4f41d405f565 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidateNeverAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidateNeverAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationStack.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationStack.cs index 6e362429eb31..fb35ec7a6199 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationStack.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationStack.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationVisitor.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationVisitor.cs index 0d9a63bd5d50..c1b2f77df47b 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationVisitor.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidationVisitor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidatorCache.cs b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidatorCache.cs index 4a036378d885..2da19fa669cb 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidatorCache.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/Validation/ValidatorCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelBinding/ValueProviderFactoryExtensions.cs b/src/Mvc/Mvc.Core/src/ModelBinding/ValueProviderFactoryExtensions.cs index ac6e43200be1..acbd7ac88153 100644 --- a/src/Mvc/Mvc.Core/src/ModelBinding/ValueProviderFactoryExtensions.cs +++ b/src/Mvc/Mvc.Core/src/ModelBinding/ValueProviderFactoryExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.Core/src/ModelMetadataTypeAttribute.cs b/src/Mvc/Mvc.Core/src/ModelMetadataTypeAttribute.cs index a79425714713..06f034139e81 100644 --- a/src/Mvc/Mvc.Core/src/ModelMetadataTypeAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ModelMetadataTypeAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/MvcCoreDiagnosticListenerExtensions.cs b/src/Mvc/Mvc.Core/src/MvcCoreDiagnosticListenerExtensions.cs index fe6df658b43b..7c920300a800 100644 --- a/src/Mvc/Mvc.Core/src/MvcCoreDiagnosticListenerExtensions.cs +++ b/src/Mvc/Mvc.Core/src/MvcCoreDiagnosticListenerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable disable diff --git a/src/Mvc/Mvc.Core/src/MvcCoreLoggerExtensions.cs b/src/Mvc/Mvc.Core/src/MvcCoreLoggerExtensions.cs index a49c0ff31c53..f2094688baff 100644 --- a/src/Mvc/Mvc.Core/src/MvcCoreLoggerExtensions.cs +++ b/src/Mvc/Mvc.Core/src/MvcCoreLoggerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable disable diff --git a/src/Mvc/Mvc.Core/src/MvcOptions.cs b/src/Mvc/Mvc.Core/src/MvcOptions.cs index be7ae90f8581..d43d5274626d 100644 --- a/src/Mvc/Mvc.Core/src/MvcOptions.cs +++ b/src/Mvc/Mvc.Core/src/MvcOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Core/src/NoContentResult.cs b/src/Mvc/Mvc.Core/src/NoContentResult.cs index f4a23075f95d..ccfd9665f880 100644 --- a/src/Mvc/Mvc.Core/src/NoContentResult.cs +++ b/src/Mvc/Mvc.Core/src/NoContentResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/NonActionAttribute.cs b/src/Mvc/Mvc.Core/src/NonActionAttribute.cs index aa2cec5f5b58..ddd7dea29d2c 100644 --- a/src/Mvc/Mvc.Core/src/NonActionAttribute.cs +++ b/src/Mvc/Mvc.Core/src/NonActionAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/NonControllerAttribute.cs b/src/Mvc/Mvc.Core/src/NonControllerAttribute.cs index 518b7c6c50e2..52ba313638cd 100644 --- a/src/Mvc/Mvc.Core/src/NonControllerAttribute.cs +++ b/src/Mvc/Mvc.Core/src/NonControllerAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/NonViewComponentAttribute.cs b/src/Mvc/Mvc.Core/src/NonViewComponentAttribute.cs index 68eda496df9c..bc18df1cd83d 100644 --- a/src/Mvc/Mvc.Core/src/NonViewComponentAttribute.cs +++ b/src/Mvc/Mvc.Core/src/NonViewComponentAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/NotFoundObjectResult.cs b/src/Mvc/Mvc.Core/src/NotFoundObjectResult.cs index dc9aeb1db6ab..56cd19ad7d94 100644 --- a/src/Mvc/Mvc.Core/src/NotFoundObjectResult.cs +++ b/src/Mvc/Mvc.Core/src/NotFoundObjectResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/NotFoundResult.cs b/src/Mvc/Mvc.Core/src/NotFoundResult.cs index ed5941762112..9bb6507a3393 100644 --- a/src/Mvc/Mvc.Core/src/NotFoundResult.cs +++ b/src/Mvc/Mvc.Core/src/NotFoundResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/ObjectResult.cs b/src/Mvc/Mvc.Core/src/ObjectResult.cs index c9df90d0dc86..dfb0b42de7cb 100644 --- a/src/Mvc/Mvc.Core/src/ObjectResult.cs +++ b/src/Mvc/Mvc.Core/src/ObjectResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/OkObjectResult.cs b/src/Mvc/Mvc.Core/src/OkObjectResult.cs index f909856d6ed1..3c80f6fcb9e6 100644 --- a/src/Mvc/Mvc.Core/src/OkObjectResult.cs +++ b/src/Mvc/Mvc.Core/src/OkObjectResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/OkResult.cs b/src/Mvc/Mvc.Core/src/OkResult.cs index cb6476b72d10..dc9cc7c06ab4 100644 --- a/src/Mvc/Mvc.Core/src/OkResult.cs +++ b/src/Mvc/Mvc.Core/src/OkResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/PhysicalFileResult.cs b/src/Mvc/Mvc.Core/src/PhysicalFileResult.cs index def6a2b65408..456a54774765 100644 --- a/src/Mvc/Mvc.Core/src/PhysicalFileResult.cs +++ b/src/Mvc/Mvc.Core/src/PhysicalFileResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Mvc/Mvc.Core/src/ProblemDetails.cs b/src/Mvc/Mvc.Core/src/ProblemDetails.cs index 5c4efff686da..2e2de14e803d 100644 --- a/src/Mvc/Mvc.Core/src/ProblemDetails.cs +++ b/src/Mvc/Mvc.Core/src/ProblemDetails.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ProducesAttribute.cs b/src/Mvc/Mvc.Core/src/ProducesAttribute.cs index f366a5fb87c8..0b09ea6e2257 100644 --- a/src/Mvc/Mvc.Core/src/ProducesAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ProducesAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ProducesDefaultResponseTypeAttribute.cs b/src/Mvc/Mvc.Core/src/ProducesDefaultResponseTypeAttribute.cs index 3022327a5bc9..c86c014bd29c 100644 --- a/src/Mvc/Mvc.Core/src/ProducesDefaultResponseTypeAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ProducesDefaultResponseTypeAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApiExplorer; diff --git a/src/Mvc/Mvc.Core/src/ProducesErrorResponseTypeAttribute.cs b/src/Mvc/Mvc.Core/src/ProducesErrorResponseTypeAttribute.cs index b9c579cea8d8..f97d6213fda0 100644 --- a/src/Mvc/Mvc.Core/src/ProducesErrorResponseTypeAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ProducesErrorResponseTypeAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/ProducesResponseTypeAttribute.cs b/src/Mvc/Mvc.Core/src/ProducesResponseTypeAttribute.cs index 2b889c71dc51..c954dfba5eb1 100644 --- a/src/Mvc/Mvc.Core/src/ProducesResponseTypeAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ProducesResponseTypeAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApiExplorer; diff --git a/src/Mvc/Mvc.Core/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Core/src/Properties/AssemblyInfo.cs index 9aa488d48d43..af15aa846bc7 100644 --- a/src/Mvc/Mvc.Core/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Core/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Mvc.Formatters; diff --git a/src/Mvc/Mvc.Core/src/RedirectResult.cs b/src/Mvc/Mvc.Core/src/RedirectResult.cs index 22db7fc57ed1..b6109c842c5a 100644 --- a/src/Mvc/Mvc.Core/src/RedirectResult.cs +++ b/src/Mvc/Mvc.Core/src/RedirectResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Mvc/Mvc.Core/src/RedirectToActionResult.cs b/src/Mvc/Mvc.Core/src/RedirectToActionResult.cs index bc07b19d4097..981622ec2a19 100644 --- a/src/Mvc/Mvc.Core/src/RedirectToActionResult.cs +++ b/src/Mvc/Mvc.Core/src/RedirectToActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/RedirectToPageResult.cs b/src/Mvc/Mvc.Core/src/RedirectToPageResult.cs index 94e5fd86f45e..c16817f65834 100644 --- a/src/Mvc/Mvc.Core/src/RedirectToPageResult.cs +++ b/src/Mvc/Mvc.Core/src/RedirectToPageResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/RedirectToRouteResult.cs b/src/Mvc/Mvc.Core/src/RedirectToRouteResult.cs index da3c419e4c11..9cc90ab46f40 100644 --- a/src/Mvc/Mvc.Core/src/RedirectToRouteResult.cs +++ b/src/Mvc/Mvc.Core/src/RedirectToRouteResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/RequestFormLimitsAttribute.cs b/src/Mvc/Mvc.Core/src/RequestFormLimitsAttribute.cs index 068109123136..46d203bf8862 100644 --- a/src/Mvc/Mvc.Core/src/RequestFormLimitsAttribute.cs +++ b/src/Mvc/Mvc.Core/src/RequestFormLimitsAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/src/RequestSizeLimitAttribute.cs b/src/Mvc/Mvc.Core/src/RequestSizeLimitAttribute.cs index a9a6098f650a..7449b74ff6d0 100644 --- a/src/Mvc/Mvc.Core/src/RequestSizeLimitAttribute.cs +++ b/src/Mvc/Mvc.Core/src/RequestSizeLimitAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/src/RequireHttpsAttribute.cs b/src/Mvc/Mvc.Core/src/RequireHttpsAttribute.cs index da616af153e3..df766bfc5765 100644 --- a/src/Mvc/Mvc.Core/src/RequireHttpsAttribute.cs +++ b/src/Mvc/Mvc.Core/src/RequireHttpsAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/ResponseCacheAttribute.cs b/src/Mvc/Mvc.Core/src/ResponseCacheAttribute.cs index 758d988a8729..ebc5366e88c9 100644 --- a/src/Mvc/Mvc.Core/src/ResponseCacheAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ResponseCacheAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Core; diff --git a/src/Mvc/Mvc.Core/src/ResponseCacheLocation.cs b/src/Mvc/Mvc.Core/src/ResponseCacheLocation.cs index 8f9e852de0fb..5cc92344325a 100644 --- a/src/Mvc/Mvc.Core/src/ResponseCacheLocation.cs +++ b/src/Mvc/Mvc.Core/src/ResponseCacheLocation.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/Mvc.Core/src/RouteAttribute.cs b/src/Mvc/Mvc.Core/src/RouteAttribute.cs index d4968794a32a..e8fce6337153 100644 --- a/src/Mvc/Mvc.Core/src/RouteAttribute.cs +++ b/src/Mvc/Mvc.Core/src/RouteAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/Mvc.Core/src/Routing/ActionConstraintMatcherPolicy.cs b/src/Mvc/Mvc.Core/src/Routing/ActionConstraintMatcherPolicy.cs index 54603729433c..215440d184d8 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ActionConstraintMatcherPolicy.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ActionConstraintMatcherPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs index 9184098bd4fc..07da0c1a708a 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointDataSourceBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs index 03e96036692b..7b92ec73c2b7 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ActionEndpointFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/AttributeRoute.cs b/src/Mvc/Mvc.Core/src/Routing/AttributeRoute.cs index 02fe1c643f71..b1858b4ea416 100644 --- a/src/Mvc/Mvc.Core/src/Routing/AttributeRoute.cs +++ b/src/Mvc/Mvc.Core/src/Routing/AttributeRoute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/AttributeRouting.cs b/src/Mvc/Mvc.Core/src/Routing/AttributeRouting.cs index c3c130171a07..769c8116f47b 100644 --- a/src/Mvc/Mvc.Core/src/Routing/AttributeRouting.cs +++ b/src/Mvc/Mvc.Core/src/Routing/AttributeRouting.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/ConsumesMatcherPolicy.cs b/src/Mvc/Mvc.Core/src/Routing/ConsumesMatcherPolicy.cs index f55de7832a14..1584042c593e 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ConsumesMatcherPolicy.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ConsumesMatcherPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/ConsumesMetadata.cs b/src/Mvc/Mvc.Core/src/Routing/ConsumesMetadata.cs index 2b004d55797d..101dd3a26e76 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ConsumesMetadata.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ConsumesMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSource.cs b/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSource.cs index aaec0ec51a6c..d15058f91758 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSource.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSource.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSourceFactory.cs b/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSourceFactory.cs index 59c528622331..1b87d374bc37 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSourceFactory.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSourceFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSourceIdProvider.cs b/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSourceIdProvider.cs index 8aa69da8a0c3..c73f70736eb9 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSourceIdProvider.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ControllerActionEndpointDataSourceIdProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading; diff --git a/src/Mvc/Mvc.Core/src/Routing/ControllerEndpointDataSourceIdMetadata.cs b/src/Mvc/Mvc.Core/src/Routing/ControllerEndpointDataSourceIdMetadata.cs index 7944bb51f0f8..0b9cd565f35d 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ControllerEndpointDataSourceIdMetadata.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ControllerEndpointDataSourceIdMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Routing diff --git a/src/Mvc/Mvc.Core/src/Routing/ControllerLinkGeneratorExtensions.cs b/src/Mvc/Mvc.Core/src/Routing/ControllerLinkGeneratorExtensions.cs index 51b98fd83e8c..3c096a09d82f 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ControllerLinkGeneratorExtensions.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ControllerLinkGeneratorExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/ControllerRequestDelegateFactory.cs b/src/Mvc/Mvc.Core/src/Routing/ControllerRequestDelegateFactory.cs index d51a4742d972..74d84f8541e4 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ControllerRequestDelegateFactory.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ControllerRequestDelegateFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Routing/ConventionalRouteEntry.cs b/src/Mvc/Mvc.Core/src/Routing/ConventionalRouteEntry.cs index 0668897c12a7..4d57d50abf2f 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ConventionalRouteEntry.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ConventionalRouteEntry.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointMatcherPolicy.cs b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointMatcherPolicy.cs index e986a4b6aeaa..418a91c81c4b 100644 --- a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointMatcherPolicy.cs +++ b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointMatcherPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointSelector.cs b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointSelector.cs index 86ee1e53451e..b7a1cc7d0a1b 100644 --- a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointSelector.cs +++ b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointSelectorCache.cs b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointSelectorCache.cs index 09f51c2ae318..7eef8bc26cad 100644 --- a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointSelectorCache.cs +++ b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerEndpointSelectorCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerMetadata.cs b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerMetadata.cs index 5d36fa6a43f9..23de14f595b4 100644 --- a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerMetadata.cs +++ b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerRouteValueTransformerMetadata.cs b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerRouteValueTransformerMetadata.cs index c813092b5551..c8a88849e7d5 100644 --- a/src/Mvc/Mvc.Core/src/Routing/DynamicControllerRouteValueTransformerMetadata.cs +++ b/src/Mvc/Mvc.Core/src/Routing/DynamicControllerRouteValueTransformerMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/DynamicRouteValueTransformer.cs b/src/Mvc/Mvc.Core/src/Routing/DynamicRouteValueTransformer.cs index e2ab071cf0a1..d3474fa41f40 100644 --- a/src/Mvc/Mvc.Core/src/Routing/DynamicRouteValueTransformer.cs +++ b/src/Mvc/Mvc.Core/src/Routing/DynamicRouteValueTransformer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Routing/EndpointRoutingUrlHelper.cs b/src/Mvc/Mvc.Core/src/Routing/EndpointRoutingUrlHelper.cs index 24ae9ad81268..210de250e67d 100644 --- a/src/Mvc/Mvc.Core/src/Routing/EndpointRoutingUrlHelper.cs +++ b/src/Mvc/Mvc.Core/src/Routing/EndpointRoutingUrlHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/HttpMethodAttribute.cs b/src/Mvc/Mvc.Core/src/Routing/HttpMethodAttribute.cs index 2fc63a32c2c1..1653c22716f4 100644 --- a/src/Mvc/Mvc.Core/src/Routing/HttpMethodAttribute.cs +++ b/src/Mvc/Mvc.Core/src/Routing/HttpMethodAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/IActionHttpMethodProvider.cs b/src/Mvc/Mvc.Core/src/Routing/IActionHttpMethodProvider.cs index 979da990bad8..86bbd0335b8a 100644 --- a/src/Mvc/Mvc.Core/src/Routing/IActionHttpMethodProvider.cs +++ b/src/Mvc/Mvc.Core/src/Routing/IActionHttpMethodProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Routing/IConsumesMetadata.cs b/src/Mvc/Mvc.Core/src/Routing/IConsumesMetadata.cs index f759a9f4de7e..01aa87207835 100644 --- a/src/Mvc/Mvc.Core/src/Routing/IConsumesMetadata.cs +++ b/src/Mvc/Mvc.Core/src/Routing/IConsumesMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Routing/IRequestDelegateFactory.cs b/src/Mvc/Mvc.Core/src/Routing/IRequestDelegateFactory.cs index 6809dda0b013..755783d48e23 100644 --- a/src/Mvc/Mvc.Core/src/Routing/IRequestDelegateFactory.cs +++ b/src/Mvc/Mvc.Core/src/Routing/IRequestDelegateFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/Routing/IRouteTemplateProvider.cs b/src/Mvc/Mvc.Core/src/Routing/IRouteTemplateProvider.cs index 286a97d6887a..58dd38d2af95 100644 --- a/src/Mvc/Mvc.Core/src/Routing/IRouteTemplateProvider.cs +++ b/src/Mvc/Mvc.Core/src/Routing/IRouteTemplateProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Routing diff --git a/src/Mvc/Mvc.Core/src/Routing/IRouteValueProvider.cs b/src/Mvc/Mvc.Core/src/Routing/IRouteValueProvider.cs index a7316a08cc53..fad4d8f5fd8c 100644 --- a/src/Mvc/Mvc.Core/src/Routing/IRouteValueProvider.cs +++ b/src/Mvc/Mvc.Core/src/Routing/IRouteValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/Mvc.Core/src/Routing/IUrlHelperFactory.cs b/src/Mvc/Mvc.Core/src/Routing/IUrlHelperFactory.cs index 5558516680e9..89be011c390d 100644 --- a/src/Mvc/Mvc.Core/src/Routing/IUrlHelperFactory.cs +++ b/src/Mvc/Mvc.Core/src/Routing/IUrlHelperFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Routing diff --git a/src/Mvc/Mvc.Core/src/Routing/KnownRouteValueConstraint.cs b/src/Mvc/Mvc.Core/src/Routing/KnownRouteValueConstraint.cs index 1e629338f587..9b52a3808313 100644 --- a/src/Mvc/Mvc.Core/src/Routing/KnownRouteValueConstraint.cs +++ b/src/Mvc/Mvc.Core/src/Routing/KnownRouteValueConstraint.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/MvcAttributeRouteHandler.cs b/src/Mvc/Mvc.Core/src/Routing/MvcAttributeRouteHandler.cs index 0fa779300170..27227c365445 100644 --- a/src/Mvc/Mvc.Core/src/Routing/MvcAttributeRouteHandler.cs +++ b/src/Mvc/Mvc.Core/src/Routing/MvcAttributeRouteHandler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/MvcRouteHandler.cs b/src/Mvc/Mvc.Core/src/Routing/MvcRouteHandler.cs index 45aa6c6a12fa..f62baefba16c 100644 --- a/src/Mvc/Mvc.Core/src/Routing/MvcRouteHandler.cs +++ b/src/Mvc/Mvc.Core/src/Routing/MvcRouteHandler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/NormalizedRouteValue.cs b/src/Mvc/Mvc.Core/src/Routing/NormalizedRouteValue.cs index 28d26fd64bd3..bc54923cbc17 100644 --- a/src/Mvc/Mvc.Core/src/Routing/NormalizedRouteValue.cs +++ b/src/Mvc/Mvc.Core/src/Routing/NormalizedRouteValue.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/NullRouter.cs b/src/Mvc/Mvc.Core/src/Routing/NullRouter.cs index 9e928946859e..bb98c36229b9 100644 --- a/src/Mvc/Mvc.Core/src/Routing/NullRouter.cs +++ b/src/Mvc/Mvc.Core/src/Routing/NullRouter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/Routing/PageLinkGeneratorExtensions.cs b/src/Mvc/Mvc.Core/src/Routing/PageLinkGeneratorExtensions.cs index 5bbe608f0376..2d52751781d3 100644 --- a/src/Mvc/Mvc.Core/src/Routing/PageLinkGeneratorExtensions.cs +++ b/src/Mvc/Mvc.Core/src/Routing/PageLinkGeneratorExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/RoutePatternWriter.cs b/src/Mvc/Mvc.Core/src/Routing/RoutePatternWriter.cs index 2e40e8e0991a..8945e32d3462 100644 --- a/src/Mvc/Mvc.Core/src/Routing/RoutePatternWriter.cs +++ b/src/Mvc/Mvc.Core/src/Routing/RoutePatternWriter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/RouteValueAttribute.cs b/src/Mvc/Mvc.Core/src/Routing/RouteValueAttribute.cs index cdbb6768651b..b4d384c59401 100644 --- a/src/Mvc/Mvc.Core/src/Routing/RouteValueAttribute.cs +++ b/src/Mvc/Mvc.Core/src/Routing/RouteValueAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/UrlHelper.cs b/src/Mvc/Mvc.Core/src/Routing/UrlHelper.cs index eafe461bce73..0b85cf52b806 100644 --- a/src/Mvc/Mvc.Core/src/Routing/UrlHelper.cs +++ b/src/Mvc/Mvc.Core/src/Routing/UrlHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/UrlHelperBase.cs b/src/Mvc/Mvc.Core/src/Routing/UrlHelperBase.cs index 92a4280446ef..602f51a253d0 100644 --- a/src/Mvc/Mvc.Core/src/Routing/UrlHelperBase.cs +++ b/src/Mvc/Mvc.Core/src/Routing/UrlHelperBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/Routing/UrlHelperFactory.cs b/src/Mvc/Mvc.Core/src/Routing/UrlHelperFactory.cs index 626d8222f9bc..1d6a4867855d 100644 --- a/src/Mvc/Mvc.Core/src/Routing/UrlHelperFactory.cs +++ b/src/Mvc/Mvc.Core/src/Routing/UrlHelperFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/Routing/ViewEnginePath.cs b/src/Mvc/Mvc.Core/src/Routing/ViewEnginePath.cs index dc2dcfbd7906..4f77edbe7ef4 100644 --- a/src/Mvc/Mvc.Core/src/Routing/ViewEnginePath.cs +++ b/src/Mvc/Mvc.Core/src/Routing/ViewEnginePath.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Core/src/SerializableError.cs b/src/Mvc/Mvc.Core/src/SerializableError.cs index 77adaeae1eac..90c8f34c3329 100644 --- a/src/Mvc/Mvc.Core/src/SerializableError.cs +++ b/src/Mvc/Mvc.Core/src/SerializableError.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ServiceFilterAttribute.cs b/src/Mvc/Mvc.Core/src/ServiceFilterAttribute.cs index e9d69ff29267..64be49cff06c 100644 --- a/src/Mvc/Mvc.Core/src/ServiceFilterAttribute.cs +++ b/src/Mvc/Mvc.Core/src/ServiceFilterAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Core/src/SignInResult.cs b/src/Mvc/Mvc.Core/src/SignInResult.cs index 994dc976689b..c2ccd0c65694 100644 --- a/src/Mvc/Mvc.Core/src/SignInResult.cs +++ b/src/Mvc/Mvc.Core/src/SignInResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Security.Claims; diff --git a/src/Mvc/Mvc.Core/src/SignOutResult.cs b/src/Mvc/Mvc.Core/src/SignOutResult.cs index d81604d733ba..16d63925e71c 100644 --- a/src/Mvc/Mvc.Core/src/SignOutResult.cs +++ b/src/Mvc/Mvc.Core/src/SignOutResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/StatusCodeResult.cs b/src/Mvc/Mvc.Core/src/StatusCodeResult.cs index 30d9d84fbf1e..d781688dcbb2 100644 --- a/src/Mvc/Mvc.Core/src/StatusCodeResult.cs +++ b/src/Mvc/Mvc.Core/src/StatusCodeResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/src/TypeFilterAttribute.cs b/src/Mvc/Mvc.Core/src/TypeFilterAttribute.cs index cb120cf17817..7443464564fd 100644 --- a/src/Mvc/Mvc.Core/src/TypeFilterAttribute.cs +++ b/src/Mvc/Mvc.Core/src/TypeFilterAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Core/src/UnauthorizedObjectResult.cs b/src/Mvc/Mvc.Core/src/UnauthorizedObjectResult.cs index 94f00ead1cf0..b31910dc8f7f 100644 --- a/src/Mvc/Mvc.Core/src/UnauthorizedObjectResult.cs +++ b/src/Mvc/Mvc.Core/src/UnauthorizedObjectResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/UnauthorizedResult.cs b/src/Mvc/Mvc.Core/src/UnauthorizedResult.cs index 7e3bc7bb7fbb..efa59c08fb2f 100644 --- a/src/Mvc/Mvc.Core/src/UnauthorizedResult.cs +++ b/src/Mvc/Mvc.Core/src/UnauthorizedResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/UnprocessableEntityObjectResult.cs b/src/Mvc/Mvc.Core/src/UnprocessableEntityObjectResult.cs index 78fd57916792..21e072bc6f17 100644 --- a/src/Mvc/Mvc.Core/src/UnprocessableEntityObjectResult.cs +++ b/src/Mvc/Mvc.Core/src/UnprocessableEntityObjectResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/UnprocessableEntityResult.cs b/src/Mvc/Mvc.Core/src/UnprocessableEntityResult.cs index d82cf642a737..ad153cec47d6 100644 --- a/src/Mvc/Mvc.Core/src/UnprocessableEntityResult.cs +++ b/src/Mvc/Mvc.Core/src/UnprocessableEntityResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/UnsupportedMediaTypeResult.cs b/src/Mvc/Mvc.Core/src/UnsupportedMediaTypeResult.cs index 175c88687441..72dc86578393 100644 --- a/src/Mvc/Mvc.Core/src/UnsupportedMediaTypeResult.cs +++ b/src/Mvc/Mvc.Core/src/UnsupportedMediaTypeResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/src/UrlHelperExtensions.cs b/src/Mvc/Mvc.Core/src/UrlHelperExtensions.cs index d29d33a90665..d19c9b39fa4c 100644 --- a/src/Mvc/Mvc.Core/src/UrlHelperExtensions.cs +++ b/src/Mvc/Mvc.Core/src/UrlHelperExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/src/ValidationProblemDetails.cs b/src/Mvc/Mvc.Core/src/ValidationProblemDetails.cs index 7df032255fe2..065ac535bc05 100644 --- a/src/Mvc/Mvc.Core/src/ValidationProblemDetails.cs +++ b/src/Mvc/Mvc.Core/src/ValidationProblemDetails.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/src/ViewFeatures/IKeepTempDataResult.cs b/src/Mvc/Mvc.Core/src/ViewFeatures/IKeepTempDataResult.cs index 5d86fc171e82..a4d72526c1f5 100644 --- a/src/Mvc/Mvc.Core/src/ViewFeatures/IKeepTempDataResult.cs +++ b/src/Mvc/Mvc.Core/src/ViewFeatures/IKeepTempDataResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewFeatures { diff --git a/src/Mvc/Mvc.Core/src/VirtualFileResult.cs b/src/Mvc/Mvc.Core/src/VirtualFileResult.cs index 7d49d9de41de..e2090f33da01 100644 --- a/src/Mvc/Mvc.Core/src/VirtualFileResult.cs +++ b/src/Mvc/Mvc.Core/src/VirtualFileResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics.CodeAnalysis; diff --git a/src/Mvc/Mvc.Core/test/AcceptedAtActionResultTests.cs b/src/Mvc/Mvc.Core/test/AcceptedAtActionResultTests.cs index ba2cfed7ac6a..7d6569d52a6f 100644 --- a/src/Mvc/Mvc.Core/test/AcceptedAtActionResultTests.cs +++ b/src/Mvc/Mvc.Core/test/AcceptedAtActionResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/AcceptedAtRouteResultTests.cs b/src/Mvc/Mvc.Core/test/AcceptedAtRouteResultTests.cs index 63dab76bc083..3492bd31c007 100644 --- a/src/Mvc/Mvc.Core/test/AcceptedAtRouteResultTests.cs +++ b/src/Mvc/Mvc.Core/test/AcceptedAtRouteResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/AcceptedResultTests.cs b/src/Mvc/Mvc.Core/test/AcceptedResultTests.cs index da714c3f50dc..5445f051e721 100644 --- a/src/Mvc/Mvc.Core/test/AcceptedResultTests.cs +++ b/src/Mvc/Mvc.Core/test/AcceptedResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/ActionConstraints/ActionConstraintCacheTest.cs b/src/Mvc/Mvc.Core/test/ActionConstraints/ActionConstraintCacheTest.cs index 5b9fd4438772..ba7cb41567bf 100644 --- a/src/Mvc/Mvc.Core/test/ActionConstraints/ActionConstraintCacheTest.cs +++ b/src/Mvc/Mvc.Core/test/ActionConstraints/ActionConstraintCacheTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ActionConstraints/HttpMethodActionConstraintTest.cs b/src/Mvc/Mvc.Core/test/ActionConstraints/HttpMethodActionConstraintTest.cs index cbb34315e9a0..13f34d986046 100644 --- a/src/Mvc/Mvc.Core/test/ActionConstraints/HttpMethodActionConstraintTest.cs +++ b/src/Mvc/Mvc.Core/test/ActionConstraints/HttpMethodActionConstraintTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/test/ActionResultOfTTest.cs b/src/Mvc/Mvc.Core/test/ActionResultOfTTest.cs index 1bcfd0c385b0..3a3d5df0cd14 100644 --- a/src/Mvc/Mvc.Core/test/ActionResultOfTTest.cs +++ b/src/Mvc/Mvc.Core/test/ActionResultOfTTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/ApiConventionMethodAttributeTest.cs b/src/Mvc/Mvc.Core/test/ApiConventionMethodAttributeTest.cs index cba34f7b96a7..db65bc24f665 100644 --- a/src/Mvc/Mvc.Core/test/ApiConventionMethodAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/ApiConventionMethodAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ApiConventionTypeAttributeTest.cs b/src/Mvc/Mvc.Core/test/ApiConventionTypeAttributeTest.cs index d6ff2a28f47c..a544604dfddc 100644 --- a/src/Mvc/Mvc.Core/test/ApiConventionTypeAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/ApiConventionTypeAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ApiExplorer/ApiConventionMatcherTest.cs b/src/Mvc/Mvc.Core/test/ApiExplorer/ApiConventionMatcherTest.cs index bbf31785a05a..26e8dd200b2b 100644 --- a/src/Mvc/Mvc.Core/test/ApiExplorer/ApiConventionMatcherTest.cs +++ b/src/Mvc/Mvc.Core/test/ApiExplorer/ApiConventionMatcherTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/ApiExplorer/ApiConventionResultTest.cs b/src/Mvc/Mvc.Core/test/ApiExplorer/ApiConventionResultTest.cs index a1b1bd5bcc3c..b24987b72d1d 100644 --- a/src/Mvc/Mvc.Core/test/ApiExplorer/ApiConventionResultTest.cs +++ b/src/Mvc/Mvc.Core/test/ApiExplorer/ApiConventionResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ActionModelTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ActionModelTest.cs index 491b55dd8602..5d136edf4e39 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ActionModelTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ActionModelTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ApiBehaviorApplicationModelProviderTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ApiBehaviorApplicationModelProviderTest.cs index d344da2c0835..83f2b9a558e3 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ApiBehaviorApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ApiBehaviorApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ApiConventionApplicationModelConventionTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ApiConventionApplicationModelConventionTest.cs index d658c7dc730d..e906b9d42d4a 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ApiConventionApplicationModelConventionTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ApiConventionApplicationModelConventionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ApiVisibilityConventionTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ApiVisibilityConventionTest.cs index 3928909e0425..670ed603936b 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ApiVisibilityConventionTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ApiVisibilityConventionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/AttributeRouteModelTests.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/AttributeRouteModelTests.cs index 6b2ec170a094..d3f1b2f23b8d 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/AttributeRouteModelTests.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/AttributeRouteModelTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/AuthorizationApplicationModelProviderTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/AuthorizationApplicationModelProviderTest.cs index 99ca2e0d18ce..e90208185ea9 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/AuthorizationApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/AuthorizationApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ClientErrorResultFilterConventionTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ClientErrorResultFilterConventionTest.cs index 4fc09baf2bec..dba33f70c894 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ClientErrorResultFilterConventionTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ClientErrorResultFilterConventionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ConsumesConstraintForFormFileParameterConventionTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ConsumesConstraintForFormFileParameterConventionTest.cs index 7cea6db9287c..99534598d2ee 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ConsumesConstraintForFormFileParameterConventionTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ConsumesConstraintForFormFileParameterConventionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerActionDescriptorBuilderTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerActionDescriptorBuilderTest.cs index b4405ef2acaf..e038c89a9eae 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerActionDescriptorBuilderTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerActionDescriptorBuilderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerActionDescriptorProviderTests.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerActionDescriptorProviderTests.cs index 1b4b93e2686f..707cf2ce4629 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerActionDescriptorProviderTests.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerActionDescriptorProviderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerModelTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerModelTest.cs index 405923777e6a..1ddfefe62d51 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerModelTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ControllerModelTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/DefaultApplicationModelProviderTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/DefaultApplicationModelProviderTest.cs index efa5a1c06567..edf7a3981d6e 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/DefaultApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/DefaultApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/InferParameterBindingInfoConventionTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/InferParameterBindingInfoConventionTest.cs index dccd843b4cdc..40d3577c24ba 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/InferParameterBindingInfoConventionTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/InferParameterBindingInfoConventionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/InvalidModelStateFilterConventionTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/InvalidModelStateFilterConventionTest.cs index c53357d4f104..ba69f18d77c4 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/InvalidModelStateFilterConventionTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/InvalidModelStateFilterConventionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/ParameterModelTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/ParameterModelTest.cs index f89323a4ef6c..787400dd9f6e 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/ParameterModelTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/ParameterModelTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/PropertyModelTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/PropertyModelTest.cs index dde1ba67698e..5c3977e9760d 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/PropertyModelTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/PropertyModelTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ApplicationModels/RouteTokenTransformerConventionTest.cs b/src/Mvc/Mvc.Core/test/ApplicationModels/RouteTokenTransformerConventionTest.cs index 1aa426bcd2f3..7b48e4a682ec 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationModels/RouteTokenTransformerConventionTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationModels/RouteTokenTransformerConventionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/ApplicationParts/ApplicationPartManagerTest.cs b/src/Mvc/Mvc.Core/test/ApplicationParts/ApplicationPartManagerTest.cs index 8b841f02ab99..6fe9ea25b116 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationParts/ApplicationPartManagerTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationParts/ApplicationPartManagerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ApplicationParts/AssemblyPartTest.cs b/src/Mvc/Mvc.Core/test/ApplicationParts/AssemblyPartTest.cs index 70ffa8f5d0f5..3888c2cc9eaf 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationParts/AssemblyPartTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationParts/AssemblyPartTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/ApplicationParts/RelatedAssemblyPartTest.cs b/src/Mvc/Mvc.Core/test/ApplicationParts/RelatedAssemblyPartTest.cs index 5e80484c66c5..d9b4348453c3 100644 --- a/src/Mvc/Mvc.Core/test/ApplicationParts/RelatedAssemblyPartTest.cs +++ b/src/Mvc/Mvc.Core/test/ApplicationParts/RelatedAssemblyPartTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Authorization/AuthorizeFilterTest.cs b/src/Mvc/Mvc.Core/test/Authorization/AuthorizeFilterTest.cs index 15d2341e12b6..059e0252ddba 100644 --- a/src/Mvc/Mvc.Core/test/Authorization/AuthorizeFilterTest.cs +++ b/src/Mvc/Mvc.Core/test/Authorization/AuthorizeFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/BadRequestObjectResultTests.cs b/src/Mvc/Mvc.Core/test/BadRequestObjectResultTests.cs index b7b933023112..11ff5563657b 100644 --- a/src/Mvc/Mvc.Core/test/BadRequestObjectResultTests.cs +++ b/src/Mvc/Mvc.Core/test/BadRequestObjectResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.Core/test/BadRequestResultTests.cs b/src/Mvc/Mvc.Core/test/BadRequestResultTests.cs index 45979cf32d26..f3f87c4f9bac 100644 --- a/src/Mvc/Mvc.Core/test/BadRequestResultTests.cs +++ b/src/Mvc/Mvc.Core/test/BadRequestResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/BindAttributeTest.cs b/src/Mvc/Mvc.Core/test/BindAttributeTest.cs index 3dc6aa2fcb06..42d21eb4f9fc 100644 --- a/src/Mvc/Mvc.Core/test/BindAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/BindAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; using Moq; diff --git a/src/Mvc/Mvc.Core/test/Builder/MvcApplicationBuilderExtensionsTest.cs b/src/Mvc/Mvc.Core/test/Builder/MvcApplicationBuilderExtensionsTest.cs index e3d0b9381cf4..d7f1090c76e7 100644 --- a/src/Mvc/Mvc.Core/test/Builder/MvcApplicationBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/Builder/MvcApplicationBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Core/test/Builder/MvcAreaRouteBuilderExtensionsTest.cs b/src/Mvc/Mvc.Core/test/Builder/MvcAreaRouteBuilderExtensionsTest.cs index b699ff614f6b..d209539cddcd 100644 --- a/src/Mvc/Mvc.Core/test/Builder/MvcAreaRouteBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/Builder/MvcAreaRouteBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ChallengeResultTest.cs b/src/Mvc/Mvc.Core/test/ChallengeResultTest.cs index b1ec100e5f4f..cec67e14fa65 100644 --- a/src/Mvc/Mvc.Core/test/ChallengeResultTest.cs +++ b/src/Mvc/Mvc.Core/test/ChallengeResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Authentication; diff --git a/src/Mvc/Mvc.Core/test/ConflictObjectResultTest.cs b/src/Mvc/Mvc.Core/test/ConflictObjectResultTest.cs index 6efabdbe34a8..f28176e2614c 100644 --- a/src/Mvc/Mvc.Core/test/ConflictObjectResultTest.cs +++ b/src/Mvc/Mvc.Core/test/ConflictObjectResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.Core/test/ConflictResultTest.cs b/src/Mvc/Mvc.Core/test/ConflictResultTest.cs index 16835c55efc1..1d8ec7662e98 100644 --- a/src/Mvc/Mvc.Core/test/ConflictResultTest.cs +++ b/src/Mvc/Mvc.Core/test/ConflictResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ConsumesAttributeTests.cs b/src/Mvc/Mvc.Core/test/ConsumesAttributeTests.cs index d24efa7fa10c..2f172b56e96e 100644 --- a/src/Mvc/Mvc.Core/test/ConsumesAttributeTests.cs +++ b/src/Mvc/Mvc.Core/test/ConsumesAttributeTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ContentResultTest.cs b/src/Mvc/Mvc.Core/test/ContentResultTest.cs index afe9675a695d..eab23305d1fc 100644 --- a/src/Mvc/Mvc.Core/test/ContentResultTest.cs +++ b/src/Mvc/Mvc.Core/test/ContentResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/ControllerBaseTest.cs b/src/Mvc/Mvc.Core/test/ControllerBaseTest.cs index e29e773bbaba..1024b423880a 100644 --- a/src/Mvc/Mvc.Core/test/ControllerBaseTest.cs +++ b/src/Mvc/Mvc.Core/test/ControllerBaseTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Controllers/ControllerActivatorProviderTest.cs b/src/Mvc/Mvc.Core/test/Controllers/ControllerActivatorProviderTest.cs index e6af45f3b7e3..4ec1d2eec672 100644 --- a/src/Mvc/Mvc.Core/test/Controllers/ControllerActivatorProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/Controllers/ControllerActivatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/Controllers/ControllerBinderDelegateProviderTest.cs b/src/Mvc/Mvc.Core/test/Controllers/ControllerBinderDelegateProviderTest.cs index 0fc291db3135..45ffd65c91e7 100644 --- a/src/Mvc/Mvc.Core/test/Controllers/ControllerBinderDelegateProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/Controllers/ControllerBinderDelegateProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Controllers/ControllerFactoryProviderTest.cs b/src/Mvc/Mvc.Core/test/Controllers/ControllerFactoryProviderTest.cs index fc86fc201e78..17787349853b 100644 --- a/src/Mvc/Mvc.Core/test/Controllers/ControllerFactoryProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/Controllers/ControllerFactoryProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/Controllers/ControllerFeatureProviderTest.cs b/src/Mvc/Mvc.Core/test/Controllers/ControllerFeatureProviderTest.cs index e0d5102a54dd..2ca6e8f33365 100644 --- a/src/Mvc/Mvc.Core/test/Controllers/ControllerFeatureProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/Controllers/ControllerFeatureProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Controllers/DefaultControllerActivatorTest.cs b/src/Mvc/Mvc.Core/test/Controllers/DefaultControllerActivatorTest.cs index ea99a7e6224b..ef0d66258afc 100644 --- a/src/Mvc/Mvc.Core/test/Controllers/DefaultControllerActivatorTest.cs +++ b/src/Mvc/Mvc.Core/test/Controllers/DefaultControllerActivatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Controllers/DefaultControllerFactoryTest.cs b/src/Mvc/Mvc.Core/test/Controllers/DefaultControllerFactoryTest.cs index 060ad2e7ba2f..59e0544da951 100644 --- a/src/Mvc/Mvc.Core/test/Controllers/DefaultControllerFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/Controllers/DefaultControllerFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/Controllers/ServiceBasedControllerActivatorTest.cs b/src/Mvc/Mvc.Core/test/Controllers/ServiceBasedControllerActivatorTest.cs index cb4d86827098..5c57f5e6ac57 100644 --- a/src/Mvc/Mvc.Core/test/Controllers/ServiceBasedControllerActivatorTest.cs +++ b/src/Mvc/Mvc.Core/test/Controllers/ServiceBasedControllerActivatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/CreatedAtActionResultTests.cs b/src/Mvc/Mvc.Core/test/CreatedAtActionResultTests.cs index 3b559992e55e..03528226f3b7 100644 --- a/src/Mvc/Mvc.Core/test/CreatedAtActionResultTests.cs +++ b/src/Mvc/Mvc.Core/test/CreatedAtActionResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.Core/test/CreatedAtRouteResultTests.cs b/src/Mvc/Mvc.Core/test/CreatedAtRouteResultTests.cs index f6cf7d583a02..f3c5680d0fbc 100644 --- a/src/Mvc/Mvc.Core/test/CreatedAtRouteResultTests.cs +++ b/src/Mvc/Mvc.Core/test/CreatedAtRouteResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/CreatedResultTests.cs b/src/Mvc/Mvc.Core/test/CreatedResultTests.cs index 56db1771c799..ee3f613c8b27 100644 --- a/src/Mvc/Mvc.Core/test/CreatedResultTests.cs +++ b/src/Mvc/Mvc.Core/test/CreatedResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.Core/test/DependencyInjection/ApiBehaviorOptionsSetupTest.cs b/src/Mvc/Mvc.Core/test/DependencyInjection/ApiBehaviorOptionsSetupTest.cs index c6700283eb99..cc0c026db809 100644 --- a/src/Mvc/Mvc.Core/test/DependencyInjection/ApiBehaviorOptionsSetupTest.cs +++ b/src/Mvc/Mvc.Core/test/DependencyInjection/ApiBehaviorOptionsSetupTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Core/test/DependencyInjection/ApplicationModelConventionExtensionsTest.cs b/src/Mvc/Mvc.Core/test/DependencyInjection/ApplicationModelConventionExtensionsTest.cs index 5ef954003c22..7b43446dec9c 100644 --- a/src/Mvc/Mvc.Core/test/DependencyInjection/ApplicationModelConventionExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/DependencyInjection/ApplicationModelConventionExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/DependencyInjection/MvcBuilderExtensionsTest.cs b/src/Mvc/Mvc.Core/test/DependencyInjection/MvcBuilderExtensionsTest.cs index 58eb24287143..0e4584f20ac9 100644 --- a/src/Mvc/Mvc.Core/test/DependencyInjection/MvcBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/DependencyInjection/MvcBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/DependencyInjection/MvcCoreBuilderExtensionsTest.cs b/src/Mvc/Mvc.Core/test/DependencyInjection/MvcCoreBuilderExtensionsTest.cs index 0b94ea53ec61..7b793d2a250f 100644 --- a/src/Mvc/Mvc.Core/test/DependencyInjection/MvcCoreBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/DependencyInjection/MvcCoreBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/DependencyInjection/MvcCoreServiceCollectionExtensionsTest.cs b/src/Mvc/Mvc.Core/test/DependencyInjection/MvcCoreServiceCollectionExtensionsTest.cs index f5167822314d..21a862dd3fd7 100644 --- a/src/Mvc/Mvc.Core/test/DependencyInjection/MvcCoreServiceCollectionExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/DependencyInjection/MvcCoreServiceCollectionExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/EmptyResultTests.cs b/src/Mvc/Mvc.Core/test/EmptyResultTests.cs index 74d1e40bb642..1fe39494e465 100644 --- a/src/Mvc/Mvc.Core/test/EmptyResultTests.cs +++ b/src/Mvc/Mvc.Core/test/EmptyResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.Core/test/FileContentResultTest.cs b/src/Mvc/Mvc.Core/test/FileContentResultTest.cs index 3a1451994402..5e225cbdb123 100644 --- a/src/Mvc/Mvc.Core/test/FileContentResultTest.cs +++ b/src/Mvc/Mvc.Core/test/FileContentResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/FileResultTest.cs b/src/Mvc/Mvc.Core/test/FileResultTest.cs index 674026b5f187..48969c8f8dd2 100644 --- a/src/Mvc/Mvc.Core/test/FileResultTest.cs +++ b/src/Mvc/Mvc.Core/test/FileResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/FileStreamResultTest.cs b/src/Mvc/Mvc.Core/test/FileStreamResultTest.cs index 8152b2c44e9e..bd89c026ad5c 100644 --- a/src/Mvc/Mvc.Core/test/FileStreamResultTest.cs +++ b/src/Mvc/Mvc.Core/test/FileStreamResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/Filters/ActionFilterAttributeTests.cs b/src/Mvc/Mvc.Core/test/Filters/ActionFilterAttributeTests.cs index 575606c78554..5e0e6b0c3d2d 100644 --- a/src/Mvc/Mvc.Core/test/Filters/ActionFilterAttributeTests.cs +++ b/src/Mvc/Mvc.Core/test/Filters/ActionFilterAttributeTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Moq; diff --git a/src/Mvc/Mvc.Core/test/Filters/DisableRequestSizeLimitFilterTest.cs b/src/Mvc/Mvc.Core/test/Filters/DisableRequestSizeLimitFilterTest.cs index 0ea66617f8cf..a99efb77ab34 100644 --- a/src/Mvc/Mvc.Core/test/Filters/DisableRequestSizeLimitFilterTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/DisableRequestSizeLimitFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; diff --git a/src/Mvc/Mvc.Core/test/Filters/FilterCollectionTest.cs b/src/Mvc/Mvc.Core/test/Filters/FilterCollectionTest.cs index 971e43eebfcd..9dc64b7c1248 100644 --- a/src/Mvc/Mvc.Core/test/Filters/FilterCollectionTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/FilterCollectionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Testing; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/Filters/FilterFactoryTest.cs b/src/Mvc/Mvc.Core/test/Filters/FilterFactoryTest.cs index 366a59cb5bd9..54079a066588 100644 --- a/src/Mvc/Mvc.Core/test/Filters/FilterFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/FilterFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/test/Filters/FilterProviderTest.cs b/src/Mvc/Mvc.Core/test/Filters/FilterProviderTest.cs index 8639542ab7af..99a3f3768d8c 100644 --- a/src/Mvc/Mvc.Core/test/Filters/FilterProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/FilterProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterAttributeTest.cs b/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterAttributeTest.cs index e6912b1ff904..6844ef73e11f 100644 --- a/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterBuilderTest.cs b/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterBuilderTest.cs index 2d6a4fa11cdb..482ed628cb6a 100644 --- a/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterBuilderTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterBuilderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterConfigurationProviderTest.cs b/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterConfigurationProviderTest.cs index e2e1dd24dba2..83d6b75059bd 100644 --- a/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterConfigurationProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterConfigurationProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Castle.Core.Logging; diff --git a/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterTest.cs b/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterTest.cs index 5b02a3be9769..10467564760d 100644 --- a/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/MiddlewareFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Filters/RequestFormLimitsFilterTest.cs b/src/Mvc/Mvc.Core/test/Filters/RequestFormLimitsFilterTest.cs index 9d7b467f6747..1ad10e6095f7 100644 --- a/src/Mvc/Mvc.Core/test/Filters/RequestFormLimitsFilterTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/RequestFormLimitsFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; diff --git a/src/Mvc/Mvc.Core/test/Filters/RequestSizeLimitFilterTest.cs b/src/Mvc/Mvc.Core/test/Filters/RequestSizeLimitFilterTest.cs index 3d3ec36ed5be..f184635c2edf 100644 --- a/src/Mvc/Mvc.Core/test/Filters/RequestSizeLimitFilterTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/RequestSizeLimitFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Http.Features; diff --git a/src/Mvc/Mvc.Core/test/Filters/ResponseCacheFilterExecutorTest.cs b/src/Mvc/Mvc.Core/test/Filters/ResponseCacheFilterExecutorTest.cs index 2ed860f0a89e..58a74346106e 100644 --- a/src/Mvc/Mvc.Core/test/Filters/ResponseCacheFilterExecutorTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/ResponseCacheFilterExecutorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Filters/ResultFilterAttributeTest.cs b/src/Mvc/Mvc.Core/test/Filters/ResultFilterAttributeTest.cs index bfec55fb0641..3827d13528bf 100644 --- a/src/Mvc/Mvc.Core/test/Filters/ResultFilterAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/Filters/ResultFilterAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Moq; diff --git a/src/Mvc/Mvc.Core/test/FlushReportingStream.cs b/src/Mvc/Mvc.Core/test/FlushReportingStream.cs index 65f2af8e38af..dcdb5d0a5b15 100644 --- a/src/Mvc/Mvc.Core/test/FlushReportingStream.cs +++ b/src/Mvc/Mvc.Core/test/FlushReportingStream.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Threading; diff --git a/src/Mvc/Mvc.Core/test/ForbidResultTest.cs b/src/Mvc/Mvc.Core/test/ForbidResultTest.cs index 0e94026c388d..88f301bcf5e7 100644 --- a/src/Mvc/Mvc.Core/test/ForbidResultTest.cs +++ b/src/Mvc/Mvc.Core/test/ForbidResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/Formatters/AcceptHeaderParserTest.cs b/src/Mvc/Mvc.Core/test/Formatters/AcceptHeaderParserTest.cs index 9c2bd05c5c84..9517100d7728 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/AcceptHeaderParserTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/AcceptHeaderParserTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/Formatters/FormatFilterTest.cs b/src/Mvc/Mvc.Core/test/Formatters/FormatFilterTest.cs index 3dd386d31474..9d38ce8dd350 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/FormatFilterTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/FormatFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Formatters/FormatterCollectionTest.cs b/src/Mvc/Mvc.Core/test/Formatters/FormatterCollectionTest.cs index 81b532a3ad3e..e1aada6788f7 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/FormatterCollectionTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/FormatterCollectionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text; diff --git a/src/Mvc/Mvc.Core/test/Formatters/FormatterMappingsTest.cs b/src/Mvc/Mvc.Core/test/Formatters/FormatterMappingsTest.cs index a181b5528b7a..2a7f3b4271c8 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/FormatterMappingsTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/FormatterMappingsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Testing; diff --git a/src/Mvc/Mvc.Core/test/Formatters/InputFormatterTest.cs b/src/Mvc/Mvc.Core/test/Formatters/InputFormatterTest.cs index d5b631d9b6f2..26dc05f2098b 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/InputFormatterTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/InputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Formatters/JsonInputFormatterTestBase.cs b/src/Mvc/Mvc.Core/test/Formatters/JsonInputFormatterTestBase.cs index 56b1b258ea1d..df6abe48067f 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/JsonInputFormatterTestBase.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/JsonInputFormatterTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Formatters/JsonOutputFormatterTestBase.cs b/src/Mvc/Mvc.Core/test/Formatters/JsonOutputFormatterTestBase.cs index 2e23227dce52..0f74cae3358e 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/JsonOutputFormatterTestBase.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/JsonOutputFormatterTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/Formatters/MediaTypeTest.cs b/src/Mvc/Mvc.Core/test/Formatters/MediaTypeTest.cs index 9ab131f8ecdf..e1ad7f408a0e 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/MediaTypeTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/MediaTypeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Formatters/NoContentFormatterTests.cs b/src/Mvc/Mvc.Core/test/Formatters/NoContentFormatterTests.cs index b8e1d51bc2fa..89327b1f5be8 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/NoContentFormatterTests.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/NoContentFormatterTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Formatters/OutputFormatterTests.cs b/src/Mvc/Mvc.Core/test/Formatters/OutputFormatterTests.cs index 3c2e9b80a951..45338122942f 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/OutputFormatterTests.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/OutputFormatterTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Formatters/ResponseContentTypeHelperTest.cs b/src/Mvc/Mvc.Core/test/Formatters/ResponseContentTypeHelperTest.cs index 6895f5528822..adf42487f68c 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/ResponseContentTypeHelperTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/ResponseContentTypeHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text; using Microsoft.Net.Http.Headers; diff --git a/src/Mvc/Mvc.Core/test/Formatters/StreamOutputFormatterTest.cs b/src/Mvc/Mvc.Core/test/Formatters/StreamOutputFormatterTest.cs index 76fef9e1a2a1..4bc19bbdfb98 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/StreamOutputFormatterTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/StreamOutputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/Formatters/StringOutputFormatterTests.cs b/src/Mvc/Mvc.Core/test/Formatters/StringOutputFormatterTests.cs index 9069aa06f664..02065816f3ed 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/StringOutputFormatterTests.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/StringOutputFormatterTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/Formatters/SystemTextJsonInputFormatterTest.cs b/src/Mvc/Mvc.Core/test/Formatters/SystemTextJsonInputFormatterTest.cs index ab065fe80fc3..05b53d7334c1 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/SystemTextJsonInputFormatterTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/SystemTextJsonInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Formatters/SystemTextJsonOutputFormatterTest.cs b/src/Mvc/Mvc.Core/test/Formatters/SystemTextJsonOutputFormatterTest.cs index 35ab869d9b01..dc886203976a 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/SystemTextJsonOutputFormatterTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/SystemTextJsonOutputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/Formatters/TextInputFormatterTest.cs b/src/Mvc/Mvc.Core/test/Formatters/TextInputFormatterTest.cs index 5191a25c331c..be3f3f0d73ee 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/TextInputFormatterTest.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/TextInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Formatters/TextOutputFormatterTests.cs b/src/Mvc/Mvc.Core/test/Formatters/TextOutputFormatterTests.cs index 53420ac38d7e..f95f0c6370a0 100644 --- a/src/Mvc/Mvc.Core/test/Formatters/TextOutputFormatterTests.cs +++ b/src/Mvc/Mvc.Core/test/Formatters/TextOutputFormatterTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/HttpNotFoundObjectResultTest.cs b/src/Mvc/Mvc.Core/test/HttpNotFoundObjectResultTest.cs index 7956120d2a23..68282fee95d4 100644 --- a/src/Mvc/Mvc.Core/test/HttpNotFoundObjectResultTest.cs +++ b/src/Mvc/Mvc.Core/test/HttpNotFoundObjectResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/HttpNotFoundResultTests.cs b/src/Mvc/Mvc.Core/test/HttpNotFoundResultTests.cs index a70c66e334ab..38b36b2971cd 100644 --- a/src/Mvc/Mvc.Core/test/HttpNotFoundResultTests.cs +++ b/src/Mvc/Mvc.Core/test/HttpNotFoundResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/HttpOkObjectResultTest.cs b/src/Mvc/Mvc.Core/test/HttpOkObjectResultTest.cs index 8735a8c89fca..3d366860dc01 100644 --- a/src/Mvc/Mvc.Core/test/HttpOkObjectResultTest.cs +++ b/src/Mvc/Mvc.Core/test/HttpOkObjectResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/HttpOkResultTest.cs b/src/Mvc/Mvc.Core/test/HttpOkResultTest.cs index be9a2c7af60c..a043a54d2fe3 100644 --- a/src/Mvc/Mvc.Core/test/HttpOkResultTest.cs +++ b/src/Mvc/Mvc.Core/test/HttpOkResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/test/HttpStatusCodeResultTests.cs b/src/Mvc/Mvc.Core/test/HttpStatusCodeResultTests.cs index 48634917fbbc..9941ca35ae10 100644 --- a/src/Mvc/Mvc.Core/test/HttpStatusCodeResultTests.cs +++ b/src/Mvc/Mvc.Core/test/HttpStatusCodeResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.Core/test/HttpUnauthorizedResultTests.cs b/src/Mvc/Mvc.Core/test/HttpUnauthorizedResultTests.cs index 2f51646fac2e..4c9331b24bed 100644 --- a/src/Mvc/Mvc.Core/test/HttpUnauthorizedResultTests.cs +++ b/src/Mvc/Mvc.Core/test/HttpUnauthorizedResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ActionMethodExecutorTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ActionMethodExecutorTest.cs index aa40fb873a2e..4be238e436fb 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ActionMethodExecutorTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ActionMethodExecutorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ActionResultTypeMapperTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ActionResultTypeMapperTest.cs index a21b509be262..579efabb4c82 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ActionResultTypeMapperTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ActionResultTypeMapperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Moq; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ActionSelectionTableTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ActionSelectionTableTest.cs index c6cb0dcfad38..68f7efc21bd4 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ActionSelectionTableTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ActionSelectionTableTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ActionSelectorTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ActionSelectorTest.cs index 4356fd365bf1..2265c5632ae1 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ActionSelectorTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ActionSelectorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/AsyncEnumerableReaderTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/AsyncEnumerableReaderTest.cs index daf1e98d1f5e..5fdc1136d1e0 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/AsyncEnumerableReaderTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/AsyncEnumerableReaderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ClientErrorResultFilterTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ClientErrorResultFilterTest.cs index 0a2c6db76d73..fba8ddc765b1 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ClientErrorResultFilterTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ClientErrorResultFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/CompatibilitySwitchTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/CompatibilitySwitchTest.cs index aa91274e7785..734d519a066d 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/CompatibilitySwitchTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/CompatibilitySwitchTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ConfigureCompatibilityOptionsTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ConfigureCompatibilityOptionsTest.cs index 21a2bdce9504..3fa83465f122 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ConfigureCompatibilityOptionsTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ConfigureCompatibilityOptionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ControllerActionInvokerCacheTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ControllerActionInvokerCacheTest.cs index ae988f93f4ee..8f328afd3067 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ControllerActionInvokerCacheTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ControllerActionInvokerCacheTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ControllerActionInvokerTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ControllerActionInvokerTest.cs index 9ab07f66a1e9..46c2f22f8bec 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ControllerActionInvokerTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ControllerActionInvokerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/DefaultActionDescriptorCollectionProviderTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/DefaultActionDescriptorCollectionProviderTest.cs index e5eb4b7f9485..1a3f607b58e2 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/DefaultActionDescriptorCollectionProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/DefaultActionDescriptorCollectionProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Threading; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/DefaultOutputFormatterSelectorTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/DefaultOutputFormatterSelectorTest.cs index 64310b8fd655..7da1d6ac5be0 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/DefaultOutputFormatterSelectorTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/DefaultOutputFormatterSelectorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/JsonResultExecutorTestBase.cs b/src/Mvc/Mvc.Core/test/Infrastructure/JsonResultExecutorTestBase.cs index cb5d3f18970d..52fe64c7e33e 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/JsonResultExecutorTestBase.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/JsonResultExecutorTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ModelStateInvalidFilterTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ModelStateInvalidFilterTest.cs index fb5c0111c190..a4b46408db61 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ModelStateInvalidFilterTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ModelStateInvalidFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/NonDisposableStreamTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/NonDisposableStreamTest.cs index 942119d8d1ef..a244e786ac74 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/NonDisposableStreamTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/NonDisposableStreamTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ObjectResultExecutorTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ObjectResultExecutorTest.cs index dd36fbe7dc92..929ae74c4162 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ObjectResultExecutorTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ObjectResultExecutorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ParameterDefaultValuesTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ParameterDefaultValuesTest.cs index befe46a23f75..6b90cc457fc2 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ParameterDefaultValuesTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ParameterDefaultValuesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetailsFactoryTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetailsFactoryTest.cs index 4b4957c0368e..11e54d1d148c 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetailsFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetailsFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetailsJsonConverterTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetailsJsonConverterTest.cs index dd7550136951..58e951dd597a 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetailsJsonConverterTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetailsJsonConverterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Text; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetalsClientErrorFactoryTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetalsClientErrorFactoryTest.cs index 93ac451d3753..b8f8ef8e322d 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetalsClientErrorFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ProblemDetalsClientErrorFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/SystemTextJsonResultExecutorTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/SystemTextJsonResultExecutorTest.cs index 54a2d99a9d4c..a7572ed656b0 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/SystemTextJsonResultExecutorTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/SystemTextJsonResultExecutorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text; diff --git a/src/Mvc/Mvc.Core/test/Infrastructure/ValidationProblemDetailsJsonConverterTest.cs b/src/Mvc/Mvc.Core/test/Infrastructure/ValidationProblemDetailsJsonConverterTest.cs index d81546315bae..c0a2fc6c27ae 100644 --- a/src/Mvc/Mvc.Core/test/Infrastructure/ValidationProblemDetailsJsonConverterTest.cs +++ b/src/Mvc/Mvc.Core/test/Infrastructure/ValidationProblemDetailsJsonConverterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/LocalRedirectResultTest.cs b/src/Mvc/Mvc.Core/test/LocalRedirectResultTest.cs index 0c6bb21381fd..61091bbc1f5c 100644 --- a/src/Mvc/Mvc.Core/test/LocalRedirectResultTest.cs +++ b/src/Mvc/Mvc.Core/test/LocalRedirectResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/MediaTypeCollectionTest.cs b/src/Mvc/Mvc.Core/test/MediaTypeCollectionTest.cs index 5745821a7994..81e7ff93e4e0 100644 --- a/src/Mvc/Mvc.Core/test/MediaTypeCollectionTest.cs +++ b/src/Mvc/Mvc.Core/test/MediaTypeCollectionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Net.Http.Headers; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ArrayModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ArrayModelBinderProviderTest.cs index c4da08f0eff7..8a8a7c13347a 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ArrayModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ArrayModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ArrayModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ArrayModelBinderTest.cs index d1edc6f57724..e54bd34cfe1d 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ArrayModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ArrayModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BinderTypeModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BinderTypeModelBinderProviderTest.cs index 98c72b2918ee..32905f0bfb28 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BinderTypeModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BinderTypeModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BinderTypeModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BinderTypeModelBinderTest.cs index 5f9110b76985..3df48077cbfc 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BinderTypeModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BinderTypeModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BodyModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BodyModelBinderProviderTest.cs index 148af531be1a..136eabfd04b4 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BodyModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BodyModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BodyModelBinderTests.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BodyModelBinderTests.cs index 6aaf585aecd7..9ec67c790383 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BodyModelBinderTests.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/BodyModelBinderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ByteArrayModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ByteArrayModelBinderProviderTest.cs index e7694592aee2..796d52a8318c 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ByteArrayModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ByteArrayModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ByteArrayModelBinderTests.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ByteArrayModelBinderTests.cs index 467965841664..37927f1fe4cd 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ByteArrayModelBinderTests.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ByteArrayModelBinderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CancellationTokenModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CancellationTokenModelBinderProviderTest.cs index 676485a8ae83..fd19627a5938 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CancellationTokenModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CancellationTokenModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CancellationTokenModelBinderTests.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CancellationTokenModelBinderTests.cs index 93a21b60b73f..660581de2501 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CancellationTokenModelBinderTests.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CancellationTokenModelBinderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CollectionModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CollectionModelBinderProviderTest.cs index 6e233a0580f5..b81d904f3b3b 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CollectionModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CollectionModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CollectionModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CollectionModelBinderTest.cs index 341947bf357f..ea06fe055a5d 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CollectionModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/CollectionModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexObjectModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexObjectModelBinderProviderTest.cs index 082fe6b74e4e..568f1b693436 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexObjectModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexObjectModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexObjectModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexObjectModelBinderTest.cs index fcf5ea537ef3..f00789972141 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexObjectModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexObjectModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexTypeModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexTypeModelBinderProviderTest.cs index c154bff7bbc5..46134d2353d9 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexTypeModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexTypeModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexTypeModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexTypeModelBinderTest.cs index 4a4a795116e3..158cea373d61 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexTypeModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ComplexTypeModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DateTimeModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DateTimeModelBinderProviderTest.cs index 376d3b6765fc..14d59ec87aad 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DateTimeModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DateTimeModelBinderProviderTest.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DateTimeModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DateTimeModelBinderTest.cs index e44fa480ef28..93726005e545 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DateTimeModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DateTimeModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DecimalModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DecimalModelBinderTest.cs index 21ec379c4aec..7e0f6cd8a7a8 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DecimalModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DecimalModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.Extensions.Logging.Abstractions; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DictionaryModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DictionaryModelBinderProviderTest.cs index ce740a6e80b6..632c891510bc 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DictionaryModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DictionaryModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DictionaryModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DictionaryModelBinderTest.cs index 60761d62fcc4..30bdf3f6ac95 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DictionaryModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DictionaryModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DoubleModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DoubleModelBinderTest.cs index 4d028ff8b473..4389bdc5c416 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DoubleModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/DoubleModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.Extensions.Logging.Abstractions; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/EnumTypeModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/EnumTypeModelBinderProviderTest.cs index 017f9a4e48e5..8cccfbf4ae97 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/EnumTypeModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/EnumTypeModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/EnumTypeModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/EnumTypeModelBinderTest.cs index 5f5efe5e666a..d7b8c97ec383 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/EnumTypeModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/EnumTypeModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatModelBinderTest.cs index 267947309293..19546ec6c459 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.Extensions.Logging.Abstractions; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatingPointTypeModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatingPointTypeModelBinderProviderTest.cs index 7da624a7edab..80ed2e428548 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatingPointTypeModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatingPointTypeModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatingPointTypeModelBinderTestOfT.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatingPointTypeModelBinderTestOfT.cs index 7cf48f1334b5..18b23933e54b 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatingPointTypeModelBinderTestOfT.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FloatingPointTypeModelBinderTestOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormCollectionModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormCollectionModelBinderProviderTest.cs index 38b5a0d65dd0..61dc6efc28a0 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormCollectionModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormCollectionModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormCollectionModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormCollectionModelBinderTest.cs index ad8eca9bc30e..3b3131fddaa1 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormCollectionModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormCollectionModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormFileModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormFileModelBinderProviderTest.cs index 7c726c129b9d..a6657c3d4f7e 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormFileModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormFileModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormFileModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormFileModelBinderTest.cs index b1e3c35817c0..ca1f35e881e4 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormFileModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/FormFileModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/HeaderModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/HeaderModelBinderProviderTest.cs index 41d3ad7dcdb9..7fb53248a820 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/HeaderModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/HeaderModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/HeaderModelBinderTests.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/HeaderModelBinderTests.cs index 42e42846df1e..8649c9bf9d3f 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/HeaderModelBinderTests.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/HeaderModelBinderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderProviderTest.cs index 8f4587301e78..8326929a1f74 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderTest.cs index 55fa61e919e9..a0da798312f6 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/KeyValuePairModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ServicesModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ServicesModelBinderProviderTest.cs index e3a46b57bf55..7de3fc2b5533 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ServicesModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ServicesModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ServicesModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ServicesModelBinderTest.cs index f3a3e7578adc..a44d764ecaa8 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ServicesModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/ServicesModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/SimpleTypeModelBinderProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/SimpleTypeModelBinderProviderTest.cs index 8c7329c6e50f..737b280783a1 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/SimpleTypeModelBinderProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/SimpleTypeModelBinderProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/SimpleTypeModelBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/SimpleTypeModelBinderTest.cs index ee5c372cd095..a815c0f47487 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Binders/SimpleTypeModelBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Binders/SimpleTypeModelBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/BindingSourceValueProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/BindingSourceValueProviderTest.cs index ea699e183a33..ad546a765412 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/BindingSourceValueProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/BindingSourceValueProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Testing; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/CompositeValueProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/CompositeValueProviderTest.cs index cdf2f80b4725..6c7fd26b277e 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/CompositeValueProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/CompositeValueProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/DefaultModelBindingContextTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/DefaultModelBindingContextTest.cs index 6fc7d49237e8..a16f79403f20 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/DefaultModelBindingContextTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/DefaultModelBindingContextTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/ElementalValueProviderTests.cs b/src/Mvc/Mvc.Core/test/ModelBinding/ElementalValueProviderTests.cs index c2c64182732c..7d43a2667eca 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/ElementalValueProviderTests.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/ElementalValueProviderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/EnumerableValueProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/EnumerableValueProviderTest.cs index 582dd6017d34..6c7b35fb77bc 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/EnumerableValueProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/EnumerableValueProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/FormFileValueProviderFactoryTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/FormFileValueProviderFactoryTest.cs index 9926fc19348e..dac50bbfafde 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/FormFileValueProviderFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/FormFileValueProviderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/FormFileValueProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/FormFileValueProviderTest.cs index 7be36b91ff97..110a81dca2d1 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/FormFileValueProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/FormFileValueProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/FormValueProviderFactoryTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/FormValueProviderFactoryTest.cs index 53873b0ee6fc..2463bfcbace3 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/FormValueProviderFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/FormValueProviderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/FormValueProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/FormValueProviderTest.cs index adc38cadcb02..30e66d03ba74 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/FormValueProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/FormValueProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/JQueryFormValueProviderFactoryTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/JQueryFormValueProviderFactoryTest.cs index 186b04c64ebc..415c9bd42c9c 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/JQueryFormValueProviderFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/JQueryFormValueProviderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/JQueryFormValueProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/JQueryFormValueProviderTest.cs index 4676530e5f3d..e096fd121f6c 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/JQueryFormValueProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/JQueryFormValueProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/JQueryQueryStringValueProviderFactoryTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/JQueryQueryStringValueProviderFactoryTest.cs index 95f1a50dcb4c..5ddd833b0d38 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/JQueryQueryStringValueProviderFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/JQueryQueryStringValueProviderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/JQueryQueryStringValueProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/JQueryQueryStringValueProviderTest.cs index 8d9b795769d5..476e78c187f4 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/JQueryQueryStringValueProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/JQueryQueryStringValueProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/BindingSourceMetadataProviderTests.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/BindingSourceMetadataProviderTests.cs index 5cf12bb5f032..0695b88a36b6 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/BindingSourceMetadataProviderTests.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/BindingSourceMetadataProviderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/BindingSourceTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/BindingSourceTest.cs index 0366a7c9b3aa..d0b631f28895 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/BindingSourceTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/BindingSourceTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Testing; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/CompositeBindingSourceTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/CompositeBindingSourceTest.cs index b5ee0c57eaae..3df452bdf028 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/CompositeBindingSourceTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/CompositeBindingSourceTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Testing; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultBindingMetadataProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultBindingMetadataProviderTest.cs index 8ab0bef56c41..cc78686f6efb 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultBindingMetadataProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultBindingMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs index 89948358177a..44ade45ed738 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataTest.cs index 628471df74e9..bac549006808 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultModelMetadataTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultValidationMetadataProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultValidationMetadataProviderTest.cs index fde003253503..571ef59af9b2 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultValidationMetadataProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DefaultValidationMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DisplayMetadataTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DisplayMetadataTest.cs index b576b3ede9fc..77c845baa1e1 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DisplayMetadataTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/DisplayMetadataTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/EmptyCompositeMetadataDetailsProvider.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/EmptyCompositeMetadataDetailsProvider.cs index 84ac75ffc08f..576de28b2dc9 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/EmptyCompositeMetadataDetailsProvider.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/EmptyCompositeMetadataDetailsProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ModelBinding.Metadata { diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ExcludeBindingMetadataProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ExcludeBindingMetadataProviderTest.cs index 908731445ff4..ef812dc04af2 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ExcludeBindingMetadataProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ExcludeBindingMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/HasValidatorsValidationMetadataProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/HasValidatorsValidationMetadataProviderTest.cs index 94ebad7b3b06..b24c36485436 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/HasValidatorsValidationMetadataProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/HasValidatorsValidationMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/MetadataDetailsProviderExtensionsTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/MetadataDetailsProviderExtensionsTest.cs index 5a5254d00439..cbd3fbadcf21 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/MetadataDetailsProviderExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/MetadataDetailsProviderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelAttributesTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelAttributesTest.cs index 3174e0110de3..a6d0cdb68b19 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelAttributesTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelAttributesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelBinderAttributeTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelBinderAttributeTest.cs index 3d1e121da523..87a09a4da146 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelBinderAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelBinderAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelMetadataProviderExtensionsTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelMetadataProviderExtensionsTest.cs index 101a2433ddd2..71a67226e3b1 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelMetadataProviderExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Metadata/ModelMetadataProviderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Testing; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/ModelBinderFactoryTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/ModelBinderFactoryTest.cs index b3f4d158880e..e1ad933f4536 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/ModelBinderFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/ModelBinderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/ModelBinderProviderExtensionsTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/ModelBinderProviderExtensionsTest.cs index 24f8310a4184..e2ed8d7b9bb0 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/ModelBinderProviderExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/ModelBinderProviderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/ModelBindingHelperTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/ModelBindingHelperTest.cs index 23c3513a1330..d6a4fa974b63 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/ModelBindingHelperTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/ModelBindingHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/ModelBindingResultTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/ModelBindingResultTest.cs index 9fa90d53dc0e..3a4cb754b120 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/ModelBindingResultTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/ModelBindingResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/ParameterBinderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/ParameterBinderTest.cs index b670a72ec499..a652a81b7046 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/ParameterBinderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/ParameterBinderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/PrefixContainerTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/PrefixContainerTest.cs index 78ce08be6102..ed2d7ffcca4a 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/PrefixContainerTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/PrefixContainerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/QueryStringValueProviderFactoryTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/QueryStringValueProviderFactoryTest.cs index fbf2605ad594..780fc7d5bd61 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/QueryStringValueProviderFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/QueryStringValueProviderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/QueryStringValueProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/QueryStringValueProviderTest.cs index 273586b1ebeb..361242f459c4 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/QueryStringValueProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/QueryStringValueProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/RouteValueProviderTests.cs b/src/Mvc/Mvc.Core/test/ModelBinding/RouteValueProviderTests.cs index ac6221d38136..526ff8da0270 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/RouteValueProviderTests.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/RouteValueProviderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/StubModelBinder.cs b/src/Mvc/Mvc.Core/test/ModelBinding/StubModelBinder.cs index b0d19eaa5604..0619e4ba2322 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/StubModelBinder.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/StubModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/TestModelBinderProviderContext.cs b/src/Mvc/Mvc.Core/test/ModelBinding/TestModelBinderProviderContext.cs index d0c29dae8d95..60945ab174cd 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/TestModelBinderProviderContext.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/TestModelBinderProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/TestValueProvider.cs b/src/Mvc/Mvc.Core/test/ModelBinding/TestValueProvider.cs index f0a5e1f57162..d021e0ded48f 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/TestValueProvider.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/TestValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/UnsupportedContentTypeFilterTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/UnsupportedContentTypeFilterTest.cs index b31db70f37a0..1c709c3a2f53 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/UnsupportedContentTypeFilterTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/UnsupportedContentTypeFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ClientValidatorCacheTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ClientValidatorCacheTest.cs index 7d4a8aeb3821..ac7880244cde 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ClientValidatorCacheTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ClientValidatorCacheTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/CompositeModelValidatorProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/CompositeModelValidatorProviderTest.cs index ed0c1e8811ed..c545f77b709d 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/CompositeModelValidatorProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/CompositeModelValidatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultCollectionValidationStrategyTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultCollectionValidationStrategyTest.cs index ee0eb39de6a8..a1348067f27f 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultCollectionValidationStrategyTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultCollectionValidationStrategyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultComplexObjectValidationStrategyTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultComplexObjectValidationStrategyTest.cs index ed4cb6ad4280..af76692e89e8 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultComplexObjectValidationStrategyTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultComplexObjectValidationStrategyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultModelValidatorProviderTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultModelValidatorProviderTest.cs index f23d6f4bea9b..65603870015d 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultModelValidatorProviderTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultModelValidatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultObjectValidatorTests.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultObjectValidatorTests.cs index 46b377d5b0c2..c8da6d96bcfc 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultObjectValidatorTests.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/DefaultObjectValidatorTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ExplicitIndexCollectionValidationStrategyTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ExplicitIndexCollectionValidationStrategyTest.cs index 8d09ea153ae4..b0c897b4da79 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ExplicitIndexCollectionValidationStrategyTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ExplicitIndexCollectionValidationStrategyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ModelValidatorProviderExtensionsTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ModelValidatorProviderExtensionsTest.cs index 69a067ad5df2..2ab9c8b429d2 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ModelValidatorProviderExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ModelValidatorProviderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ShortFormDictionaryValidationStrategyTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ShortFormDictionaryValidationStrategyTest.cs index c0026528575e..688928a4183c 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ShortFormDictionaryValidationStrategyTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ShortFormDictionaryValidationStrategyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ValidationStackTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ValidationStackTest.cs index 64c4201855e6..799ad4b844f8 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ValidationStackTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ValidationStackTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ValidatorCacheTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ValidatorCacheTest.cs index cabd56b0d0c0..bb8881e08ed5 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ValidatorCacheTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/Validation/ValidatorCacheTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/ModelBinding/ValueProviderFactoryExtensionsTest.cs b/src/Mvc/Mvc.Core/test/ModelBinding/ValueProviderFactoryExtensionsTest.cs index d55b1317e250..0cf5e371a40b 100644 --- a/src/Mvc/Mvc.Core/test/ModelBinding/ValueProviderFactoryExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/ModelBinding/ValueProviderFactoryExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/MvcCoreLoggerExtensionsTest.cs b/src/Mvc/Mvc.Core/test/MvcCoreLoggerExtensionsTest.cs index d2c3d763dfa8..109b2d1d8f03 100644 --- a/src/Mvc/Mvc.Core/test/MvcCoreLoggerExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/MvcCoreLoggerExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/MvcOptionsTest.cs b/src/Mvc/Mvc.Core/test/MvcOptionsTest.cs index 88504b212927..7e0442482c64 100644 --- a/src/Mvc/Mvc.Core/test/MvcOptionsTest.cs +++ b/src/Mvc/Mvc.Core/test/MvcOptionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ObjectResultTests.cs b/src/Mvc/Mvc.Core/test/ObjectResultTests.cs index 187e1ede7c42..48c8a61473bd 100644 --- a/src/Mvc/Mvc.Core/test/ObjectResultTests.cs +++ b/src/Mvc/Mvc.Core/test/ObjectResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/PhysicalFileResultTest.cs b/src/Mvc/Mvc.Core/test/PhysicalFileResultTest.cs index acd3e7f34b0c..666d2dc41885 100644 --- a/src/Mvc/Mvc.Core/test/PhysicalFileResultTest.cs +++ b/src/Mvc/Mvc.Core/test/PhysicalFileResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Core/test/ProducesAttributeTests.cs b/src/Mvc/Mvc.Core/test/ProducesAttributeTests.cs index 5c16de1124a5..ab117e92fa64 100644 --- a/src/Mvc/Mvc.Core/test/ProducesAttributeTests.cs +++ b/src/Mvc/Mvc.Core/test/ProducesAttributeTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Core/test/Properties/AssemblyInfo.cs index 3337ebeac24b..fb33a59c5309 100644 --- a/src/Mvc/Mvc.Core/test/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Core/test/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Core/test/RedirectResultTest.cs b/src/Mvc/Mvc.Core/test/RedirectResultTest.cs index 46ecfda35e65..8746466cf340 100644 --- a/src/Mvc/Mvc.Core/test/RedirectResultTest.cs +++ b/src/Mvc/Mvc.Core/test/RedirectResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/RedirectToActionResultTest.cs b/src/Mvc/Mvc.Core/test/RedirectToActionResultTest.cs index 40e70c447aba..2464c2dbb0e4 100644 --- a/src/Mvc/Mvc.Core/test/RedirectToActionResultTest.cs +++ b/src/Mvc/Mvc.Core/test/RedirectToActionResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/RedirectToPageResultTest.cs b/src/Mvc/Mvc.Core/test/RedirectToPageResultTest.cs index 17321fe0f63b..bb4078f6bcea 100644 --- a/src/Mvc/Mvc.Core/test/RedirectToPageResultTest.cs +++ b/src/Mvc/Mvc.Core/test/RedirectToPageResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/RedirectToRouteResultTest.cs b/src/Mvc/Mvc.Core/test/RedirectToRouteResultTest.cs index f747a2ba53eb..58d4a8c3face 100644 --- a/src/Mvc/Mvc.Core/test/RedirectToRouteResultTest.cs +++ b/src/Mvc/Mvc.Core/test/RedirectToRouteResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/RequestFormLimitsAttributeTest.cs b/src/Mvc/Mvc.Core/test/RequestFormLimitsAttributeTest.cs index df9eae7c9c33..540ed217b86f 100644 --- a/src/Mvc/Mvc.Core/test/RequestFormLimitsAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/RequestFormLimitsAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Core/test/RequireHttpsAttributeTests.cs b/src/Mvc/Mvc.Core/test/RequireHttpsAttributeTests.cs index e1bd339e4e30..2a74ab3a4d3b 100644 --- a/src/Mvc/Mvc.Core/test/RequireHttpsAttributeTests.cs +++ b/src/Mvc/Mvc.Core/test/RequireHttpsAttributeTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Core/test/ResponseCacheAttributeTest.cs b/src/Mvc/Mvc.Core/test/ResponseCacheAttributeTest.cs index 242af7b3eb3a..a69d6c46f159 100644 --- a/src/Mvc/Mvc.Core/test/ResponseCacheAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/ResponseCacheAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/ActionEndpointDataSourceBaseTest.cs b/src/Mvc/Mvc.Core/test/Routing/ActionEndpointDataSourceBaseTest.cs index c620abf1612c..f2ea6da330c4 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ActionEndpointDataSourceBaseTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ActionEndpointDataSourceBaseTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/ActionEndpointFactoryTest.cs b/src/Mvc/Mvc.Core/test/Routing/ActionEndpointFactoryTest.cs index 887268ef31e5..7e3fe91fe994 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ActionEndpointFactoryTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ActionEndpointFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/AttributeRouteTest.cs b/src/Mvc/Mvc.Core/test/Routing/AttributeRouteTest.cs index 3b9ca697878a..89698aa29513 100644 --- a/src/Mvc/Mvc.Core/test/Routing/AttributeRouteTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/AttributeRouteTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/AttributeRoutingTest.cs b/src/Mvc/Mvc.Core/test/Routing/AttributeRoutingTest.cs index f5097d39f73b..a21bdfc34c39 100644 --- a/src/Mvc/Mvc.Core/test/Routing/AttributeRoutingTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/AttributeRoutingTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/ConsumesMatcherPolicyTest.cs b/src/Mvc/Mvc.Core/test/Routing/ConsumesMatcherPolicyTest.cs index cd6f9e5f28a1..8575e3d9ed3d 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ConsumesMatcherPolicyTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ConsumesMatcherPolicyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/ControllerActionEndpointDataSourceTest.cs b/src/Mvc/Mvc.Core/test/Routing/ControllerActionEndpointDataSourceTest.cs index 8ee740f2c13a..16bb7998c209 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ControllerActionEndpointDataSourceTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ControllerActionEndpointDataSourceTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/ControllerLinkGeneratorExtensionsTest.cs b/src/Mvc/Mvc.Core/test/Routing/ControllerLinkGeneratorExtensionsTest.cs index 061a78c630a5..cc92b0f8589a 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ControllerLinkGeneratorExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ControllerLinkGeneratorExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/DynamicControllerEndpointMatcherPolicyTest.cs b/src/Mvc/Mvc.Core/test/Routing/DynamicControllerEndpointMatcherPolicyTest.cs index 44a8232b07db..e99ce0ffd940 100644 --- a/src/Mvc/Mvc.Core/test/Routing/DynamicControllerEndpointMatcherPolicyTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/DynamicControllerEndpointMatcherPolicyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/EndpointRoutingUrlHelperTest.cs b/src/Mvc/Mvc.Core/test/Routing/EndpointRoutingUrlHelperTest.cs index d702ab8196cb..9043f7b18dfd 100644 --- a/src/Mvc/Mvc.Core/test/Routing/EndpointRoutingUrlHelperTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/EndpointRoutingUrlHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/HttpMethodProviderAttributesTests.cs b/src/Mvc/Mvc.Core/test/Routing/HttpMethodProviderAttributesTests.cs index b8b04b4460ed..f3658a77ed47 100644 --- a/src/Mvc/Mvc.Core/test/Routing/HttpMethodProviderAttributesTests.cs +++ b/src/Mvc/Mvc.Core/test/Routing/HttpMethodProviderAttributesTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Core/test/Routing/KnownRouteValueConstraintTests.cs b/src/Mvc/Mvc.Core/test/Routing/KnownRouteValueConstraintTests.cs index e9a44d919d51..67734e8e1bc1 100644 --- a/src/Mvc/Mvc.Core/test/Routing/KnownRouteValueConstraintTests.cs +++ b/src/Mvc/Mvc.Core/test/Routing/KnownRouteValueConstraintTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Core/test/Routing/MvcRouteHandlerTests.cs b/src/Mvc/Mvc.Core/test/Routing/MvcRouteHandlerTests.cs index 87b25333a5c1..a21a3313d857 100644 --- a/src/Mvc/Mvc.Core/test/Routing/MvcRouteHandlerTests.cs +++ b/src/Mvc/Mvc.Core/test/Routing/MvcRouteHandlerTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Core/test/Routing/PageLinkGeneratorExtensionsTest.cs b/src/Mvc/Mvc.Core/test/Routing/PageLinkGeneratorExtensionsTest.cs index 0d1b66e2c15b..6a955991f33e 100644 --- a/src/Mvc/Mvc.Core/test/Routing/PageLinkGeneratorExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/PageLinkGeneratorExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/RoutePatternWriterTests.cs b/src/Mvc/Mvc.Core/test/Routing/RoutePatternWriterTests.cs index b7c1a9213b26..07d4004c1c0c 100644 --- a/src/Mvc/Mvc.Core/test/Routing/RoutePatternWriterTests.cs +++ b/src/Mvc/Mvc.Core/test/Routing/RoutePatternWriterTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text; using Microsoft.AspNetCore.Routing.Patterns; diff --git a/src/Mvc/Mvc.Core/test/Routing/RouteTemplateProviderAttributesTest.cs b/src/Mvc/Mvc.Core/test/Routing/RouteTemplateProviderAttributesTest.cs index 76be45cc8f77..02bf5568c1f1 100644 --- a/src/Mvc/Mvc.Core/test/Routing/RouteTemplateProviderAttributesTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/RouteTemplateProviderAttributesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Core/test/Routing/UrlHelperBaseTest.cs b/src/Mvc/Mvc.Core/test/Routing/UrlHelperBaseTest.cs index a57daa314d9c..b179e7fb6f55 100644 --- a/src/Mvc/Mvc.Core/test/Routing/UrlHelperBaseTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/UrlHelperBaseTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text; diff --git a/src/Mvc/Mvc.Core/test/Routing/UrlHelperExtensionsTest.cs b/src/Mvc/Mvc.Core/test/Routing/UrlHelperExtensionsTest.cs index 02ebfc549b52..31c181e15c57 100644 --- a/src/Mvc/Mvc.Core/test/Routing/UrlHelperExtensionsTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/UrlHelperExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/UrlHelperTest.cs b/src/Mvc/Mvc.Core/test/Routing/UrlHelperTest.cs index 2d7e4a0f1567..cf046a749d79 100644 --- a/src/Mvc/Mvc.Core/test/Routing/UrlHelperTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/UrlHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text; diff --git a/src/Mvc/Mvc.Core/test/Routing/UrlHelperTestBase.cs b/src/Mvc/Mvc.Core/test/Routing/UrlHelperTestBase.cs index a0693946bc57..7deacc13777b 100644 --- a/src/Mvc/Mvc.Core/test/Routing/UrlHelperTestBase.cs +++ b/src/Mvc/Mvc.Core/test/Routing/UrlHelperTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/Routing/ViewEnginePathTest.cs b/src/Mvc/Mvc.Core/test/Routing/ViewEnginePathTest.cs index cb95480328ea..570756c80122 100644 --- a/src/Mvc/Mvc.Core/test/Routing/ViewEnginePathTest.cs +++ b/src/Mvc/Mvc.Core/test/Routing/ViewEnginePathTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Core/test/SerializableErrorTests.cs b/src/Mvc/Mvc.Core/test/SerializableErrorTests.cs index 24a397b8822a..a8ad1363fa32 100644 --- a/src/Mvc/Mvc.Core/test/SerializableErrorTests.cs +++ b/src/Mvc/Mvc.Core/test/SerializableErrorTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ServiceFilterAttributeTest.cs b/src/Mvc/Mvc.Core/test/ServiceFilterAttributeTest.cs index e21e55018c37..39d9b9b0cdf1 100644 --- a/src/Mvc/Mvc.Core/test/ServiceFilterAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/ServiceFilterAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/test/SignInResultTest.cs b/src/Mvc/Mvc.Core/test/SignInResultTest.cs index 15f895bd5b5a..d879da9bf98a 100644 --- a/src/Mvc/Mvc.Core/test/SignInResultTest.cs +++ b/src/Mvc/Mvc.Core/test/SignInResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Security.Claims; diff --git a/src/Mvc/Mvc.Core/test/SignOutResultTest.cs b/src/Mvc/Mvc.Core/test/SignOutResultTest.cs index fe690c6ef496..1e75dfe32072 100644 --- a/src/Mvc/Mvc.Core/test/SignOutResultTest.cs +++ b/src/Mvc/Mvc.Core/test/SignOutResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Core/test/TestApplicationPart.cs b/src/Mvc/Mvc.Core/test/TestApplicationPart.cs index b8541d776b02..188e13d9ca27 100644 --- a/src/Mvc/Mvc.Core/test/TestApplicationPart.cs +++ b/src/Mvc/Mvc.Core/test/TestApplicationPart.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/TestFeatureProvider.cs b/src/Mvc/Mvc.Core/test/TestFeatureProvider.cs index 77c87709a491..6b0a59b01337 100644 --- a/src/Mvc/Mvc.Core/test/TestFeatureProvider.cs +++ b/src/Mvc/Mvc.Core/test/TestFeatureProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/TypeFilterAttributeTest.cs b/src/Mvc/Mvc.Core/test/TypeFilterAttributeTest.cs index 27d407b8371f..9d9cc98d6246 100644 --- a/src/Mvc/Mvc.Core/test/TypeFilterAttributeTest.cs +++ b/src/Mvc/Mvc.Core/test/TypeFilterAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Core/test/UnprocessableEntityObjectResultTests.cs b/src/Mvc/Mvc.Core/test/UnprocessableEntityObjectResultTests.cs index 7ab3fcfd9fab..bd50d9cfd425 100644 --- a/src/Mvc/Mvc.Core/test/UnprocessableEntityObjectResultTests.cs +++ b/src/Mvc/Mvc.Core/test/UnprocessableEntityObjectResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.Core/test/UnprocessableEntityResultTests.cs b/src/Mvc/Mvc.Core/test/UnprocessableEntityResultTests.cs index b54f474154b0..18dec4c9bf16 100644 --- a/src/Mvc/Mvc.Core/test/UnprocessableEntityResultTests.cs +++ b/src/Mvc/Mvc.Core/test/UnprocessableEntityResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Xunit; diff --git a/src/Mvc/Mvc.Core/test/ValidationProblemDetailsTest.cs b/src/Mvc/Mvc.Core/test/ValidationProblemDetailsTest.cs index 9c8f296d60ad..0f302af004a0 100644 --- a/src/Mvc/Mvc.Core/test/ValidationProblemDetailsTest.cs +++ b/src/Mvc/Mvc.Core/test/ValidationProblemDetailsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Core/test/VirtualFileResultTest.cs b/src/Mvc/Mvc.Core/test/VirtualFileResultTest.cs index b73aa0609ab5..82bc9da714ce 100644 --- a/src/Mvc/Mvc.Core/test/VirtualFileResultTest.cs +++ b/src/Mvc/Mvc.Core/test/VirtualFileResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Cors/src/CorsApplicationModelProvider.cs b/src/Mvc/Mvc.Cors/src/CorsApplicationModelProvider.cs index 37e286fa0346..22c2afdc6bf7 100644 --- a/src/Mvc/Mvc.Cors/src/CorsApplicationModelProvider.cs +++ b/src/Mvc/Mvc.Cors/src/CorsApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Cors/src/CorsAuthorizationFilter.cs b/src/Mvc/Mvc.Cors/src/CorsAuthorizationFilter.cs index 2ad0f3ebb428..d0c32b01cc4c 100644 --- a/src/Mvc/Mvc.Cors/src/CorsAuthorizationFilter.cs +++ b/src/Mvc/Mvc.Cors/src/CorsAuthorizationFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Cors/src/CorsAuthorizationFilterFactory.cs b/src/Mvc/Mvc.Cors/src/CorsAuthorizationFilterFactory.cs index 517a85aea1ba..82edcc6ef05e 100644 --- a/src/Mvc/Mvc.Cors/src/CorsAuthorizationFilterFactory.cs +++ b/src/Mvc/Mvc.Cors/src/CorsAuthorizationFilterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Cors/src/CorsHttpMethodActionConstraint.cs b/src/Mvc/Mvc.Cors/src/CorsHttpMethodActionConstraint.cs index 4fb9a22f6854..2e4537b48e3b 100644 --- a/src/Mvc/Mvc.Cors/src/CorsHttpMethodActionConstraint.cs +++ b/src/Mvc/Mvc.Cors/src/CorsHttpMethodActionConstraint.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.ObjectModel; diff --git a/src/Mvc/Mvc.Cors/src/CorsLoggerExtensions.cs b/src/Mvc/Mvc.Cors/src/CorsLoggerExtensions.cs index 2dda61895967..35472465190f 100644 --- a/src/Mvc/Mvc.Cors/src/CorsLoggerExtensions.cs +++ b/src/Mvc/Mvc.Cors/src/CorsLoggerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.Logging; diff --git a/src/Mvc/Mvc.Cors/src/DependencyInjection/MvcCorsMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.Cors/src/DependencyInjection/MvcCorsMvcCoreBuilderExtensions.cs index 4f09dd2f86df..013c9ae5d5f6 100644 --- a/src/Mvc/Mvc.Cors/src/DependencyInjection/MvcCorsMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.Cors/src/DependencyInjection/MvcCorsMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Cors.Infrastructure; diff --git a/src/Mvc/Mvc.Cors/src/DisableCorsAuthorizationFilter.cs b/src/Mvc/Mvc.Cors/src/DisableCorsAuthorizationFilter.cs index ed5a6ea2e31a..ce7186dc23f8 100644 --- a/src/Mvc/Mvc.Cors/src/DisableCorsAuthorizationFilter.cs +++ b/src/Mvc/Mvc.Cors/src/DisableCorsAuthorizationFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Cors/src/ICorsAuthorizationFilter.cs b/src/Mvc/Mvc.Cors/src/ICorsAuthorizationFilter.cs index 483a70980d1c..ffb243e6724a 100644 --- a/src/Mvc/Mvc.Cors/src/ICorsAuthorizationFilter.cs +++ b/src/Mvc/Mvc.Cors/src/ICorsAuthorizationFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.Cors/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Cors/src/Properties/AssemblyInfo.cs index 5a3d62d5addc..6537dee9f557 100644 --- a/src/Mvc/Mvc.Cors/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Cors/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Cors/test/CorsApplicationModelProviderTest.cs b/src/Mvc/Mvc.Cors/test/CorsApplicationModelProviderTest.cs index e2153b007d2b..521b462191a1 100644 --- a/src/Mvc/Mvc.Cors/test/CorsApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.Cors/test/CorsApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Cors/test/CorsAuthorizationFilterTest.cs b/src/Mvc/Mvc.Cors/test/CorsAuthorizationFilterTest.cs index 887b5c0ff151..8863e7b1129c 100644 --- a/src/Mvc/Mvc.Cors/test/CorsAuthorizationFilterTest.cs +++ b/src/Mvc/Mvc.Cors/test/CorsAuthorizationFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Cors/test/CorsHttpMethodActionConstraintTest.cs b/src/Mvc/Mvc.Cors/test/CorsHttpMethodActionConstraintTest.cs index 83a0407e9180..87decde22989 100644 --- a/src/Mvc/Mvc.Cors/test/CorsHttpMethodActionConstraintTest.cs +++ b/src/Mvc/Mvc.Cors/test/CorsHttpMethodActionConstraintTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Cors/test/DisableCorsAuthorizationFilterTest.cs b/src/Mvc/Mvc.Cors/test/DisableCorsAuthorizationFilterTest.cs index aa1fd124a5b3..b9f3a8372069 100644 --- a/src/Mvc/Mvc.Cors/test/DisableCorsAuthorizationFilterTest.cs +++ b/src/Mvc/Mvc.Cors/test/DisableCorsAuthorizationFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.DataAnnotations/src/AttributeAdapterBase.cs b/src/Mvc/Mvc.DataAnnotations/src/AttributeAdapterBase.cs index 6f8d1a0d26ce..67dd5725bfb6 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/AttributeAdapterBase.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/AttributeAdapterBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; diff --git a/src/Mvc/Mvc.DataAnnotations/src/CompareAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/CompareAttributeAdapter.cs index 43e60f89e570..37cac7625337 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/CompareAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/CompareAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsClientModelValidatorProvider.cs b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsClientModelValidatorProvider.cs index 7e5b77756a15..1ee5ddff5e72 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsClientModelValidatorProvider.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsClientModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsLocalizationServices.cs b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsLocalizationServices.cs index 37a8b654e61d..63dfeb49286e 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsLocalizationServices.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsLocalizationServices.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsMetadataProvider.cs b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsMetadataProvider.cs index 404a1d134835..37c279da1530 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsMetadataProvider.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsModelValidator.cs b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsModelValidator.cs index b70a7c48254b..9c7539aed5cf 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsModelValidator.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsModelValidator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsModelValidatorProvider.cs b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsModelValidatorProvider.cs index eedb31a78130..a90e5dcdbee7 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsModelValidatorProvider.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DataAnnotationsModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DataTypeAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/DataTypeAttributeAdapter.cs index 0c6bf4e11579..0e7669c8759e 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DataTypeAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DataTypeAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DefaultClientModelValidatorProvider.cs b/src/Mvc/Mvc.DataAnnotations/src/DefaultClientModelValidatorProvider.cs index 60c8197ce115..ff923ee8a4e8 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DefaultClientModelValidatorProvider.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DefaultClientModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsLocalizationOptionsSetup.cs b/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsLocalizationOptionsSetup.cs index 5410042c300b..d7563b8f5656 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsLocalizationOptionsSetup.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsLocalizationOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcBuilderExtensions.cs b/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcBuilderExtensions.cs index 8ed3212e8ba5..2de4ddf748e2 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcBuilderExtensions.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcCoreBuilderExtensions.cs index 76a9ae46bb12..2ad44b7a852f 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcOptionsSetup.cs b/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcOptionsSetup.cs index 1de8755e9744..58e237310fcf 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcOptionsSetup.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/DependencyInjection/MvcDataAnnotationsMvcOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.DataAnnotations/src/FileExtensionsAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/FileExtensionsAttributeAdapter.cs index c7f62c67ad97..51a26d31dc11 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/FileExtensionsAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/FileExtensionsAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/HiddenInputAttribute.cs b/src/Mvc/Mvc.DataAnnotations/src/HiddenInputAttribute.cs index e88393d48c3b..bd1ba6a6a259 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/HiddenInputAttribute.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/HiddenInputAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.DataAnnotations/src/IAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/IAttributeAdapter.cs index 57765c869d40..fc10ef5b558a 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/IAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/IAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; diff --git a/src/Mvc/Mvc.DataAnnotations/src/IValidationAttributeAdapterProvider.cs b/src/Mvc/Mvc.DataAnnotations/src/IValidationAttributeAdapterProvider.cs index dc973bc9ac6a..5a151b2ac904 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/IValidationAttributeAdapterProvider.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/IValidationAttributeAdapterProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using Microsoft.Extensions.Localization; diff --git a/src/Mvc/Mvc.DataAnnotations/src/MaxLengthAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/MaxLengthAttributeAdapter.cs index e07e1165af8d..9af3a73fd2e3 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/MaxLengthAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/MaxLengthAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/MinLengthAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/MinLengthAttributeAdapter.cs index 488e17d59bd0..75b0316ecc09 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/MinLengthAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/MinLengthAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/MvcDataAnnotationsLocalizationOptions.cs b/src/Mvc/Mvc.DataAnnotations/src/MvcDataAnnotationsLocalizationOptions.cs index 8824d775eb5f..d0fb461f0d5b 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/MvcDataAnnotationsLocalizationOptions.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/MvcDataAnnotationsLocalizationOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.DataAnnotations/src/NumericClientModelValidator.cs b/src/Mvc/Mvc.DataAnnotations/src/NumericClientModelValidator.cs index f9fc45d4704c..b9dae391f45e 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/NumericClientModelValidator.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/NumericClientModelValidator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/src/NumericClientModelValidatorProvider.cs b/src/Mvc/Mvc.DataAnnotations/src/NumericClientModelValidatorProvider.cs index 4c44014e8e41..1faf17bbc5c4 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/NumericClientModelValidatorProvider.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/NumericClientModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; diff --git a/src/Mvc/Mvc.DataAnnotations/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.DataAnnotations/src/Properties/AssemblyInfo.cs index b1079a1e57b3..418948243375 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.DataAnnotations/src/RangeAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/RangeAttributeAdapter.cs index 692dc900d0f9..c33eccb4c6d0 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/RangeAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/RangeAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/RegularExpressionAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/RegularExpressionAttributeAdapter.cs index d0278580cc56..811a30416cb3 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/RegularExpressionAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/RegularExpressionAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/RequiredAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/RequiredAttributeAdapter.cs index 776f3742a5ec..ac1eee912f8e 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/RequiredAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/RequiredAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/StringLengthAttributeAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/StringLengthAttributeAdapter.cs index e1df7efab2a9..4e17b94f8983 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/StringLengthAttributeAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/StringLengthAttributeAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/ValidatableObjectAdapter.cs b/src/Mvc/Mvc.DataAnnotations/src/ValidatableObjectAdapter.cs index 022e637fb856..0f2435233a91 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/ValidatableObjectAdapter.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/ValidatableObjectAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/src/ValidationAttributeAdapterOfTAttribute.cs b/src/Mvc/Mvc.DataAnnotations/src/ValidationAttributeAdapterOfTAttribute.cs index 9a2d284098a4..3ee6ddfea6f2 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/ValidationAttributeAdapterOfTAttribute.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/ValidationAttributeAdapterOfTAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/src/ValidationAttributeAdapterProvider.cs b/src/Mvc/Mvc.DataAnnotations/src/ValidationAttributeAdapterProvider.cs index a32a28a0326f..318dc62ab10f 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/ValidationAttributeAdapterProvider.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/ValidationAttributeAdapterProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/src/ValidationProviderAttribute.cs b/src/Mvc/Mvc.DataAnnotations/src/ValidationProviderAttribute.cs index c745850b64d1..ad3aebaea471 100644 --- a/src/Mvc/Mvc.DataAnnotations/src/ValidationProviderAttribute.cs +++ b/src/Mvc/Mvc.DataAnnotations/src/ValidationProviderAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/test/CompareAttributeAdapterTest.cs b/src/Mvc/Mvc.DataAnnotations/test/CompareAttributeAdapterTest.cs index 4c4449065dae..52cfeb96c2e2 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/CompareAttributeAdapterTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/CompareAttributeAdapterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsClientModelValidatorProviderTest.cs b/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsClientModelValidatorProviderTest.cs index b59bc73e321c..53a117b288da 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsClientModelValidatorProviderTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsClientModelValidatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsMetadataProviderTest.cs b/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsMetadataProviderTest.cs index fc05b7cb121b..a1584e6929b5 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsMetadataProviderTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsModelValidatorProviderTest.cs b/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsModelValidatorProviderTest.cs index a444011ccf64..64b707374ef7 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsModelValidatorProviderTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsModelValidatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsModelValidatorTest.cs b/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsModelValidatorTest.cs index db454e90e8bf..503fdb5996e6 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsModelValidatorTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/DataAnnotationsModelValidatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/DataMemberRequiredBindingMetadataProviderTest.cs b/src/Mvc/Mvc.DataAnnotations/test/DataMemberRequiredBindingMetadataProviderTest.cs index c374cca4f55b..a916808e0f80 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/DataMemberRequiredBindingMetadataProviderTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/DataMemberRequiredBindingMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/test/DataTypeClientModelValidatorProviderTest.cs b/src/Mvc/Mvc.DataAnnotations/test/DataTypeClientModelValidatorProviderTest.cs index 2eb4483b9ea5..d393716a71df 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/DataTypeClientModelValidatorProviderTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/DataTypeClientModelValidatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/test/DefaultModelClientValidatorProviderTest.cs b/src/Mvc/Mvc.DataAnnotations/test/DefaultModelClientValidatorProviderTest.cs index a6550a671990..74eeb3523ada 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/DefaultModelClientValidatorProviderTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/DefaultModelClientValidatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/test/FileExtensionsAttributeAdapterTest.cs b/src/Mvc/Mvc.DataAnnotations/test/FileExtensionsAttributeAdapterTest.cs index 73c9fb6d9421..8e5646caccd3 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/FileExtensionsAttributeAdapterTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/FileExtensionsAttributeAdapterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/MaxLengthAttributeAdapterTest.cs b/src/Mvc/Mvc.DataAnnotations/test/MaxLengthAttributeAdapterTest.cs index 03498dee5794..4259379a7e61 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/MaxLengthAttributeAdapterTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/MaxLengthAttributeAdapterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/MinLengthAttributeAdapterTest.cs b/src/Mvc/Mvc.DataAnnotations/test/MinLengthAttributeAdapterTest.cs index 3aaba29f55b1..5cb3e7c27f99 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/MinLengthAttributeAdapterTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/MinLengthAttributeAdapterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/ModelMetadataProviderTest.cs b/src/Mvc/Mvc.DataAnnotations/test/ModelMetadataProviderTest.cs index 8b3fff9f320e..8802d9bf66df 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/ModelMetadataProviderTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/ModelMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/test/ModelValidationResultComparer.cs b/src/Mvc/Mvc.DataAnnotations/test/ModelValidationResultComparer.cs index 12e5f1459a7a..bd8fda466371 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/ModelValidationResultComparer.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/ModelValidationResultComparer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/test/MvcDataAnnotationsMvcOptionsSetup.cs b/src/Mvc/Mvc.DataAnnotations/test/MvcDataAnnotationsMvcOptionsSetup.cs index 6aae172e63cc..6c14918580e4 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/MvcDataAnnotationsMvcOptionsSetup.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/MvcDataAnnotationsMvcOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright(c) .NET Foundation.All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.DataAnnotations/test/NumericClientModelValidatorTest.cs b/src/Mvc/Mvc.DataAnnotations/test/NumericClientModelValidatorTest.cs index c9c9f3279578..d04825e451f1 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/NumericClientModelValidatorTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/NumericClientModelValidatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/RangeAttributeAdapterTest.cs b/src/Mvc/Mvc.DataAnnotations/test/RangeAttributeAdapterTest.cs index eb307bce1a9b..efa4ec3fae96 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/RangeAttributeAdapterTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/RangeAttributeAdapterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/RequiredAttributeAdapterTest.cs b/src/Mvc/Mvc.DataAnnotations/test/RequiredAttributeAdapterTest.cs index dca1b4ca6564..2b547e99edc9 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/RequiredAttributeAdapterTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/RequiredAttributeAdapterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/StringLengthAttributeAdapterTest.cs b/src/Mvc/Mvc.DataAnnotations/test/StringLengthAttributeAdapterTest.cs index 7a0a59c8f2f1..88384b64de70 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/StringLengthAttributeAdapterTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/StringLengthAttributeAdapterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/TestModelNameProvider.cs b/src/Mvc/Mvc.DataAnnotations/test/TestModelNameProvider.cs index 7dc128d01696..0adddd210975 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/TestModelNameProvider.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/TestModelNameProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.DataAnnotations/test/TestResources.cs b/src/Mvc/Mvc.DataAnnotations/test/TestResources.cs index 86f52aacbdb3..a8d41403657f 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/TestResources.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/TestResources.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Resources = Microsoft.AspNetCore.Mvc.DataAnnotations.Test.Resources; diff --git a/src/Mvc/Mvc.DataAnnotations/test/ValidatableObjectAdapterTest.cs b/src/Mvc/Mvc.DataAnnotations/test/ValidatableObjectAdapterTest.cs index 45d533659229..cbbe9706d99e 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/ValidatableObjectAdapterTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/ValidatableObjectAdapterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.DataAnnotations/test/ValidationAttributeAdapterOfTAttributeTest.cs b/src/Mvc/Mvc.DataAnnotations/test/ValidationAttributeAdapterOfTAttributeTest.cs index 37382f1dce97..47ccc5d44302 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/ValidationAttributeAdapterOfTAttributeTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/ValidationAttributeAdapterOfTAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.DataAnnotations/test/ValidationAttributeAdapterProviderTest.cs b/src/Mvc/Mvc.DataAnnotations/test/ValidationAttributeAdapterProviderTest.cs index 51d0c6f4a763..77f086262f07 100644 --- a/src/Mvc/Mvc.DataAnnotations/test/ValidationAttributeAdapterProviderTest.cs +++ b/src/Mvc/Mvc.DataAnnotations/test/ValidationAttributeAdapterProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.Formatters.Json/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Formatters.Json/src/Properties/AssemblyInfo.cs index 039f419cd47a..15a525deb7ae 100644 --- a/src/Mvc/Mvc.Formatters.Json/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Formatters.Json/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/DelegatingEnumerable.cs b/src/Mvc/Mvc.Formatters.Xml/src/DelegatingEnumerable.cs index 5316317e6956..189aeed9abae 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/DelegatingEnumerable.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/DelegatingEnumerable.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/DelegatingEnumerator.cs b/src/Mvc/Mvc.Formatters.Xml/src/DelegatingEnumerator.cs index f59b5cdfa7b9..9033a6667cc4 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/DelegatingEnumerator.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/DelegatingEnumerator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/MvcXmlMvcBuilderExtensions.cs b/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/MvcXmlMvcBuilderExtensions.cs index 16c5423c24b9..1aa8f2e21a06 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/MvcXmlMvcBuilderExtensions.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/MvcXmlMvcBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/MvcXmlMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/MvcXmlMvcCoreBuilderExtensions.cs index ecba6e521d6a..9225b19a1e46 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/MvcXmlMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/MvcXmlMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/XmlDataContractSerializerMvcOptionsSetup.cs b/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/XmlDataContractSerializerMvcOptionsSetup.cs index 941b03499d7c..ec2ea27f17e9 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/XmlDataContractSerializerMvcOptionsSetup.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/XmlDataContractSerializerMvcOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/XmlSerializerMvcOptionsSetup.cs b/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/XmlSerializerMvcOptionsSetup.cs index 6af2baa57dad..3635be08b5a1 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/XmlSerializerMvcOptionsSetup.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/DependencyInjection/XmlSerializerMvcOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/EnumerableWrapperProvider.cs b/src/Mvc/Mvc.Formatters.Xml/src/EnumerableWrapperProvider.cs index c2d1d2a15a53..cd9874768633 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/EnumerableWrapperProvider.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/EnumerableWrapperProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/EnumerableWrapperProviderFactory.cs b/src/Mvc/Mvc.Formatters.Xml/src/EnumerableWrapperProviderFactory.cs index 0319f24a0702..30753388a282 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/EnumerableWrapperProviderFactory.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/EnumerableWrapperProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/FormattingUtilities.cs b/src/Mvc/Mvc.Formatters.Xml/src/FormattingUtilities.cs index 70a9c9445371..0bb7b74697e8 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/FormattingUtilities.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/FormattingUtilities.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.Serialization; using System.Xml; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/IUnwrappable.cs b/src/Mvc/Mvc.Formatters.Xml/src/IUnwrappable.cs index 31f9cf491785..a29e534bd14b 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/IUnwrappable.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/IUnwrappable.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/IWrapperProvider.cs b/src/Mvc/Mvc.Formatters.Xml/src/IWrapperProvider.cs index 3c2c33c376fc..81e18f5e48dd 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/IWrapperProvider.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/IWrapperProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/IWrapperProviderFactory.cs b/src/Mvc/Mvc.Formatters.Xml/src/IWrapperProviderFactory.cs index 9594d09d7536..81d6824b0d1d 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/IWrapperProviderFactory.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/IWrapperProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { diff --git a/src/Mvc/Mvc.Formatters.Xml/src/LoggerExtensions.cs b/src/Mvc/Mvc.Formatters.Xml/src/LoggerExtensions.cs index 3bb43de3c169..6a8db1b7934a 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/LoggerExtensions.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/LoggerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.Logging; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/ModelBinding/DataMemberRequiredBindingMetadataProvider.cs b/src/Mvc/Mvc.Formatters.Xml/src/ModelBinding/DataMemberRequiredBindingMetadataProvider.cs index 8b6969d2387b..7b7abdf18a0b 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/ModelBinding/DataMemberRequiredBindingMetadataProvider.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/ModelBinding/DataMemberRequiredBindingMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/MvcXmlOptions.cs b/src/Mvc/Mvc.Formatters.Xml/src/MvcXmlOptions.cs index d059f40e2847..a92cdc70c1eb 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/MvcXmlOptions.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/MvcXmlOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/ProblemDetailsWrapper.cs b/src/Mvc/Mvc.Formatters.Xml/src/ProblemDetailsWrapper.cs index f7d2056806c4..03cb1c64d86b 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/ProblemDetailsWrapper.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/ProblemDetailsWrapper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/ProblemDetailsWrapperProviderFactory.cs b/src/Mvc/Mvc.Formatters.Xml/src/ProblemDetailsWrapperProviderFactory.cs index 6484527b833b..5011032cf5ce 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/ProblemDetailsWrapperProviderFactory.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/ProblemDetailsWrapperProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Formatters.Xml/src/Properties/AssemblyInfo.cs index 61797e230b45..ab4cd8f3a3af 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapper.cs b/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapper.cs index f8f4a1108e1c..5779fa98591f 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapper.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Xml; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapperProvider.cs b/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapperProvider.cs index bd83514e6a57..0aea973cb304 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapperProvider.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapperProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapperProviderFactory.cs b/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapperProviderFactory.cs index 5dfdb652f02d..4770e4d1e40e 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapperProviderFactory.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/SerializableErrorWrapperProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/ValidationProblemDetailsWrapper.cs b/src/Mvc/Mvc.Formatters.Xml/src/ValidationProblemDetailsWrapper.cs index a454fb5d0a1e..996385a1f053 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/ValidationProblemDetailsWrapper.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/ValidationProblemDetailsWrapper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Xml; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/WrapperProviderContext.cs b/src/Mvc/Mvc.Formatters.Xml/src/WrapperProviderContext.cs index 3164f67b6979..8144f127b42c 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/WrapperProviderContext.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/WrapperProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/WrapperProviderFactoriesExtensions.cs b/src/Mvc/Mvc.Formatters.Xml/src/WrapperProviderFactoriesExtensions.cs index 1ccea1645de5..981f6e366ebd 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/WrapperProviderFactoriesExtensions.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/WrapperProviderFactoriesExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerInputFormatter.cs b/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerInputFormatter.cs index a2b32b23069d..7fad3c39953e 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerInputFormatter.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerInputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerOutputFormatter.cs b/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerOutputFormatter.cs index 8f66c2842a5b..34753ae5d56e 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerOutputFormatter.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/XmlDataContractSerializerOutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerInputFormatter.cs b/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerInputFormatter.cs index 3efca1f0ce44..73f3a436156b 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerInputFormatter.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerInputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerOutputFormatter.cs b/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerOutputFormatter.cs index c0d929ecea6d..fc40f3ea0d39 100644 --- a/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerOutputFormatter.cs +++ b/src/Mvc/Mvc.Formatters.Xml/src/XmlSerializerOutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumerableTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumerableTest.cs index 1fd2097e967a..94f0086f45bf 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumerableTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumerableTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Xunit; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumeratorTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumeratorTest.cs index cf973a51cb7b..067e46b34857 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumeratorTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/DelegatingEnumeratorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Moq; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/DependencyInjection/XmlDataContractSerializerMvcOptionsSetupTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/DependencyInjection/XmlDataContractSerializerMvcOptionsSetupTest.cs index 65e39208b093..3690e9806d42 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/DependencyInjection/XmlDataContractSerializerMvcOptionsSetupTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/DependencyInjection/XmlDataContractSerializerMvcOptionsSetupTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Formatters; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/DependencyInjection/XmlSerializerMvcOptionsSetupTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/DependencyInjection/XmlSerializerMvcOptionsSetupTest.cs index 0c73ddf67a96..9676f062a666 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/DependencyInjection/XmlSerializerMvcOptionsSetupTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/DependencyInjection/XmlSerializerMvcOptionsSetupTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Formatters; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/EnumerableWrapperProviderFactoryTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/EnumerableWrapperProviderFactoryTest.cs index fe31162d99cb..44a292bb4a63 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/EnumerableWrapperProviderFactoryTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/EnumerableWrapperProviderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/EnumerableWrapperProviderTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/EnumerableWrapperProviderTest.cs index 95c7c7ebe184..4a809a8d2734 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/EnumerableWrapperProviderTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/EnumerableWrapperProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/FlushReportingStream.cs b/src/Mvc/Mvc.Formatters.Xml/test/FlushReportingStream.cs index 9d83f7bb8f8e..834df1292b47 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/FlushReportingStream.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/FlushReportingStream.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/Models/Person.cs b/src/Mvc/Mvc.Formatters.Xml/test/Models/Person.cs index 14ea5bcf53f1..68fbc8a8aa12 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/Models/Person.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/Models/Person.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/Models/PersonList.cs b/src/Mvc/Mvc.Formatters.Xml/test/Models/PersonList.cs index 43c19511a50b..a7064b8a9890 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/Models/PersonList.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/Models/PersonList.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapper.cs b/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapper.cs index c75241501548..953ece6a1c85 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapper.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapperProvider.cs b/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapperProvider.cs index ca82fc0d7b33..935341de6712 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapperProvider.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapperProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapperProviderFactory.cs b/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapperProviderFactory.cs index 2e764089fd9f..5be84b747b38 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapperProviderFactory.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/PersonWrapperProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Formatters.Xml { diff --git a/src/Mvc/Mvc.Formatters.Xml/test/ProblemDetailsWrapperProviderFactoryTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/ProblemDetailsWrapperProviderFactoryTest.cs index 8149e8115275..759456a7270b 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/ProblemDetailsWrapperProviderFactoryTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/ProblemDetailsWrapperProviderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/ProblemDetailsWrapperTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/ProblemDetailsWrapperTest.cs index 055679f266ad..a6f266ba0aba 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/ProblemDetailsWrapperTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/ProblemDetailsWrapperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Linq; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/SerializableErrorWrapperProviderTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/SerializableErrorWrapperProviderTest.cs index c256851372b2..c1d8e802bb0f 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/SerializableErrorWrapperProviderTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/SerializableErrorWrapperProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Testing; using Xunit; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/SerializableErrorWrapperTests.cs b/src/Mvc/Mvc.Formatters.Xml/test/SerializableErrorWrapperTests.cs index cb96f35f93fd..87cc2f0ae8d6 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/SerializableErrorWrapperTests.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/SerializableErrorWrapperTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Runtime.Serialization; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/SerializableWrapperProviderFactoryTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/SerializableWrapperProviderFactoryTest.cs index 153ef3750dd2..4cd469cbd3e4 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/SerializableWrapperProviderFactoryTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/SerializableWrapperProviderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/ValidationProblemDetailsWrapperTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/ValidationProblemDetailsWrapperTest.cs index 53bae5afaf6d..f444135260ad 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/ValidationProblemDetailsWrapperTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/ValidationProblemDetailsWrapperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Linq; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/XmlAssert.cs b/src/Mvc/Mvc.Formatters.Xml/test/XmlAssert.cs index c411ce44eef4..e83c92170d02 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/XmlAssert.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/XmlAssert.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/XmlAssertTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/XmlAssertTest.cs index 6820645bd811..20facb50867d 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/XmlAssertTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/XmlAssertTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Testing; using Xunit; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerInputFormatterTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerInputFormatterTest.cs index 0da7a165bf9b..af4e99187906 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerInputFormatterTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerOutputFormatterTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerOutputFormatterTest.cs index 9692f83d5e2e..7208978b08a3 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerOutputFormatterTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/XmlDataContractSerializerOutputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerInputFormatterTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerInputFormatterTest.cs index 9b35c9f970f5..7958fd4e8acb 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerInputFormatterTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerOutputFormatterTest.cs b/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerOutputFormatterTest.cs index 811f2eed6f73..ef5f4523b7b3 100644 --- a/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerOutputFormatterTest.cs +++ b/src/Mvc/Mvc.Formatters.Xml/test/XmlSerializerOutputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Localization/src/DependencyInjection/MvcLocalizationMvcBuilderExtensions.cs b/src/Mvc/Mvc.Localization/src/DependencyInjection/MvcLocalizationMvcBuilderExtensions.cs index d5c3c6df4cb5..1fe29f7f2521 100644 --- a/src/Mvc/Mvc.Localization/src/DependencyInjection/MvcLocalizationMvcBuilderExtensions.cs +++ b/src/Mvc/Mvc.Localization/src/DependencyInjection/MvcLocalizationMvcBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.DataAnnotations; diff --git a/src/Mvc/Mvc.Localization/src/DependencyInjection/MvcLocalizationMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.Localization/src/DependencyInjection/MvcLocalizationMvcCoreBuilderExtensions.cs index e0a970ab88e9..725d1d2e3a37 100644 --- a/src/Mvc/Mvc.Localization/src/DependencyInjection/MvcLocalizationMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.Localization/src/DependencyInjection/MvcLocalizationMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.DataAnnotations; diff --git a/src/Mvc/Mvc.Localization/src/HtmlLocalizer.cs b/src/Mvc/Mvc.Localization/src/HtmlLocalizer.cs index eca0387cf615..f28db6f940d8 100644 --- a/src/Mvc/Mvc.Localization/src/HtmlLocalizer.cs +++ b/src/Mvc/Mvc.Localization/src/HtmlLocalizer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Localization/src/HtmlLocalizerExtensions.cs b/src/Mvc/Mvc.Localization/src/HtmlLocalizerExtensions.cs index 30a463c9f6ed..219f29589b73 100644 --- a/src/Mvc/Mvc.Localization/src/HtmlLocalizerExtensions.cs +++ b/src/Mvc/Mvc.Localization/src/HtmlLocalizerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Localization/src/HtmlLocalizerFactory.cs b/src/Mvc/Mvc.Localization/src/HtmlLocalizerFactory.cs index 02684f1e4fa3..9d3278bbe5dc 100644 --- a/src/Mvc/Mvc.Localization/src/HtmlLocalizerFactory.cs +++ b/src/Mvc/Mvc.Localization/src/HtmlLocalizerFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.Localization; diff --git a/src/Mvc/Mvc.Localization/src/HtmlLocalizerOfT.cs b/src/Mvc/Mvc.Localization/src/HtmlLocalizerOfT.cs index 114cc3fa8e15..4f4fec44ff44 100644 --- a/src/Mvc/Mvc.Localization/src/HtmlLocalizerOfT.cs +++ b/src/Mvc/Mvc.Localization/src/HtmlLocalizerOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Localization/src/IHtmlLocalizer.cs b/src/Mvc/Mvc.Localization/src/IHtmlLocalizer.cs index 180025b7961f..2c7dca9e6160 100644 --- a/src/Mvc/Mvc.Localization/src/IHtmlLocalizer.cs +++ b/src/Mvc/Mvc.Localization/src/IHtmlLocalizer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Localization/src/IHtmlLocalizerFactory.cs b/src/Mvc/Mvc.Localization/src/IHtmlLocalizerFactory.cs index 3e26add97d84..be719ca5eb0c 100644 --- a/src/Mvc/Mvc.Localization/src/IHtmlLocalizerFactory.cs +++ b/src/Mvc/Mvc.Localization/src/IHtmlLocalizerFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Localization/src/IHtmlLocalizerOfT.cs b/src/Mvc/Mvc.Localization/src/IHtmlLocalizerOfT.cs index 923de5ab8924..c25a1acc71ad 100644 --- a/src/Mvc/Mvc.Localization/src/IHtmlLocalizerOfT.cs +++ b/src/Mvc/Mvc.Localization/src/IHtmlLocalizerOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Localization { diff --git a/src/Mvc/Mvc.Localization/src/IViewLocalizer.cs b/src/Mvc/Mvc.Localization/src/IViewLocalizer.cs index 63f1db68567f..7e457f0424ee 100644 --- a/src/Mvc/Mvc.Localization/src/IViewLocalizer.cs +++ b/src/Mvc/Mvc.Localization/src/IViewLocalizer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Localization { diff --git a/src/Mvc/Mvc.Localization/src/LocalizedHtmlString.cs b/src/Mvc/Mvc.Localization/src/LocalizedHtmlString.cs index fdc99aeebcb8..7517ae018a35 100644 --- a/src/Mvc/Mvc.Localization/src/LocalizedHtmlString.cs +++ b/src/Mvc/Mvc.Localization/src/LocalizedHtmlString.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Localization/src/MvcLocalizationServices.cs b/src/Mvc/Mvc.Localization/src/MvcLocalizationServices.cs index a1b056250b08..3c7fefa50b48 100644 --- a/src/Mvc/Mvc.Localization/src/MvcLocalizationServices.cs +++ b/src/Mvc/Mvc.Localization/src/MvcLocalizationServices.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Razor; diff --git a/src/Mvc/Mvc.Localization/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Localization/src/Properties/AssemblyInfo.cs index 8110c12929a6..28ee7b25f923 100644 --- a/src/Mvc/Mvc.Localization/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Localization/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Localization/src/ViewLocalizer.cs b/src/Mvc/Mvc.Localization/src/ViewLocalizer.cs index 29401fe5df34..ac647c69741f 100644 --- a/src/Mvc/Mvc.Localization/src/ViewLocalizer.cs +++ b/src/Mvc/Mvc.Localization/src/ViewLocalizer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Localization/test/HtmlLocalizerOfTTest.cs b/src/Mvc/Mvc.Localization/test/HtmlLocalizerOfTTest.cs index 93464e4b7026..ce4ac2da859b 100644 --- a/src/Mvc/Mvc.Localization/test/HtmlLocalizerOfTTest.cs +++ b/src/Mvc/Mvc.Localization/test/HtmlLocalizerOfTTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.Localization/test/HtmlLocalizerTest.cs b/src/Mvc/Mvc.Localization/test/HtmlLocalizerTest.cs index ce780210445a..79b95c7c640b 100644 --- a/src/Mvc/Mvc.Localization/test/HtmlLocalizerTest.cs +++ b/src/Mvc/Mvc.Localization/test/HtmlLocalizerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Localization/test/MvcLocalizationMvcBuilderExtensionsTest.cs b/src/Mvc/Mvc.Localization/test/MvcLocalizationMvcBuilderExtensionsTest.cs index 8b6fe4bebed3..712d57913a5a 100644 --- a/src/Mvc/Mvc.Localization/test/MvcLocalizationMvcBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Localization/test/MvcLocalizationMvcBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Localization/test/MvcLocalizationMvcCoreBuilderExtensionsTest.cs b/src/Mvc/Mvc.Localization/test/MvcLocalizationMvcCoreBuilderExtensionsTest.cs index 3956d79f17ce..b226cea507ba 100644 --- a/src/Mvc/Mvc.Localization/test/MvcLocalizationMvcCoreBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Localization/test/MvcLocalizationMvcCoreBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Localization/test/MvcLocalizationServiceCollectionExtensionsTest.cs b/src/Mvc/Mvc.Localization/test/MvcLocalizationServiceCollectionExtensionsTest.cs index 1308e9790ef1..89f1dab8ba70 100644 --- a/src/Mvc/Mvc.Localization/test/MvcLocalizationServiceCollectionExtensionsTest.cs +++ b/src/Mvc/Mvc.Localization/test/MvcLocalizationServiceCollectionExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Localization/test/TestStringLocalizer.cs b/src/Mvc/Mvc.Localization/test/TestStringLocalizer.cs index 7b739e6a165c..af4358c2384b 100644 --- a/src/Mvc/Mvc.Localization/test/TestStringLocalizer.cs +++ b/src/Mvc/Mvc.Localization/test/TestStringLocalizer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Localization/test/ViewLocalizerTest.cs b/src/Mvc/Mvc.Localization/test/ViewLocalizerTest.cs index 7f1dc5df2ba7..b7199c97a450 100644 --- a/src/Mvc/Mvc.Localization/test/ViewLocalizerTest.cs +++ b/src/Mvc/Mvc.Localization/test/ViewLocalizerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/AnnotatedProblemDetails.cs b/src/Mvc/Mvc.NewtonsoftJson/src/AnnotatedProblemDetails.cs index 1faf982d9f9b..3424b799eb4b 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/AnnotatedProblemDetails.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/AnnotatedProblemDetails.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/BsonTempDataSerializer.cs b/src/Mvc/Mvc.NewtonsoftJson/src/BsonTempDataSerializer.cs index 9b02a95e97f9..3082d28ef9b2 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/BsonTempDataSerializer.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/BsonTempDataSerializer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/MvcNewtonsoftJsonOptionsExtensions.cs b/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/MvcNewtonsoftJsonOptionsExtensions.cs index 1015fe8e069d..1a3821876f91 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/MvcNewtonsoftJsonOptionsExtensions.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/MvcNewtonsoftJsonOptionsExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcBuilderExtensions.cs b/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcBuilderExtensions.cs index 471628834222..55d2f910fe29 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcBuilderExtensions.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcCoreBuilderExtensions.cs index 617307004c06..80a79c061de6 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcOptionsSetup.cs b/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcOptionsSetup.cs index fca499d1fd18..ff323dc95798 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcOptionsSetup.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/DependencyInjection/NewtonsoftJsonMvcOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/JsonArrayPool.cs b/src/Mvc/Mvc.NewtonsoftJson/src/JsonArrayPool.cs index c358bc2ba794..9d5a6a66671d 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/JsonArrayPool.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/JsonArrayPool.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/JsonHelperExtensions.cs b/src/Mvc/Mvc.NewtonsoftJson/src/JsonHelperExtensions.cs index 0cab53661607..3be253e3b3d4 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/JsonHelperExtensions.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/JsonHelperExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/JsonPatchExtensions.cs b/src/Mvc/Mvc.NewtonsoftJson/src/JsonPatchExtensions.cs index e94b221f6985..b92b2b687500 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/JsonPatchExtensions.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/JsonPatchExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.JsonPatch; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/JsonPatchOperationsArrayProvider.cs b/src/Mvc/Mvc.NewtonsoftJson/src/JsonPatchOperationsArrayProvider.cs index fda34decc461..e8e8e6eb455a 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/JsonPatchOperationsArrayProvider.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/JsonPatchOperationsArrayProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/JsonSerializerObjectPolicy.cs b/src/Mvc/Mvc.NewtonsoftJson/src/JsonSerializerObjectPolicy.cs index 38c07201abcb..a1c91b86d49c 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/JsonSerializerObjectPolicy.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/JsonSerializerObjectPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.ObjectPool; using Newtonsoft.Json; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/JsonSerializerSettingsProvider.cs b/src/Mvc/Mvc.NewtonsoftJson/src/JsonSerializerSettingsProvider.cs index cc9521087832..959b8f4ccc17 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/JsonSerializerSettingsProvider.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/JsonSerializerSettingsProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Newtonsoft.Json; using Newtonsoft.Json.Serialization; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/MediaTypeHeaderValues.cs b/src/Mvc/Mvc.NewtonsoftJson/src/MediaTypeHeaderValues.cs index 5795d08d3509..c60610af3f57 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/MediaTypeHeaderValues.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/MediaTypeHeaderValues.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Net.Http.Headers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/MvcNewtonsoftJsonOptions.cs b/src/Mvc/Mvc.NewtonsoftJson/src/MvcNewtonsoftJsonOptions.cs index 05bc55b20a4a..729d57edc843 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/MvcNewtonsoftJsonOptions.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/MvcNewtonsoftJsonOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonHelper.cs b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonHelper.cs index d72aceee7d8f..a1c35d15906c 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonHelper.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonInputFormatter.cs b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonInputFormatter.cs index 461df9bf9fa7..f7b31e0baf58 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonInputFormatter.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonInputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonLoggerExtensions.cs b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonLoggerExtensions.cs index a8be4c791787..8c2e2af25ef8 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonLoggerExtensions.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonLoggerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.Logging; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonOutputFormatter.cs b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonOutputFormatter.cs index d184f54b21ff..b43485d7d945 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonOutputFormatter.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonOutputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonPatchInputFormatter.cs b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonPatchInputFormatter.cs index 63670160ace5..bb33396df5d1 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonPatchInputFormatter.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonPatchInputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonResultExecutor.cs b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonResultExecutor.cs index d16e45f16981..511804064ab5 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonResultExecutor.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/NewtonsoftJsonResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/ProblemDetailsConverter.cs b/src/Mvc/Mvc.NewtonsoftJson/src/ProblemDetailsConverter.cs index 2ef8f768243f..94fecd68268f 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/ProblemDetailsConverter.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/ProblemDetailsConverter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Newtonsoft.Json; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.NewtonsoftJson/src/Properties/AssemblyInfo.cs index 7c329fe5e0fe..7111099cefa0 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.NewtonsoftJson/src/ValidationProblemDetailsConverter.cs b/src/Mvc/Mvc.NewtonsoftJson/src/ValidationProblemDetailsConverter.cs index 776eccc66a42..6ec9eaa77a31 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/src/ValidationProblemDetailsConverter.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/src/ValidationProblemDetailsConverter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/BsonTempDataSerializerTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/BsonTempDataSerializerTest.cs index 5bfe813d196e..cfc158a492b5 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/BsonTempDataSerializerTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/BsonTempDataSerializerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/MvcNewtonsoftJsonOptionsExtensionsTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/MvcNewtonsoftJsonOptionsExtensionsTest.cs index c7309084b954..96f12a725ab0 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/MvcNewtonsoftJsonOptionsExtensionsTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/MvcNewtonsoftJsonOptionsExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/NewtonsoftJsonMvcBuilderExtensionsTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/NewtonsoftJsonMvcBuilderExtensionsTest.cs index 125520a0090a..677fb275d994 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/NewtonsoftJsonMvcBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/NewtonsoftJsonMvcBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.Extensions.Options; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/NewtonsoftJsonMvcCoreBuilderExtensionsTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/NewtonsoftJsonMvcCoreBuilderExtensionsTest.cs index a0413524150f..3378c81fd4a1 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/NewtonsoftJsonMvcCoreBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/DependencyInjection/NewtonsoftJsonMvcCoreBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/JsonPatchExtensionsTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/JsonPatchExtensionsTest.cs index 5823345a4cce..e0b6374a2045 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/JsonPatchExtensionsTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/JsonPatchExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.JsonPatch; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/JsonPatchOperationsArrayProviderTests.cs b/src/Mvc/Mvc.NewtonsoftJson/test/JsonPatchOperationsArrayProviderTests.cs index b829d0d3e82b..6d2733555073 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/JsonPatchOperationsArrayProviderTests.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/JsonPatchOperationsArrayProviderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.JsonPatch; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/JsonResultTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/JsonResultTest.cs index 7e8310ae06ac..67007069b352 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/JsonResultTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/JsonResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; using System.IO; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonHelperTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonHelperTest.cs index a4ad04b9e8a9..e26c9c1b38d6 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonHelperTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonInputFormatterTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonInputFormatterTest.cs index 5514976f6732..8c85278aaeac 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonInputFormatterTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonOutputFormatterTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonOutputFormatterTest.cs index e6524e62bfc2..826f9eb912c2 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonOutputFormatterTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonOutputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonPatchInputFormatterTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonPatchInputFormatterTest.cs index f7d8ee32b7aa..9e3cc8a58246 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonPatchInputFormatterTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonPatchInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonResultExecutorTest.cs b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonResultExecutorTest.cs index c2aab7fcff5a..ffa7d2f6f17c 100644 --- a/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonResultExecutorTest.cs +++ b/src/Mvc/Mvc.NewtonsoftJson/test/NewtonsoftJsonResultExecutorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/AssemblyPartExtensions.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/AssemblyPartExtensions.cs index 4f3c3ef44fc7..56f308a9f095 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/AssemblyPartExtensions.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/AssemblyPartExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CSharpCompiler.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CSharpCompiler.cs index 0d31068add54..c30c9b6d87b0 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CSharpCompiler.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CSharpCompiler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/ChecksumValidator.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/ChecksumValidator.cs index 33f6d74bf6d6..1d6f4e907e1a 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/ChecksumValidator.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/ChecksumValidator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CompilationFailedException.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CompilationFailedException.cs index bb5dac8d2f74..710508e1db2b 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CompilationFailedException.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CompilationFailedException.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CompilationFailedExceptionFactory.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CompilationFailedExceptionFactory.cs index 359e8977dec3..0d8d273a1c10 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CompilationFailedExceptionFactory.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/CompilationFailedExceptionFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/MvcRazorRuntimeCompilationOptionsSetup.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/MvcRazorRuntimeCompilationOptionsSetup.cs index 9c19d2051308..8ccb0afff9aa 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/MvcRazorRuntimeCompilationOptionsSetup.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/MvcRazorRuntimeCompilationOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/RazorRuntimeCompilationMvcBuilderExtensions.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/RazorRuntimeCompilationMvcBuilderExtensions.cs index 78104364da0b..d0ba3087de4a 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/RazorRuntimeCompilationMvcBuilderExtensions.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/RazorRuntimeCompilationMvcBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Razor.RuntimeCompilation; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/RazorRuntimeCompilationMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/RazorRuntimeCompilationMvcCoreBuilderExtensions.cs index c8be60422f76..c8706b41ac80 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/RazorRuntimeCompilationMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/DependencyInjection/RazorRuntimeCompilationMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/FileProviderRazorProjectFileSystem.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/FileProviderRazorProjectFileSystem.cs index 6a77ea1ac918..4bebc048bd77 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/FileProviderRazorProjectFileSystem.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/FileProviderRazorProjectFileSystem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/FileProviderRazorProjectItem.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/FileProviderRazorProjectItem.cs index d0abfbcbdae6..3aeee1a68762 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/FileProviderRazorProjectItem.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/FileProviderRazorProjectItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/LazyMetadataReferenceFeature.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/LazyMetadataReferenceFeature.cs index 3f150a9a5dfb..e68356467ab9 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/LazyMetadataReferenceFeature.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/LazyMetadataReferenceFeature.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Razor.Language; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/MvcRazorRuntimeCompilationOptions.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/MvcRazorRuntimeCompilationOptions.cs index 64c502e1b126..86a9ee98524d 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/MvcRazorRuntimeCompilationOptions.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/MvcRazorRuntimeCompilationOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageActionDescriptorChangeProvider.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageActionDescriptorChangeProvider.cs index 7368caa88c98..2ad2c062f9ad 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageActionDescriptorChangeProvider.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageActionDescriptorChangeProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageDirectiveFeature.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageDirectiveFeature.cs index 2098ef927ceb..6a808cf14acd 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageDirectiveFeature.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageDirectiveFeature.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageLoaderMatcherPolicy.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageLoaderMatcherPolicy.cs index 422edf42825e..49288286b3eb 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageLoaderMatcherPolicy.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/PageLoaderMatcherPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/Properties/AssemblyInfo.cs index bb42a1ab3807..735db8cb095e 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorProjectPageRouteModelProvider.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorProjectPageRouteModelProvider.cs index a3b63ed6a80e..7e6a8480c202 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorProjectPageRouteModelProvider.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorProjectPageRouteModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorReferenceManager.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorReferenceManager.cs index 99151aea0ed9..2cf8b4f81b61 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorReferenceManager.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorReferenceManager.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorRuntimeCompilationHostingStartup.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorRuntimeCompilationHostingStartup.cs index 62eee8072a5b..63d0791e654a 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorRuntimeCompilationHostingStartup.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorRuntimeCompilationHostingStartup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorRuntimeCompilationLoggerExtensions.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorRuntimeCompilationLoggerExtensions.cs index dd644942409f..9b65fe4f21f3 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorRuntimeCompilationLoggerExtensions.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RazorRuntimeCompilationLoggerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeCompilationFileProvider.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeCompilationFileProvider.cs index ea7372bd1ab6..02f159e64c5c 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeCompilationFileProvider.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeCompilationFileProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.FileProviders; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeViewCompiler.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeViewCompiler.cs index 0904be207b48..c959579252d8 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeViewCompiler.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeViewCompiler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeViewCompilerProvider.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeViewCompilerProvider.cs index 4202da6bd71e..f7a5a040645c 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeViewCompilerProvider.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/src/RuntimeViewCompilerProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/AssemblyPartExtensionTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/AssemblyPartExtensionTest.cs index b0767061b1d3..74ad4090a4aa 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/AssemblyPartExtensionTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/AssemblyPartExtensionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/CSharpCompilerTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/CSharpCompilerTest.cs index 3ff7c6f1c512..e4f87fa7600e 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/CSharpCompilerTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/CSharpCompilerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/ChecksumValidatorTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/ChecksumValidatorTest.cs index 4a37fee2bfcf..5efa9a45e9d1 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/ChecksumValidatorTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/ChecksumValidatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Razor.Hosting; using Microsoft.AspNetCore.Razor.Language; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/CompilerFailedExceptionFactoryTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/CompilerFailedExceptionFactoryTest.cs index 31ca08c2ebae..b77785edb3c7 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/CompilerFailedExceptionFactoryTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/CompilerFailedExceptionFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using System.IO; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/DependencyInjection/RazorRuntimeCompilationMvcCoreBuilderExtensionsTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/DependencyInjection/RazorRuntimeCompilationMvcCoreBuilderExtensionsTest.cs index c94374bb90f6..893346bf093d 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/DependencyInjection/RazorRuntimeCompilationMvcCoreBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/DependencyInjection/RazorRuntimeCompilationMvcCoreBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/FileProviderRazorProjectFileSystemTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/FileProviderRazorProjectFileSystemTest.cs index 90a96d52360e..49b158b9b676 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/FileProviderRazorProjectFileSystemTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/FileProviderRazorProjectFileSystemTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Linq; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/PageLoaderMatcherPolicyTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/PageLoaderMatcherPolicyTest.cs index 7c58fbbef410..d530917ddc49 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/PageLoaderMatcherPolicyTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/PageLoaderMatcherPolicyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RazorReferenceManagerTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RazorReferenceManagerTest.cs index e28e974162d0..4f3f713b3282 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RazorReferenceManagerTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RazorReferenceManagerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RuntimeCompilationFileProviderTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RuntimeCompilationFileProviderTest.cs index 61b9b22290c5..ddd9fa2642b0 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RuntimeCompilationFileProviderTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RuntimeCompilationFileProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.FileProviders; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RuntimeViewCompilerTest.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RuntimeViewCompilerTest.cs index 6c916309dc6d..9d07e173becb 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RuntimeViewCompilerTest.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/RuntimeViewCompilerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/DirectoryNode.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/DirectoryNode.cs index 4cd98796c291..d0c9d35c5318 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/DirectoryNode.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/DirectoryNode.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/FileNode.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/FileNode.cs index 583281794a99..da0be2907ded 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/FileNode.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/FileNode.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/NotFoundProjectItem.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/NotFoundProjectItem.cs index 84ea7f01cf85..aa8f4484d07b 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/NotFoundProjectItem.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/NotFoundProjectItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/TestRazorProjectItem.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/TestRazorProjectItem.cs index c30b7614640d..1f1a9a10b628 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/TestRazorProjectItem.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/TestRazorProjectItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Text; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/TestRazorReferenceManager.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/TestRazorReferenceManager.cs index 91a44bcfeb61..599aaf43d062 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/TestRazorReferenceManager.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/TestRazorReferenceManager.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/VirtualRazorProjectFileSystem.cs b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/VirtualRazorProjectFileSystem.cs index 93b895980822..b3348c8c0d61 100644 --- a/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/VirtualRazorProjectFileSystem.cs +++ b/src/Mvc/Mvc.Razor.RuntimeCompilation/test/TestInfrastructure/VirtualRazorProjectFileSystem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/ApplicationParts/CompiledRazorAssemblyApplicationPartFactory.cs b/src/Mvc/Mvc.Razor/src/ApplicationParts/CompiledRazorAssemblyApplicationPartFactory.cs index daee08d2226d..b7948fbdc651 100644 --- a/src/Mvc/Mvc.Razor/src/ApplicationParts/CompiledRazorAssemblyApplicationPartFactory.cs +++ b/src/Mvc/Mvc.Razor/src/ApplicationParts/CompiledRazorAssemblyApplicationPartFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/ApplicationParts/CompiledRazorAssemblyPart.cs b/src/Mvc/Mvc.Razor/src/ApplicationParts/CompiledRazorAssemblyPart.cs index 36291ec4e8e7..5df7c1131d13 100644 --- a/src/Mvc/Mvc.Razor/src/ApplicationParts/CompiledRazorAssemblyPart.cs +++ b/src/Mvc/Mvc.Razor/src/ApplicationParts/CompiledRazorAssemblyPart.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/ApplicationParts/ConsolidatedAssemblyApplicationPartFactory.cs b/src/Mvc/Mvc.Razor/src/ApplicationParts/ConsolidatedAssemblyApplicationPartFactory.cs index 774d6ae75a3e..d4c0ab98c959 100644 --- a/src/Mvc/Mvc.Razor/src/ApplicationParts/ConsolidatedAssemblyApplicationPartFactory.cs +++ b/src/Mvc/Mvc.Razor/src/ApplicationParts/ConsolidatedAssemblyApplicationPartFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Razor/src/ApplicationParts/IRazorCompiledItemProvider.cs b/src/Mvc/Mvc.Razor/src/ApplicationParts/IRazorCompiledItemProvider.cs index bdf11d6d5975..d8111a362f79 100644 --- a/src/Mvc/Mvc.Razor/src/ApplicationParts/IRazorCompiledItemProvider.cs +++ b/src/Mvc/Mvc.Razor/src/ApplicationParts/IRazorCompiledItemProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Razor.Hosting; diff --git a/src/Mvc/Mvc.Razor/src/ApplicationParts/RazorCompiledItemFeatureProvider.cs b/src/Mvc/Mvc.Razor/src/ApplicationParts/RazorCompiledItemFeatureProvider.cs index eece1503ab91..dad1692b6576 100644 --- a/src/Mvc/Mvc.Razor/src/ApplicationParts/RazorCompiledItemFeatureProvider.cs +++ b/src/Mvc/Mvc.Razor/src/ApplicationParts/RazorCompiledItemFeatureProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/Compilation/CompiledViewDescriptor.cs b/src/Mvc/Mvc.Razor/src/Compilation/CompiledViewDescriptor.cs index d7b36c1d09fc..8c8e0e01011b 100644 --- a/src/Mvc/Mvc.Razor/src/Compilation/CompiledViewDescriptor.cs +++ b/src/Mvc/Mvc.Razor/src/Compilation/CompiledViewDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/Compilation/DefaultRazorPageFactoryProvider.cs b/src/Mvc/Mvc.Razor/src/Compilation/DefaultRazorPageFactoryProvider.cs index f0c35634e7e0..8f9bfd90f5b6 100644 --- a/src/Mvc/Mvc.Razor/src/Compilation/DefaultRazorPageFactoryProvider.cs +++ b/src/Mvc/Mvc.Razor/src/Compilation/DefaultRazorPageFactoryProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.Razor/src/Compilation/DefaultViewCompiler.cs b/src/Mvc/Mvc.Razor/src/Compilation/DefaultViewCompiler.cs index 1819015a16ea..8d8fc3105b3b 100644 --- a/src/Mvc/Mvc.Razor/src/Compilation/DefaultViewCompiler.cs +++ b/src/Mvc/Mvc.Razor/src/Compilation/DefaultViewCompiler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Razor/src/Compilation/DefaultViewCompilerProvider.cs b/src/Mvc/Mvc.Razor/src/Compilation/DefaultViewCompilerProvider.cs index b92077ad69d2..312a453bfad3 100644 --- a/src/Mvc/Mvc.Razor/src/Compilation/DefaultViewCompilerProvider.cs +++ b/src/Mvc/Mvc.Razor/src/Compilation/DefaultViewCompilerProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationParts; using Microsoft.Extensions.Logging; diff --git a/src/Mvc/Mvc.Razor/src/Compilation/IViewCompiler.cs b/src/Mvc/Mvc.Razor/src/Compilation/IViewCompiler.cs index 1685bc36046c..58d419254f96 100644 --- a/src/Mvc/Mvc.Razor/src/Compilation/IViewCompiler.cs +++ b/src/Mvc/Mvc.Razor/src/Compilation/IViewCompiler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Razor/src/Compilation/IViewCompilerProvider.cs b/src/Mvc/Mvc.Razor/src/Compilation/IViewCompilerProvider.cs index f762f50c2ecf..2bb7e87d4c06 100644 --- a/src/Mvc/Mvc.Razor/src/Compilation/IViewCompilerProvider.cs +++ b/src/Mvc/Mvc.Razor/src/Compilation/IViewCompilerProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Razor.Compilation { diff --git a/src/Mvc/Mvc.Razor/src/Compilation/RazorViewAttribute.cs b/src/Mvc/Mvc.Razor/src/Compilation/RazorViewAttribute.cs index d14643bfc601..ae1aacb03e30 100644 --- a/src/Mvc/Mvc.Razor/src/Compilation/RazorViewAttribute.cs +++ b/src/Mvc/Mvc.Razor/src/Compilation/RazorViewAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Razor/src/Compilation/ViewsFeature.cs b/src/Mvc/Mvc.Razor/src/Compilation/ViewsFeature.cs index 4d037eeba41a..cb60e0087aa7 100644 --- a/src/Mvc/Mvc.Razor/src/Compilation/ViewsFeature.cs +++ b/src/Mvc/Mvc.Razor/src/Compilation/ViewsFeature.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/DefaultTagHelperFactory.cs b/src/Mvc/Mvc.Razor/src/DefaultTagHelperFactory.cs index f394d34581e9..869a9de6760d 100644 --- a/src/Mvc/Mvc.Razor/src/DefaultTagHelperFactory.cs +++ b/src/Mvc/Mvc.Razor/src/DefaultTagHelperFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcBuilderExtensions.cs b/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcBuilderExtensions.cs index 7fa8e4b3ae35..1953ae71ef9e 100644 --- a/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcBuilderExtensions.cs +++ b/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Razor; diff --git a/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs index cf6deb06a1f7..9b40c5387eda 100644 --- a/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcViewOptionsSetup.cs b/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcViewOptionsSetup.cs index f93256041196..febadca72c67 100644 --- a/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcViewOptionsSetup.cs +++ b/src/Mvc/Mvc.Razor/src/DependencyInjection/MvcRazorMvcViewOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.Razor/src/DependencyInjection/TagHelpersAsServices.cs b/src/Mvc/Mvc.Razor/src/DependencyInjection/TagHelpersAsServices.cs index 7ef080696be2..05ec09588802 100644 --- a/src/Mvc/Mvc.Razor/src/DependencyInjection/TagHelpersAsServices.cs +++ b/src/Mvc/Mvc.Razor/src/DependencyInjection/TagHelpersAsServices.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Razor/src/Diagnostics/MvcDiagnostics.cs b/src/Mvc/Mvc.Razor/src/Diagnostics/MvcDiagnostics.cs index 14e91364da92..2a819c1a6065 100644 --- a/src/Mvc/Mvc.Razor/src/Diagnostics/MvcDiagnostics.cs +++ b/src/Mvc/Mvc.Razor/src/Diagnostics/MvcDiagnostics.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/HelperResult.cs b/src/Mvc/Mvc.Razor/src/HelperResult.cs index d69f37d59e78..c4aa4941bbde 100644 --- a/src/Mvc/Mvc.Razor/src/HelperResult.cs +++ b/src/Mvc/Mvc.Razor/src/HelperResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Razor/src/IModelTypeProvider.cs b/src/Mvc/Mvc.Razor/src/IModelTypeProvider.cs index 276bca6cbc4c..ac23d9e47141 100644 --- a/src/Mvc/Mvc.Razor/src/IModelTypeProvider.cs +++ b/src/Mvc/Mvc.Razor/src/IModelTypeProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Razor/src/IRazorPage.cs b/src/Mvc/Mvc.Razor/src/IRazorPage.cs index 6a7773eae343..ce6bce67fcec 100644 --- a/src/Mvc/Mvc.Razor/src/IRazorPage.cs +++ b/src/Mvc/Mvc.Razor/src/IRazorPage.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Razor/src/IRazorPageActivator.cs b/src/Mvc/Mvc.Razor/src/IRazorPageActivator.cs index 4a26dafcd731..85ec403f6d55 100644 --- a/src/Mvc/Mvc.Razor/src/IRazorPageActivator.cs +++ b/src/Mvc/Mvc.Razor/src/IRazorPageActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.Razor/src/IRazorPageFactoryProvider.cs b/src/Mvc/Mvc.Razor/src/IRazorPageFactoryProvider.cs index a3989e07be95..dda22485164f 100644 --- a/src/Mvc/Mvc.Razor/src/IRazorPageFactoryProvider.cs +++ b/src/Mvc/Mvc.Razor/src/IRazorPageFactoryProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Razor { diff --git a/src/Mvc/Mvc.Razor/src/IRazorViewEngine.cs b/src/Mvc/Mvc.Razor/src/IRazorViewEngine.cs index 6af2cafef8a1..0505795ab937 100644 --- a/src/Mvc/Mvc.Razor/src/IRazorViewEngine.cs +++ b/src/Mvc/Mvc.Razor/src/IRazorViewEngine.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ViewEngines; diff --git a/src/Mvc/Mvc.Razor/src/ITagHelperActivator.cs b/src/Mvc/Mvc.Razor/src/ITagHelperActivator.cs index 7757980390f6..ebfd6af184a9 100644 --- a/src/Mvc/Mvc.Razor/src/ITagHelperActivator.cs +++ b/src/Mvc/Mvc.Razor/src/ITagHelperActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/Mvc.Razor/src/ITagHelperFactory.cs b/src/Mvc/Mvc.Razor/src/ITagHelperFactory.cs index 181b8056554e..3a9d4c3f2370 100644 --- a/src/Mvc/Mvc.Razor/src/ITagHelperFactory.cs +++ b/src/Mvc/Mvc.Razor/src/ITagHelperFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/Mvc.Razor/src/ITagHelperInitializerOfT.cs b/src/Mvc/Mvc.Razor/src/ITagHelperInitializerOfT.cs index a3379fc2a0fe..b18c88f7038e 100644 --- a/src/Mvc/Mvc.Razor/src/ITagHelperInitializerOfT.cs +++ b/src/Mvc/Mvc.Razor/src/ITagHelperInitializerOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/Mvc.Razor/src/IViewLocationExpander.cs b/src/Mvc/Mvc.Razor/src/IViewLocationExpander.cs index d5ed2f7c7dcc..5c2be7318683 100644 --- a/src/Mvc/Mvc.Razor/src/IViewLocationExpander.cs +++ b/src/Mvc/Mvc.Razor/src/IViewLocationExpander.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/Infrastructure/DefaultFileVersionProvider.cs b/src/Mvc/Mvc.Razor/src/Infrastructure/DefaultFileVersionProvider.cs index d179e3e12afc..2a57b8ac4226 100644 --- a/src/Mvc/Mvc.Razor/src/Infrastructure/DefaultFileVersionProvider.cs +++ b/src/Mvc/Mvc.Razor/src/Infrastructure/DefaultFileVersionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Security.Cryptography; diff --git a/src/Mvc/Mvc.Razor/src/Infrastructure/DefaultTagHelperActivator.cs b/src/Mvc/Mvc.Razor/src/Infrastructure/DefaultTagHelperActivator.cs index 103fa66af683..fc944f2b2264 100644 --- a/src/Mvc/Mvc.Razor/src/Infrastructure/DefaultTagHelperActivator.cs +++ b/src/Mvc/Mvc.Razor/src/Infrastructure/DefaultTagHelperActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.Razor/src/Infrastructure/TagHelperMemoryCacheProvider.cs b/src/Mvc/Mvc.Razor/src/Infrastructure/TagHelperMemoryCacheProvider.cs index c80b9850c7bd..5e5f7845ac45 100644 --- a/src/Mvc/Mvc.Razor/src/Infrastructure/TagHelperMemoryCacheProvider.cs +++ b/src/Mvc/Mvc.Razor/src/Infrastructure/TagHelperMemoryCacheProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Caching.Memory; diff --git a/src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs b/src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs index 7f1c211da320..2423e33180da 100644 --- a/src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs +++ b/src/Mvc/Mvc.Razor/src/Internal/RazorInjectAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Razor/src/LanguageViewLocationExpander.cs b/src/Mvc/Mvc.Razor/src/LanguageViewLocationExpander.cs index 94338ef371cd..3bfb875dadac 100644 --- a/src/Mvc/Mvc.Razor/src/LanguageViewLocationExpander.cs +++ b/src/Mvc/Mvc.Razor/src/LanguageViewLocationExpander.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/LanguageViewLocationExpanderFormat.cs b/src/Mvc/Mvc.Razor/src/LanguageViewLocationExpanderFormat.cs index ad4b177bb048..2fbfd766dba6 100644 --- a/src/Mvc/Mvc.Razor/src/LanguageViewLocationExpanderFormat.cs +++ b/src/Mvc/Mvc.Razor/src/LanguageViewLocationExpanderFormat.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Razor { diff --git a/src/Mvc/Mvc.Razor/src/MvcRazorDiagnosticListenerExtensions.cs b/src/Mvc/Mvc.Razor/src/MvcRazorDiagnosticListenerExtensions.cs index d12bd3f3eb0b..075c9a13d90e 100644 --- a/src/Mvc/Mvc.Razor/src/MvcRazorDiagnosticListenerExtensions.cs +++ b/src/Mvc/Mvc.Razor/src/MvcRazorDiagnosticListenerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.Razor/src/MvcRazorLoggerExtensions.cs b/src/Mvc/Mvc.Razor/src/MvcRazorLoggerExtensions.cs index 4a11e49085eb..0077ccbb3a72 100644 --- a/src/Mvc/Mvc.Razor/src/MvcRazorLoggerExtensions.cs +++ b/src/Mvc/Mvc.Razor/src/MvcRazorLoggerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Razor/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Razor/src/Properties/AssemblyInfo.cs index 3d28953a2109..f2e36a689e1a 100644 --- a/src/Mvc/Mvc.Razor/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Razor/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Razor/src/RazorFileHierarchy.cs b/src/Mvc/Mvc.Razor/src/RazorFileHierarchy.cs index 89f7b43dd2f8..929a633b7923 100644 --- a/src/Mvc/Mvc.Razor/src/RazorFileHierarchy.cs +++ b/src/Mvc/Mvc.Razor/src/RazorFileHierarchy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/RazorPage.cs b/src/Mvc/Mvc.Razor/src/RazorPage.cs index e86b582879ee..25f4b2cd5db2 100644 --- a/src/Mvc/Mvc.Razor/src/RazorPage.cs +++ b/src/Mvc/Mvc.Razor/src/RazorPage.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/RazorPageActivator.cs b/src/Mvc/Mvc.Razor/src/RazorPageActivator.cs index 49eb5c05a978..ba370c04ba0e 100644 --- a/src/Mvc/Mvc.Razor/src/RazorPageActivator.cs +++ b/src/Mvc/Mvc.Razor/src/RazorPageActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Razor/src/RazorPageBase.cs b/src/Mvc/Mvc.Razor/src/RazorPageBase.cs index 034ba678065f..67c30fb99cbf 100644 --- a/src/Mvc/Mvc.Razor/src/RazorPageBase.cs +++ b/src/Mvc/Mvc.Razor/src/RazorPageBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/RazorPageFactoryResult.cs b/src/Mvc/Mvc.Razor/src/RazorPageFactoryResult.cs index 45537550f7c4..f3a8fe5025da 100644 --- a/src/Mvc/Mvc.Razor/src/RazorPageFactoryResult.cs +++ b/src/Mvc/Mvc.Razor/src/RazorPageFactoryResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Razor.Compilation; diff --git a/src/Mvc/Mvc.Razor/src/RazorPageOfT.cs b/src/Mvc/Mvc.Razor/src/RazorPageOfT.cs index 923cf1352571..e39f18fc93fe 100644 --- a/src/Mvc/Mvc.Razor/src/RazorPageOfT.cs +++ b/src/Mvc/Mvc.Razor/src/RazorPageOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Razor.Internal; using Microsoft.AspNetCore.Mvc.ViewFeatures; diff --git a/src/Mvc/Mvc.Razor/src/RazorPagePropertyActivator.cs b/src/Mvc/Mvc.Razor/src/RazorPagePropertyActivator.cs index b96908621cc6..8ad63e504ea1 100644 --- a/src/Mvc/Mvc.Razor/src/RazorPagePropertyActivator.cs +++ b/src/Mvc/Mvc.Razor/src/RazorPagePropertyActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Razor/src/RazorPageResult.cs b/src/Mvc/Mvc.Razor/src/RazorPageResult.cs index 044e3ee581f6..30ff09b62919 100644 --- a/src/Mvc/Mvc.Razor/src/RazorPageResult.cs +++ b/src/Mvc/Mvc.Razor/src/RazorPageResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/RazorView.cs b/src/Mvc/Mvc.Razor/src/RazorView.cs index 61d3c17e3fef..291c3da3e64f 100644 --- a/src/Mvc/Mvc.Razor/src/RazorView.cs +++ b/src/Mvc/Mvc.Razor/src/RazorView.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/RazorViewEngine.cs b/src/Mvc/Mvc.Razor/src/RazorViewEngine.cs index 34f3e8c0dddd..8eccb20decf2 100644 --- a/src/Mvc/Mvc.Razor/src/RazorViewEngine.cs +++ b/src/Mvc/Mvc.Razor/src/RazorViewEngine.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/RazorViewEngineOptions.cs b/src/Mvc/Mvc.Razor/src/RazorViewEngineOptions.cs index d6100bc4e78f..d9d31f274a4d 100644 --- a/src/Mvc/Mvc.Razor/src/RazorViewEngineOptions.cs +++ b/src/Mvc/Mvc.Razor/src/RazorViewEngineOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/RazorViewEngineOptionsSetup.cs b/src/Mvc/Mvc.Razor/src/RazorViewEngineOptionsSetup.cs index 96849670e735..def063926ba7 100644 --- a/src/Mvc/Mvc.Razor/src/RazorViewEngineOptionsSetup.cs +++ b/src/Mvc/Mvc.Razor/src/RazorViewEngineOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.Razor/src/RenderAsyncDelegate.cs b/src/Mvc/Mvc.Razor/src/RenderAsyncDelegate.cs index c1dd3bb74539..2766a88a7714 100644 --- a/src/Mvc/Mvc.Razor/src/RenderAsyncDelegate.cs +++ b/src/Mvc/Mvc.Razor/src/RenderAsyncDelegate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Razor/src/ServiceBasedTagHelperActivator.cs b/src/Mvc/Mvc.Razor/src/ServiceBasedTagHelperActivator.cs index 142efbe2568d..dcdc74462058 100644 --- a/src/Mvc/Mvc.Razor/src/ServiceBasedTagHelperActivator.cs +++ b/src/Mvc/Mvc.Razor/src/ServiceBasedTagHelperActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.Razor/src/TagHelperComponentManager.cs b/src/Mvc/Mvc.Razor/src/TagHelperComponentManager.cs index bdbaba846d19..d5a51f35bfde 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelperComponentManager.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelperComponentManager.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/TagHelperInitializerOfT.cs b/src/Mvc/Mvc.Razor/src/TagHelperInitializerOfT.cs index 94d37f2dd8a0..30089e835867 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelperInitializerOfT.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelperInitializerOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/BodyTagHelper.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/BodyTagHelper.cs index 111c67a0ab4c..63e7bc1354d6 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/BodyTagHelper.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/BodyTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/HeadTagHelper.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/HeadTagHelper.cs index 131b89c6ba78..b2c51e7d9628 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/HeadTagHelper.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/HeadTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/ITagHelperComponentManager.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/ITagHelperComponentManager.cs index 813372d5587a..565b4332f896 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/ITagHelperComponentManager.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/ITagHelperComponentManager.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/ITagHelperComponentPropertyActivator.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/ITagHelperComponentPropertyActivator.cs index f502fd90c3da..7c9057465316 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/ITagHelperComponentPropertyActivator.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/ITagHelperComponentPropertyActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Rendering; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperComponentPropertyActivator.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperComponentPropertyActivator.cs index 7da3e3ee4d1c..3b6e280b82b7 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperComponentPropertyActivator.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperComponentPropertyActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperComponentTagHelper.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperComponentTagHelper.cs index e3df1d85a71b..843633becd17 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperComponentTagHelper.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperComponentTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperFeature.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperFeature.cs index 1f6561bd4d20..0e060e607777 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperFeature.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperFeature.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperFeatureProvider.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperFeatureProvider.cs index 2f15d6a8b2ea..1ca612dbe00e 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperFeatureProvider.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/TagHelperFeatureProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; diff --git a/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs b/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs index 7bcda54a9627..ef8e2f4ffc22 100644 --- a/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs +++ b/src/Mvc/Mvc.Razor/src/TagHelpers/UrlResolutionTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/ViewLocationCacheItem.cs b/src/Mvc/Mvc.Razor/src/ViewLocationCacheItem.cs index 7ba1140bc850..744bc1461d2e 100644 --- a/src/Mvc/Mvc.Razor/src/ViewLocationCacheItem.cs +++ b/src/Mvc/Mvc.Razor/src/ViewLocationCacheItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.Razor/src/ViewLocationCacheKey.cs b/src/Mvc/Mvc.Razor/src/ViewLocationCacheKey.cs index 140b55ba9e69..523ce3c45a80 100644 --- a/src/Mvc/Mvc.Razor/src/ViewLocationCacheKey.cs +++ b/src/Mvc/Mvc.Razor/src/ViewLocationCacheKey.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/ViewLocationCacheResult.cs b/src/Mvc/Mvc.Razor/src/ViewLocationCacheResult.cs index 2b72934aa36e..eee85177a5ba 100644 --- a/src/Mvc/Mvc.Razor/src/ViewLocationCacheResult.cs +++ b/src/Mvc/Mvc.Razor/src/ViewLocationCacheResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/ViewLocationExpanderContext.cs b/src/Mvc/Mvc.Razor/src/ViewLocationExpanderContext.cs index 0ecc042ed39c..c7652f63fdd4 100644 --- a/src/Mvc/Mvc.Razor/src/ViewLocationExpanderContext.cs +++ b/src/Mvc/Mvc.Razor/src/ViewLocationExpanderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/src/ViewPath.cs b/src/Mvc/Mvc.Razor/src/ViewPath.cs index 652d74229c03..9f0c8324adcf 100644 --- a/src/Mvc/Mvc.Razor/src/ViewPath.cs +++ b/src/Mvc/Mvc.Razor/src/ViewPath.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Razor { diff --git a/src/Mvc/Mvc.Razor/test/ApplicationParts/RazorCompiledItemFeatureProviderTest.cs b/src/Mvc/Mvc.Razor/test/ApplicationParts/RazorCompiledItemFeatureProviderTest.cs index 6559c77b1be7..21360522be6c 100644 --- a/src/Mvc/Mvc.Razor/test/ApplicationParts/RazorCompiledItemFeatureProviderTest.cs +++ b/src/Mvc/Mvc.Razor/test/ApplicationParts/RazorCompiledItemFeatureProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.Razor/test/Compilation/DefaultRazorPageFactoryProviderTest.cs b/src/Mvc/Mvc.Razor/test/Compilation/DefaultRazorPageFactoryProviderTest.cs index c1b0b0c0d8a2..4f907ab3b748 100644 --- a/src/Mvc/Mvc.Razor/test/Compilation/DefaultRazorPageFactoryProviderTest.cs +++ b/src/Mvc/Mvc.Razor/test/Compilation/DefaultRazorPageFactoryProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.Razor/test/Compilation/DefaultViewCompilerTest.cs b/src/Mvc/Mvc.Razor/test/Compilation/DefaultViewCompilerTest.cs index 003bd6ddabeb..05b6444196d1 100644 --- a/src/Mvc/Mvc.Razor/test/Compilation/DefaultViewCompilerTest.cs +++ b/src/Mvc/Mvc.Razor/test/Compilation/DefaultViewCompilerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/test/Compilation/RazorPagePropertyActivatorTest.cs b/src/Mvc/Mvc.Razor/test/Compilation/RazorPagePropertyActivatorTest.cs index a62ddba0ca81..0c6bc0e14c52 100644 --- a/src/Mvc/Mvc.Razor/test/Compilation/RazorPagePropertyActivatorTest.cs +++ b/src/Mvc/Mvc.Razor/test/Compilation/RazorPagePropertyActivatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.Razor/test/DefaultTagHelperFactoryTest.cs b/src/Mvc/Mvc.Razor/test/DefaultTagHelperFactoryTest.cs index 94442984939c..46492b967d68 100644 --- a/src/Mvc/Mvc.Razor/test/DefaultTagHelperFactoryTest.cs +++ b/src/Mvc/Mvc.Razor/test/DefaultTagHelperFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Razor/test/DependencyInjection/MvcRazorMvcBuilderExtensionsTest.cs b/src/Mvc/Mvc.Razor/test/DependencyInjection/MvcRazorMvcBuilderExtensionsTest.cs index a136b7fbdd36..e66f6c64c4e5 100644 --- a/src/Mvc/Mvc.Razor/test/DependencyInjection/MvcRazorMvcBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Razor/test/DependencyInjection/MvcRazorMvcBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/Mvc.Razor/test/DependencyInjection/MvcRazorMvcCoreBuilderExtensionsTest.cs b/src/Mvc/Mvc.Razor/test/DependencyInjection/MvcRazorMvcCoreBuilderExtensionsTest.cs index f7aa99fdcba4..5e2e0bbae397 100644 --- a/src/Mvc/Mvc.Razor/test/DependencyInjection/MvcRazorMvcCoreBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.Razor/test/DependencyInjection/MvcRazorMvcCoreBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.Razor/test/Infrastructure/DefaultTagHelperActivatorTest.cs b/src/Mvc/Mvc.Razor/test/Infrastructure/DefaultTagHelperActivatorTest.cs index 8103bfc1396e..f94cfd83223e 100644 --- a/src/Mvc/Mvc.Razor/test/Infrastructure/DefaultTagHelperActivatorTest.cs +++ b/src/Mvc/Mvc.Razor/test/Infrastructure/DefaultTagHelperActivatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Razor/test/LanguageViewLocationExpanderTest.cs b/src/Mvc/Mvc.Razor/test/LanguageViewLocationExpanderTest.cs index bacd54ff6c96..c464164235a6 100644 --- a/src/Mvc/Mvc.Razor/test/LanguageViewLocationExpanderTest.cs +++ b/src/Mvc/Mvc.Razor/test/LanguageViewLocationExpanderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Testing; diff --git a/src/Mvc/Mvc.Razor/test/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.Razor/test/Properties/AssemblyInfo.cs index 3337ebeac24b..fb33a59c5309 100644 --- a/src/Mvc/Mvc.Razor/test/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.Razor/test/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.Razor/test/RazorFileHierarchyTest.cs b/src/Mvc/Mvc.Razor/test/RazorFileHierarchyTest.cs index ef0e6265bab2..00ea90e0eda9 100644 --- a/src/Mvc/Mvc.Razor/test/RazorFileHierarchyTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorFileHierarchyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.Razor/test/RazorPageActivatorTest.cs b/src/Mvc/Mvc.Razor/test/RazorPageActivatorTest.cs index da3f6ceccbbf..2b26e6acc1c5 100644 --- a/src/Mvc/Mvc.Razor/test/RazorPageActivatorTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorPageActivatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.Razor/test/RazorPageCreateModelExpressionTest.cs b/src/Mvc/Mvc.Razor/test/RazorPageCreateModelExpressionTest.cs index d510595c73c8..a199be36bf63 100644 --- a/src/Mvc/Mvc.Razor/test/RazorPageCreateModelExpressionTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorPageCreateModelExpressionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Razor/test/RazorPageCreateTagHelperTest.cs b/src/Mvc/Mvc.Razor/test/RazorPageCreateTagHelperTest.cs index a2632d1f3848..46c74b789953 100644 --- a/src/Mvc/Mvc.Razor/test/RazorPageCreateTagHelperTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorPageCreateTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.Razor/test/RazorPageTest.cs b/src/Mvc/Mvc.Razor/test/RazorPageTest.cs index 015e69190678..76ecae8d8394 100644 --- a/src/Mvc/Mvc.Razor/test/RazorPageTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorPageTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/test/RazorViewEngineOptionsTest.cs b/src/Mvc/Mvc.Razor/test/RazorViewEngineOptionsTest.cs index 7809ca3e1240..9f94d4a40fc1 100644 --- a/src/Mvc/Mvc.Razor/test/RazorViewEngineOptionsTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorViewEngineOptionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/Mvc.Razor/test/RazorViewEngineTest.cs b/src/Mvc/Mvc.Razor/test/RazorViewEngineTest.cs index 7611c20feaa6..de94633b7874 100644 --- a/src/Mvc/Mvc.Razor/test/RazorViewEngineTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorViewEngineTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/test/RazorViewTest.cs b/src/Mvc/Mvc.Razor/test/RazorViewTest.cs index 82d010e9cad8..e2bbf910f415 100644 --- a/src/Mvc/Mvc.Razor/test/RazorViewTest.cs +++ b/src/Mvc/Mvc.Razor/test/RazorViewTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/test/TagHelpers/TagHelperComponentPropertyActivatorTest.cs b/src/Mvc/Mvc.Razor/test/TagHelpers/TagHelperComponentPropertyActivatorTest.cs index 37fe160c5648..0204f3a9a096 100644 --- a/src/Mvc/Mvc.Razor/test/TagHelpers/TagHelperComponentPropertyActivatorTest.cs +++ b/src/Mvc/Mvc.Razor/test/TagHelpers/TagHelperComponentPropertyActivatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.Razor/test/TagHelpers/TagHelperComponentTagHelperTest.cs b/src/Mvc/Mvc.Razor/test/TagHelpers/TagHelperComponentTagHelperTest.cs index 80741ef6cd7b..958fb5e2d14f 100644 --- a/src/Mvc/Mvc.Razor/test/TagHelpers/TagHelperComponentTagHelperTest.cs +++ b/src/Mvc/Mvc.Razor/test/TagHelpers/TagHelperComponentTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/test/TagHelpers/UrlResolutionTagHelperTest.cs b/src/Mvc/Mvc.Razor/test/TagHelpers/UrlResolutionTagHelperTest.cs index a093c981eb3f..8831a0ec7f33 100644 --- a/src/Mvc/Mvc.Razor/test/TagHelpers/UrlResolutionTagHelperTest.cs +++ b/src/Mvc/Mvc.Razor/test/TagHelpers/UrlResolutionTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/test/TestApplicationPart.cs b/src/Mvc/Mvc.Razor/test/TestApplicationPart.cs index 5f6762242400..31ff977d41b0 100644 --- a/src/Mvc/Mvc.Razor/test/TestApplicationPart.cs +++ b/src/Mvc/Mvc.Razor/test/TestApplicationPart.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Razor/test/ViewPathTest.cs b/src/Mvc/Mvc.Razor/test/ViewPathTest.cs index 6f69e12a8592..d1576c844a49 100644 --- a/src/Mvc/Mvc.Razor/test/ViewPathTest.cs +++ b/src/Mvc/Mvc.Razor/test/ViewPathTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/AuthorizationPageApplicationModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/AuthorizationPageApplicationModelProvider.cs index 2c38d8935e0b..65661526d6f4 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/AuthorizationPageApplicationModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/AuthorizationPageApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/AutoValidateAntiforgeryPageApplicationModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/AutoValidateAntiforgeryPageApplicationModelProvider.cs index b4fca876d885..36cc16979cce 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/AutoValidateAntiforgeryPageApplicationModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/AutoValidateAntiforgeryPageApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/CompiledPageActionDescriptorBuilder.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/CompiledPageActionDescriptorBuilder.cs index 79968c8c39c3..60d93c3c0d80 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/CompiledPageActionDescriptorBuilder.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/CompiledPageActionDescriptorBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/CompiledPageRouteModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/CompiledPageRouteModelProvider.cs index 855fcb6d1a5e..1e754912ca35 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/CompiledPageRouteModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/CompiledPageRouteModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelPartsProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelPartsProvider.cs index be5c7b7b7e38..bb4d7c502663 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelPartsProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelPartsProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelProvider.cs index e24972acac1b..397b108cccb9 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/DefaultPageApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelConvention.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelConvention.cs index e1b6d778d55b..479e5b791556 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelConvention.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelPartsProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelPartsProvider.cs index 3d19f95029c4..ea7405173853 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelPartsProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelPartsProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelProvider.cs index 9296955e2ebf..cd4f873ddb08 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageConvention.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageConvention.cs index 3b2334953615..684557f14c32 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageConvention.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageHandlerModelConvention.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageHandlerModelConvention.cs index df2b0c7a695f..108455ac139c 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageHandlerModelConvention.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageHandlerModelConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageRouteModelConvention.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageRouteModelConvention.cs index 693e11cf3a6c..345cfda51124 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageRouteModelConvention.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageRouteModelConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageRouteModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageRouteModelProvider.cs index 300d8ecf9c21..56f5ba08a010 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageRouteModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/IPageRouteModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageApplicationModel.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageApplicationModel.cs index 4ec7f6cbf716..76b0d2835423 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageApplicationModel.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageApplicationModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageApplicationModelProviderContext.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageApplicationModelProviderContext.cs index 0857512d12a6..97bffb2744a9 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageApplicationModelProviderContext.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageApplicationModelProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageConventionCollection.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageConventionCollection.cs index 2a08355c9580..85ce0c213ca5 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageConventionCollection.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageConventionCollection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageHandlerModel.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageHandlerModel.cs index 6923269c14c5..67eedacfc6d9 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageHandlerModel.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageHandlerModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageParameterModel.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageParameterModel.cs index 2782032cc880..2918d3cac176 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageParameterModel.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageParameterModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PagePropertyModel.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PagePropertyModel.cs index 7c053c9e5e55..388dc5ed3b34 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PagePropertyModel.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PagePropertyModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteMetadata.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteMetadata.cs index 7f145c2dd154..00085deb49a6 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteMetadata.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ApplicationModels { diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModel.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModel.cs index 6c543a6b6c7a..3f442ae08379 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModel.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModelFactory.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModelFactory.cs index 1838d0ad9ca5..64a764402fb7 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModelFactory.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModelFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModelProviderContext.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModelProviderContext.cs index 966eb3876b26..5088a2da60c6 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModelProviderContext.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteModelProviderContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteTransformerConvention.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteTransformerConvention.cs index 2bec75388751..2e40b2802312 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteTransformerConvention.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/PageRouteTransformerConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/ResponseCacheFilterApplicationModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/ResponseCacheFilterApplicationModelProvider.cs index 09122c103a3b..dc5642a4f1cb 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/ResponseCacheFilterApplicationModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/ResponseCacheFilterApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/TempDataFilterPageApplicationModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/TempDataFilterPageApplicationModelProvider.cs index 65b251d495e3..e9857e4057e7 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/TempDataFilterPageApplicationModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/TempDataFilterPageApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/ViewDataAttributePageApplicationModelProvider.cs b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/ViewDataAttributePageApplicationModelProvider.cs index c0e12870b7f8..9a048e7cb084 100644 --- a/src/Mvc/Mvc.RazorPages/src/ApplicationModels/ViewDataAttributePageApplicationModelProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/ApplicationModels/ViewDataAttributePageApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.RazorPages/src/Builder/PageActionEndpointConventionBuilder.cs b/src/Mvc/Mvc.RazorPages/src/Builder/PageActionEndpointConventionBuilder.cs index 72b1cb5b3963..9e4f14b7d175 100644 --- a/src/Mvc/Mvc.RazorPages/src/Builder/PageActionEndpointConventionBuilder.cs +++ b/src/Mvc/Mvc.RazorPages/src/Builder/PageActionEndpointConventionBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Builder/RazorPagesEndpointRouteBuilderExtensions.cs b/src/Mvc/Mvc.RazorPages/src/Builder/RazorPagesEndpointRouteBuilderExtensions.cs index f8258196b8ab..d2c53c46ee3e 100644 --- a/src/Mvc/Mvc.RazorPages/src/Builder/RazorPagesEndpointRouteBuilderExtensions.cs +++ b/src/Mvc/Mvc.RazorPages/src/Builder/RazorPagesEndpointRouteBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/src/CompiledPageActionDescriptor.cs b/src/Mvc/Mvc.RazorPages/src/CompiledPageActionDescriptor.cs index dfbf10660b57..2ad05906e2a2 100644 --- a/src/Mvc/Mvc.RazorPages/src/CompiledPageActionDescriptor.cs +++ b/src/Mvc/Mvc.RazorPages/src/CompiledPageActionDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcBuilderExtensions.cs b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcBuilderExtensions.cs index 42fa82261bb8..6cb4fa2ba2a1 100644 --- a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcBuilderExtensions.cs +++ b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs index 8ffa2003e4f1..547d6fe2ebb9 100644 --- a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/MvcRazorPagesMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/PageConventionCollectionExtensions.cs b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/PageConventionCollectionExtensions.cs index e2a4d40843e4..4f09a05f470f 100644 --- a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/PageConventionCollectionExtensions.cs +++ b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/PageConventionCollectionExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Authorization; diff --git a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/RazorPagesOptionsSetup.cs b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/RazorPagesOptionsSetup.cs index d3f90f83910f..8e551b5af7ea 100644 --- a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/RazorPagesOptionsSetup.cs +++ b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/RazorPagesOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApplicationModels; diff --git a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/RazorPagesRazorViewEngineOptionsSetup.cs b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/RazorPagesRazorViewEngineOptionsSetup.cs index a39591397e63..f173d4035497 100644 --- a/src/Mvc/Mvc.RazorPages/src/DependencyInjection/RazorPagesRazorViewEngineOptionsSetup.cs +++ b/src/Mvc/Mvc.RazorPages/src/DependencyInjection/RazorPagesRazorViewEngineOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.RazorPages/src/Diagnostics/MvcDiagnostics.cs b/src/Mvc/Mvc.RazorPages/src/Diagnostics/MvcDiagnostics.cs index 3a71aa56dca4..bf9944ece50b 100644 --- a/src/Mvc/Mvc.RazorPages/src/Diagnostics/MvcDiagnostics.cs +++ b/src/Mvc/Mvc.RazorPages/src/Diagnostics/MvcDiagnostics.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/IAsyncPageFilter.cs b/src/Mvc/Mvc.RazorPages/src/Filters/IAsyncPageFilter.cs index 1c6a0503df08..5e9dea12e266 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/IAsyncPageFilter.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/IAsyncPageFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/IPageFilter.cs b/src/Mvc/Mvc.RazorPages/src/Filters/IPageFilter.cs index 6fde59efb157..8ae2ffe84baf 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/IPageFilter.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/IPageFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Filters { diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutedContext.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutedContext.cs index 5597fdc92e73..a05a72b4a8b2 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutedContext.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutedContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutingContext.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutingContext.cs index 25b9b90b7011..70970e6ebe28 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutingContext.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutingContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutionDelegate.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutionDelegate.cs index 7bf9708b20f7..d4e5e5dcfa36 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutionDelegate.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerExecutionDelegate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerPageFilter.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerPageFilter.cs index 4e491eef0485..62bbae777ea7 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerPageFilter.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerPageFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerResultFIlter.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerResultFIlter.cs index c804aeb2d308..ca5dc10142a9 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerResultFIlter.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerResultFIlter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerSelectedContext.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerSelectedContext.cs index 8489ab3fe5d2..0ec8dcbedab3 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerSelectedContext.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageHandlerSelectedContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageResponseCacheFilter.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageResponseCacheFilter.cs index 989183e491dc..e7d666378cc0 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageResponseCacheFilter.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageResponseCacheFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageSaveTempDataPropertyFilter.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageSaveTempDataPropertyFilter.cs index 3fc0b2b76196..842b0296fb48 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageSaveTempDataPropertyFilter.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageSaveTempDataPropertyFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ViewFeatures; using Microsoft.AspNetCore.Mvc.ViewFeatures.Filters; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageSaveTempDataPropertyFilterFactory.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageSaveTempDataPropertyFilterFactory.cs index 0bbc255240de..22dc4ad819a0 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageSaveTempDataPropertyFilterFactory.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageSaveTempDataPropertyFilterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageViewDataAttributeFilter.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageViewDataAttributeFilter.cs index 98b353b23724..c4159611cab9 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageViewDataAttributeFilter.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageViewDataAttributeFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.ViewFeatures; diff --git a/src/Mvc/Mvc.RazorPages/src/Filters/PageViewDataAttributeFilterFactory.cs b/src/Mvc/Mvc.RazorPages/src/Filters/PageViewDataAttributeFilterFactory.cs index 42cdda0f045d..075207bf2578 100644 --- a/src/Mvc/Mvc.RazorPages/src/Filters/PageViewDataAttributeFilterFactory.cs +++ b/src/Mvc/Mvc.RazorPages/src/Filters/PageViewDataAttributeFilterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/IPageActivatorProvider.cs b/src/Mvc/Mvc.RazorPages/src/IPageActivatorProvider.cs index 91485356ba2e..27ecc2ea64ec 100644 --- a/src/Mvc/Mvc.RazorPages/src/IPageActivatorProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/IPageActivatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/IPageFactoryProvider.cs b/src/Mvc/Mvc.RazorPages/src/IPageFactoryProvider.cs index ae75927aa861..61ea6998cded 100644 --- a/src/Mvc/Mvc.RazorPages/src/IPageFactoryProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/IPageFactoryProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/IPageModelActivatorProvider.cs b/src/Mvc/Mvc.RazorPages/src/IPageModelActivatorProvider.cs index 27373ad5acff..1320eb0e9619 100644 --- a/src/Mvc/Mvc.RazorPages/src/IPageModelActivatorProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/IPageModelActivatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/IPageModelFactoryProvider.cs b/src/Mvc/Mvc.RazorPages/src/IPageModelFactoryProvider.cs index 97998da7ad17..7ca29901feed 100644 --- a/src/Mvc/Mvc.RazorPages/src/IPageModelFactoryProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/IPageModelFactoryProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/CompiledPageActionDescriptorFactory.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/CompiledPageActionDescriptorFactory.cs index d49ae94631ae..af97b44c39ee 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/CompiledPageActionDescriptorFactory.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/CompiledPageActionDescriptorFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/CompiledPageActionDescriptorProvider.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/CompiledPageActionDescriptorProvider.cs index 28d806c646b6..5285377f8c58 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/CompiledPageActionDescriptorProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/CompiledPageActionDescriptorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageActivatorProvider.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageActivatorProvider.cs index 3bf6302c7824..8aba79629f4a 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageActivatorProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageActivatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageFactoryProvider.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageFactoryProvider.cs index 7526c2e6a4fe..d0e5551a1ceb 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageFactoryProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageFactoryProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageHandlerMethodSelector.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageHandlerMethodSelector.cs index d9004cf64f76..267fb183adc8 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageHandlerMethodSelector.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageHandlerMethodSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageLoader.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageLoader.cs index b1f4c8c38e1c..aac7c22a09d8 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageLoader.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageLoader.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageModelActivatorProvider.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageModelActivatorProvider.cs index edeeb72412a9..cb05f8dfb60a 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageModelActivatorProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageModelActivatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageModelFactoryProvider.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageModelFactoryProvider.cs index ae10ed2ea973..2db18d9bb684 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageModelFactoryProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DefaultPageModelFactoryProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointMatcherPolicy.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointMatcherPolicy.cs index 737896c320a8..edd9adfb7570 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointMatcherPolicy.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointMatcherPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointSelector.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointSelector.cs index ac8c9af69c0f..69d4805d9e6c 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointSelector.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointSelectorCache.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointSelectorCache.cs index 2c15a65040b1..0fb313ca6d0e 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointSelectorCache.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageEndpointSelectorCache.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.Collections.Concurrent; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageMetadata.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageMetadata.cs index a96a6d7278b1..075d9856be88 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageMetadata.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageRouteValueTransformerMetadata.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageRouteValueTransformerMetadata.cs index a3ab9dd64f1e..6a86423eb0bc 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageRouteValueTransformerMetadata.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/DynamicPageRouteValueTransformerMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/ExecutorFactory.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/ExecutorFactory.cs index 99571e68e3ee..d2d3805368f2 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/ExecutorFactory.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/ExecutorFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandleOptionsRequestsPageFilter.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandleOptionsRequestsPageFilter.cs index 0c9221e507ca..13dcc30a266f 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandleOptionsRequestsPageFilter.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandleOptionsRequestsPageFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandlerMethodDescriptor.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandlerMethodDescriptor.cs index 7e651ee0af53..15cb70433159 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandlerMethodDescriptor.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandlerMethodDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandlerParameterDescriptor.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandlerParameterDescriptor.cs index 7ba0285efa18..59f11b446a41 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandlerParameterDescriptor.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/HandlerParameterDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/IPageHandlerMethodSelector.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/IPageHandlerMethodSelector.cs index b396778a8701..9470ec23e441 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/IPageHandlerMethodSelector.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/IPageHandlerMethodSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure { diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/IPageLoader.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/IPageLoader.cs index e1d87515b511..7801ca38187d 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/IPageLoader.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/IPageLoader.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionDescriptorProvider.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionDescriptorProvider.cs index c78018a5ea08..e4a3141bc5bd 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionDescriptorProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionDescriptorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSource.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSource.cs index f3ae54a251e2..0e24e0be2c7d 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSource.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSource.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSourceFactory.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSourceFactory.cs index 275961d1927b..f2c77c7843f6 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSourceFactory.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSourceFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Infrastructure; using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSourceIdProvider.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSourceIdProvider.cs index 23aed3fae1a2..ff1e1511dd8a 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSourceIdProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionEndpointDataSourceIdProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvoker.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvoker.cs index ebf69961aa1f..a1a2edbe5b38 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvoker.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvoker.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerCache.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerCache.cs index 0aa0daed4917..13ab40185639 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerCache.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerCacheEntry.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerCacheEntry.cs index f2fad48c7c6f..8244d81e38d8 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerCacheEntry.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerCacheEntry.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerProvider.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerProvider.cs index 8cd732c5cdc0..a5e43aa247c8 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageActionInvokerProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageBinderFactory.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageBinderFactory.cs index 72b72fdef8f2..64e3350b562c 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageBinderFactory.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageBinderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageBoundPropertyDescriptor.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageBoundPropertyDescriptor.cs index 76d3f92cf82f..062d404c9acb 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageBoundPropertyDescriptor.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageBoundPropertyDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageEndpointDataSourceIdMetadata.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageEndpointDataSourceIdMetadata.cs index 11353b693298..2ffe2622d7b2 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageEndpointDataSourceIdMetadata.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageEndpointDataSourceIdMetadata.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure { diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageHandlerBinderDelegate.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageHandlerBinderDelegate.cs index 433f3ccfd886..304e0ed2be96 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageHandlerBinderDelegate.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageHandlerBinderDelegate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageHandlerExecutorDelegate.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageHandlerExecutorDelegate.cs index 6c992ad84dc9..37589cc8ddef 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageHandlerExecutorDelegate.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageHandlerExecutorDelegate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageLoader.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageLoader.cs index 2c9589292e26..35d35b72d341 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageLoader.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageLoader.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageModelAttribute.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageModelAttribute.cs index 0ae311a8ee2f..cbf135fe2363 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageModelAttribute.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageModelAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageRequestDelegateFactory.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageRequestDelegateFactory.cs index a5e15fb00fcc..d0d007d20805 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageRequestDelegateFactory.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageRequestDelegateFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageResultExecutor.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageResultExecutor.cs index 9ce8e7d6a978..fdaa201f1c15 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageResultExecutor.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageViewLocationExpander.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageViewLocationExpander.cs index 6654251beba1..e0e1d646df28 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageViewLocationExpander.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/PageViewLocationExpander.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Razor; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/RazorPageAdapter.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/RazorPageAdapter.cs index ff3bc1fa4db5..6503582907f4 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/RazorPageAdapter.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/RazorPageAdapter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/RazorPageAttribute.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/RazorPageAttribute.cs index 63e343d4878d..600cb296c447 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/RazorPageAttribute.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/RazorPageAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Razor.Compilation; diff --git a/src/Mvc/Mvc.RazorPages/src/Infrastructure/ServiceBasedPageModelActivatorProvider.cs b/src/Mvc/Mvc.RazorPages/src/Infrastructure/ServiceBasedPageModelActivatorProvider.cs index f43c3f3eb7ac..f86ef34e9be3 100644 --- a/src/Mvc/Mvc.RazorPages/src/Infrastructure/ServiceBasedPageModelActivatorProvider.cs +++ b/src/Mvc/Mvc.RazorPages/src/Infrastructure/ServiceBasedPageModelActivatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/src/MvcRazorPagesDiagnosticListenerExtensions.cs b/src/Mvc/Mvc.RazorPages/src/MvcRazorPagesDiagnosticListenerExtensions.cs index b15d11deaed3..8b5c2c74e494 100644 --- a/src/Mvc/Mvc.RazorPages/src/MvcRazorPagesDiagnosticListenerExtensions.cs +++ b/src/Mvc/Mvc.RazorPages/src/MvcRazorPagesDiagnosticListenerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Mvc/Mvc.RazorPages/src/NonHandlerAttribute.cs b/src/Mvc/Mvc.RazorPages/src/NonHandlerAttribute.cs index 5c9cf5399419..403956f9b0aa 100644 --- a/src/Mvc/Mvc.RazorPages/src/NonHandlerAttribute.cs +++ b/src/Mvc/Mvc.RazorPages/src/NonHandlerAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.RazorPages/src/Page.cs b/src/Mvc/Mvc.RazorPages/src/Page.cs index c6ee14940d15..4d68519fe135 100644 --- a/src/Mvc/Mvc.RazorPages/src/Page.cs +++ b/src/Mvc/Mvc.RazorPages/src/Page.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.RazorPages { diff --git a/src/Mvc/Mvc.RazorPages/src/PageActionDescriptor.cs b/src/Mvc/Mvc.RazorPages/src/PageActionDescriptor.cs index 3923f2b2980c..702276e88049 100644 --- a/src/Mvc/Mvc.RazorPages/src/PageActionDescriptor.cs +++ b/src/Mvc/Mvc.RazorPages/src/PageActionDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.RazorPages/src/PageBase.cs b/src/Mvc/Mvc.RazorPages/src/PageBase.cs index 73b9fc03b2f1..5f00f6013a2b 100644 --- a/src/Mvc/Mvc.RazorPages/src/PageBase.cs +++ b/src/Mvc/Mvc.RazorPages/src/PageBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.RazorPages/src/PageContext.cs b/src/Mvc/Mvc.RazorPages/src/PageContext.cs index cfede5d16714..8e9ad52c3c32 100644 --- a/src/Mvc/Mvc.RazorPages/src/PageContext.cs +++ b/src/Mvc/Mvc.RazorPages/src/PageContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/src/PageContextAttribute.cs b/src/Mvc/Mvc.RazorPages/src/PageContextAttribute.cs index d92ec99c26c4..e2022161a875 100644 --- a/src/Mvc/Mvc.RazorPages/src/PageContextAttribute.cs +++ b/src/Mvc/Mvc.RazorPages/src/PageContextAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.RazorPages/src/PageLoggerExtensions.cs b/src/Mvc/Mvc.RazorPages/src/PageLoggerExtensions.cs index d07e1ea65a8b..8e6a67dcefdc 100644 --- a/src/Mvc/Mvc.RazorPages/src/PageLoggerExtensions.cs +++ b/src/Mvc/Mvc.RazorPages/src/PageLoggerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.RazorPages/src/PageModel.cs b/src/Mvc/Mvc.RazorPages/src/PageModel.cs index f539f7848a2a..c1ef2ade5267 100644 --- a/src/Mvc/Mvc.RazorPages/src/PageModel.cs +++ b/src/Mvc/Mvc.RazorPages/src/PageModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.RazorPages/src/PageResult.cs b/src/Mvc/Mvc.RazorPages/src/PageResult.cs index 1f533b93fc9d..4fb09e4a28be 100644 --- a/src/Mvc/Mvc.RazorPages/src/PageResult.cs +++ b/src/Mvc/Mvc.RazorPages/src/PageResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.RazorPages/src/Properties/AssemblyInfo.cs index 5eee65919e04..252b670d459d 100644 --- a/src/Mvc/Mvc.RazorPages/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.RazorPages/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.RazorPages/src/RazorPagesOptions.cs b/src/Mvc/Mvc.RazorPages/src/RazorPagesOptions.cs index 358990b203ed..2b59a276161c 100644 --- a/src/Mvc/Mvc.RazorPages/src/RazorPagesOptions.cs +++ b/src/Mvc/Mvc.RazorPages/src/RazorPagesOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/AuthorizationPageApplicationModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/AuthorizationPageApplicationModelProviderTest.cs index b2f17f48cfde..24d51066d0d3 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/AuthorizationPageApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/AuthorizationPageApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/CompiledPageActionDescriptorBuilderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/CompiledPageActionDescriptorBuilderTest.cs index b97c35ab6c13..2933f60ae554 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/CompiledPageActionDescriptorBuilderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/CompiledPageActionDescriptorBuilderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/CompiledPageRouteModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/CompiledPageRouteModelProviderTest.cs index c0cf96f38c04..af603a33a184 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/CompiledPageRouteModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/CompiledPageRouteModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/DefaultPageApplicationModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/DefaultPageApplicationModelProviderTest.cs index 82f02f468b67..2e3d50b998a4 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/DefaultPageApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/DefaultPageApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageConventionCollectionTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageConventionCollectionTest.cs index ddcb1be5e695..21f5bb9f7918 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageConventionCollectionTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageConventionCollectionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Testing; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageRouteModelFactoryTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageRouteModelFactoryTest.cs index 7e5347d28094..2e7c1d463408 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageRouteModelFactoryTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageRouteModelFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageRouteTransformerConventionTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageRouteTransformerConventionTest.cs index 9dd1ac2a52c2..f9344127a20b 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageRouteTransformerConventionTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/PageRouteTransformerConventionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ResponseCacheFilterApplicationModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ResponseCacheFilterApplicationModelProviderTest.cs index 4c757bd1df22..3f04f2c4f046 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ResponseCacheFilterApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ResponseCacheFilterApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/TempDataFilterPageApplicationModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/TempDataFilterPageApplicationModelProviderTest.cs index ef4ac84077fa..3e60efa85a82 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/TempDataFilterPageApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/TempDataFilterPageApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ViewDataAttributePageApplicationModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ViewDataAttributePageApplicationModelProviderTest.cs index 240726449687..a5b9d0effb03 100644 --- a/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ViewDataAttributePageApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/ApplicationModels/ViewDataAttributePageApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/DependencyInjection/MvcRazorPagesMvcBuilderExtensionsTest.cs b/src/Mvc/Mvc.RazorPages/test/DependencyInjection/MvcRazorPagesMvcBuilderExtensionsTest.cs index 854ca7ece4eb..d52646a1f0bf 100644 --- a/src/Mvc/Mvc.RazorPages/test/DependencyInjection/MvcRazorPagesMvcBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/DependencyInjection/MvcRazorPagesMvcBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationModels; using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/Mvc.RazorPages/test/DependencyInjection/PageConventionCollectionExtensionsTest.cs b/src/Mvc/Mvc.RazorPages/test/DependencyInjection/PageConventionCollectionExtensionsTest.cs index 356bce0b8f92..31216f04bc80 100644 --- a/src/Mvc/Mvc.RazorPages/test/DependencyInjection/PageConventionCollectionExtensionsTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/DependencyInjection/PageConventionCollectionExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/DependencyInjection/RazorPagesRazorViewEngineOptionsSetupTest.cs b/src/Mvc/Mvc.RazorPages/test/DependencyInjection/RazorPagesRazorViewEngineOptionsSetupTest.cs index be687be1f999..12c9118c54de 100644 --- a/src/Mvc/Mvc.RazorPages/test/DependencyInjection/RazorPagesRazorViewEngineOptionsSetupTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/DependencyInjection/RazorPagesRazorViewEngineOptionsSetupTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Mvc.Razor; diff --git a/src/Mvc/Mvc.RazorPages/test/Filters/AutoValidateAntiforgeryPageApplicationModelProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/Filters/AutoValidateAntiforgeryPageApplicationModelProviderTest.cs index cbfc1125c459..5dd246235c48 100644 --- a/src/Mvc/Mvc.RazorPages/test/Filters/AutoValidateAntiforgeryPageApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Filters/AutoValidateAntiforgeryPageApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/Filters/PageHandlerResultFilterTest.cs b/src/Mvc/Mvc.RazorPages/test/Filters/PageHandlerResultFilterTest.cs index 66bdda64e5ab..231aabe4540b 100644 --- a/src/Mvc/Mvc.RazorPages/test/Filters/PageHandlerResultFilterTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Filters/PageHandlerResultFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.RazorPages/test/Filters/PageSaveTempDataPropertyFilterFactoryTest.cs b/src/Mvc/Mvc.RazorPages/test/Filters/PageSaveTempDataPropertyFilterFactoryTest.cs index 31d78c90759b..7849c042a6e5 100644 --- a/src/Mvc/Mvc.RazorPages/test/Filters/PageSaveTempDataPropertyFilterFactoryTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Filters/PageSaveTempDataPropertyFilterFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.RazorPages; using Microsoft.AspNetCore.Mvc.ViewFeatures; diff --git a/src/Mvc/Mvc.RazorPages/test/Filters/PageSaveTempDataPropertyFilterTest.cs b/src/Mvc/Mvc.RazorPages/test/Filters/PageSaveTempDataPropertyFilterTest.cs index be14b1a3416b..ee7ef44af9c0 100644 --- a/src/Mvc/Mvc.RazorPages/test/Filters/PageSaveTempDataPropertyFilterTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Filters/PageSaveTempDataPropertyFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/Filters/PageViewDataAttributeFilterFactoryTest.cs b/src/Mvc/Mvc.RazorPages/test/Filters/PageViewDataAttributeFilterFactoryTest.cs index 73ca58290580..35abc2ec8349 100644 --- a/src/Mvc/Mvc.RazorPages/test/Filters/PageViewDataAttributeFilterFactoryTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Filters/PageViewDataAttributeFilterFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ViewFeatures.Filters; diff --git a/src/Mvc/Mvc.RazorPages/test/Filters/PageViewDataAttributeFilterTest.cs b/src/Mvc/Mvc.RazorPages/test/Filters/PageViewDataAttributeFilterTest.cs index 5198f9d558a3..6d3dc0222fb8 100644 --- a/src/Mvc/Mvc.RazorPages/test/Filters/PageViewDataAttributeFilterTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Filters/PageViewDataAttributeFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/CompiledPageActionDescriptorFactoryTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/CompiledPageActionDescriptorFactoryTest.cs index e48fabe1bc52..fa797853cdf6 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/CompiledPageActionDescriptorFactoryTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/CompiledPageActionDescriptorFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageActivatorProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageActivatorProviderTest.cs index db6aafa7fe73..1241b1246c5d 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageActivatorProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageActivatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageFactoryProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageFactoryProviderTest.cs index c52688b48964..56384e9b39c3 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageFactoryProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageFactoryProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageHandlerMethodSelectorTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageHandlerMethodSelectorTest.cs index 4a4d8bb17fb5..8c01c50219b5 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageHandlerMethodSelectorTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageHandlerMethodSelectorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageLoaderTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageLoaderTest.cs index f9fab8e3db49..215de503aac4 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageLoaderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageLoaderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageModelActivatorProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageModelActivatorProviderTest.cs index 2a01032f3de9..91811af5d891 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageModelActivatorProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageModelActivatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageModelFactoryProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageModelFactoryProviderTest.cs index 5408ae372d03..a397b8beb96a 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageModelFactoryProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DefaultPageModelFactoryProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DisallowOptionsRequestsPageFilterTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DisallowOptionsRequestsPageFilterTest.cs index a2be81c8c100..dc5c9bf9ddba 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DisallowOptionsRequestsPageFilterTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DisallowOptionsRequestsPageFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DynamicPageEndpointMatcherPolicyTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DynamicPageEndpointMatcherPolicyTest.cs index 11928f3b9c82..06aae5303d01 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/DynamicPageEndpointMatcherPolicyTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/DynamicPageEndpointMatcherPolicyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/ExecutorFactoryTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/ExecutorFactoryTest.cs index f7d48b9b2a91..d7b5e494ed17 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/ExecutorFactoryTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/ExecutorFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionDescriptorProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionDescriptorProviderTest.cs index 10d968a991df..020971bbbff5 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionDescriptorProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionDescriptorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionEndpointDataSourceTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionEndpointDataSourceTest.cs index 2e3ef71e052a..66b2623ab16e 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionEndpointDataSourceTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionEndpointDataSourceTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionInvokerProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionInvokerProviderTest.cs index 59ea0f414f2b..a48c31a490ff 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionInvokerProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionInvokerProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionInvokerTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionInvokerTest.cs index d309d8418ba7..df87e865784b 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionInvokerTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageActionInvokerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageBinderFactoryTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageBinderFactoryTest.cs index d32c3d96cb0f..6730127416f7 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageBinderFactoryTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageBinderFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageHandlerPageFilterTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageHandlerPageFilterTest.cs index 7e894435581b..9a75ee8449db 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageHandlerPageFilterTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageHandlerPageFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageViewLocationExpanderTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageViewLocationExpanderTest.cs index 7623e4af9e55..2ee98c9e0f82 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageViewLocationExpanderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/PageViewLocationExpanderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.RazorPages/test/Infrastructure/ServiceBasedPageModelActivatorProviderTest.cs b/src/Mvc/Mvc.RazorPages/test/Infrastructure/ServiceBasedPageModelActivatorProviderTest.cs index 1d045c857132..465f5a5ac20f 100644 --- a/src/Mvc/Mvc.RazorPages/test/Infrastructure/ServiceBasedPageModelActivatorProviderTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/Infrastructure/ServiceBasedPageModelActivatorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/PageLoggerExtensionsTest.cs b/src/Mvc/Mvc.RazorPages/test/PageLoggerExtensionsTest.cs index 1344e72521b7..a82b4415aebc 100644 --- a/src/Mvc/Mvc.RazorPages/test/PageLoggerExtensionsTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/PageLoggerExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.RazorPages/test/PageModelTest.cs b/src/Mvc/Mvc.RazorPages/test/PageModelTest.cs index 3ec9ed5f6a27..5e4148de3c2f 100644 --- a/src/Mvc/Mvc.RazorPages/test/PageModelTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/PageModelTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.RazorPages/test/PageTest.cs b/src/Mvc/Mvc.RazorPages/test/PageTest.cs index 473fac2cdeca..f462be4cf57d 100644 --- a/src/Mvc/Mvc.RazorPages/test/PageTest.cs +++ b/src/Mvc/Mvc.RazorPages/test/PageTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/AnchorTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/AnchorTagHelper.cs index 0e215b72cfe3..8db465e06878 100644 --- a/src/Mvc/Mvc.TagHelpers/src/AnchorTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/AnchorTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/AttributeMatcher.cs b/src/Mvc/Mvc.TagHelpers/src/AttributeMatcher.cs index 55584fa94f93..48a2c935269f 100644 --- a/src/Mvc/Mvc.TagHelpers/src/AttributeMatcher.cs +++ b/src/Mvc/Mvc.TagHelpers/src/AttributeMatcher.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/Cache/CacheTagKey.cs b/src/Mvc/Mvc.TagHelpers/src/Cache/CacheTagKey.cs index 1cfc3a726ebd..525cabf279c1 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Cache/CacheTagKey.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Cache/CacheTagKey.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperFormatter.cs b/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperFormatter.cs index 3e0fbfb317e3..10474b80e85c 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperFormatter.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text; diff --git a/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperFormattingContext.cs b/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperFormattingContext.cs index 3b1de01ff4a8..2c74e271b4ac 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperFormattingContext.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperFormattingContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperService.cs b/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperService.cs index 167f30b4849f..0d6ac9101c07 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperService.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperStorage.cs b/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperStorage.cs index 2409f9d5eaa7..55fd3fdce03d 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperStorage.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Cache/DistributedCacheTagHelperStorage.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperFormatter.cs b/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperFormatter.cs index 6236b7d71947..390b26b6bf0f 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperFormatter.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperService.cs b/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperService.cs index 15abaab386b8..04f502aa8c36 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperService.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperStorage.cs b/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperStorage.cs index 2d29c436d778..63c94105c2c9 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperStorage.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Cache/IDistributedCacheTagHelperStorage.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.Extensions.Caching.Distributed; diff --git a/src/Mvc/Mvc.TagHelpers/src/CacheTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/CacheTagHelper.cs index a097528945a0..f8e5e0d8a982 100644 --- a/src/Mvc/Mvc.TagHelpers/src/CacheTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/CacheTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperBase.cs b/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperBase.cs index 9ebd8a7717ad..ccacc9e0f397 100644 --- a/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperBase.cs +++ b/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperMemoryCacheFactory.cs b/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperMemoryCacheFactory.cs index 1bd126087d91..75c48b9ed679 100644 --- a/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperMemoryCacheFactory.cs +++ b/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperMemoryCacheFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Caching.Memory; using Microsoft.Extensions.Options; diff --git a/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperOptions.cs b/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperOptions.cs index 0e141b26ff8d..c7d41552e862 100644 --- a/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperOptions.cs +++ b/src/Mvc/Mvc.TagHelpers/src/CacheTagHelperOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.TagHelpers { diff --git a/src/Mvc/Mvc.TagHelpers/src/ComponentTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/ComponentTagHelper.cs index 699ff52b5d93..1a6dc80f350a 100644 --- a/src/Mvc/Mvc.TagHelpers/src/ComponentTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/ComponentTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/CurrentValues.cs b/src/Mvc/Mvc.TagHelpers/src/CurrentValues.cs index 8794df7203aa..3c9ae5aa160a 100644 --- a/src/Mvc/Mvc.TagHelpers/src/CurrentValues.cs +++ b/src/Mvc/Mvc.TagHelpers/src/CurrentValues.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Mvc/Mvc.TagHelpers/src/DependencyInjection/TagHelperExtensions.cs b/src/Mvc/Mvc.TagHelpers/src/DependencyInjection/TagHelperExtensions.cs index 74b3ef5853dd..151cfcd8600c 100644 --- a/src/Mvc/Mvc.TagHelpers/src/DependencyInjection/TagHelperExtensions.cs +++ b/src/Mvc/Mvc.TagHelpers/src/DependencyInjection/TagHelperExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.TagHelpers; diff --git a/src/Mvc/Mvc.TagHelpers/src/DistributedCacheTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/DistributedCacheTagHelper.cs index 7256f950d9c5..f18f40d48999 100644 --- a/src/Mvc/Mvc.TagHelpers/src/DistributedCacheTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/DistributedCacheTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text.Encodings.Web; diff --git a/src/Mvc/Mvc.TagHelpers/src/EnvironmentTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/EnvironmentTagHelper.cs index b715c4db244c..aa234f882d6d 100644 --- a/src/Mvc/Mvc.TagHelpers/src/EnvironmentTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/EnvironmentTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.TagHelpers/src/FileProviderGlobbingDirectory.cs b/src/Mvc/Mvc.TagHelpers/src/FileProviderGlobbingDirectory.cs index 5cb63e410f69..48598306f814 100644 --- a/src/Mvc/Mvc.TagHelpers/src/FileProviderGlobbingDirectory.cs +++ b/src/Mvc/Mvc.TagHelpers/src/FileProviderGlobbingDirectory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/FileProviderGlobbingFile.cs b/src/Mvc/Mvc.TagHelpers/src/FileProviderGlobbingFile.cs index 67ccc9e04647..adf23d2bf1f5 100644 --- a/src/Mvc/Mvc.TagHelpers/src/FileProviderGlobbingFile.cs +++ b/src/Mvc/Mvc.TagHelpers/src/FileProviderGlobbingFile.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.FileProviders; diff --git a/src/Mvc/Mvc.TagHelpers/src/FormActionTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/FormActionTagHelper.cs index 7e42106f0fde..6585607a3b06 100644 --- a/src/Mvc/Mvc.TagHelpers/src/FormActionTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/FormActionTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/FormTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/FormTagHelper.cs index ad33eb254af0..afe57c06eb66 100644 --- a/src/Mvc/Mvc.TagHelpers/src/FormTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/FormTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/GlobbingUrlBuilder.cs b/src/Mvc/Mvc.TagHelpers/src/GlobbingUrlBuilder.cs index e0a04a537484..0bb78423979f 100644 --- a/src/Mvc/Mvc.TagHelpers/src/GlobbingUrlBuilder.cs +++ b/src/Mvc/Mvc.TagHelpers/src/GlobbingUrlBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/ImageTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/ImageTagHelper.cs index c85fd14fa68e..2d3018774b55 100644 --- a/src/Mvc/Mvc.TagHelpers/src/ImageTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/ImageTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text.Encodings.Web; diff --git a/src/Mvc/Mvc.TagHelpers/src/InputTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/InputTagHelper.cs index 3ce7506e0895..e01c5ac7b2b5 100644 --- a/src/Mvc/Mvc.TagHelpers/src/InputTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/InputTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/JavaScriptResources.cs b/src/Mvc/Mvc.TagHelpers/src/JavaScriptResources.cs index a8cc82d4c2d3..87ad119c3c99 100644 --- a/src/Mvc/Mvc.TagHelpers/src/JavaScriptResources.cs +++ b/src/Mvc/Mvc.TagHelpers/src/JavaScriptResources.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.TagHelpers/src/LabelTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/LabelTagHelper.cs index aebfe3da2e1b..231128065cd2 100644 --- a/src/Mvc/Mvc.TagHelpers/src/LabelTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/LabelTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.TagHelpers/src/LinkTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/LinkTagHelper.cs index 4f1e655785db..16c5d9838d4e 100644 --- a/src/Mvc/Mvc.TagHelpers/src/LinkTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/LinkTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/ModeAttributesOfT.cs b/src/Mvc/Mvc.TagHelpers/src/ModeAttributesOfT.cs index 6aafc88d8f8b..945c81ccd229 100644 --- a/src/Mvc/Mvc.TagHelpers/src/ModeAttributesOfT.cs +++ b/src/Mvc/Mvc.TagHelpers/src/ModeAttributesOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.TagHelpers { diff --git a/src/Mvc/Mvc.TagHelpers/src/MvcTagHelpersLoggerExtensions.cs b/src/Mvc/Mvc.TagHelpers/src/MvcTagHelpersLoggerExtensions.cs index 9cae27c52908..fd145d84a1bd 100644 --- a/src/Mvc/Mvc.TagHelpers/src/MvcTagHelpersLoggerExtensions.cs +++ b/src/Mvc/Mvc.TagHelpers/src/MvcTagHelpersLoggerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.Logging; diff --git a/src/Mvc/Mvc.TagHelpers/src/OptionTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/OptionTagHelper.cs index 1d8ac3555077..b28bdb3aa932 100644 --- a/src/Mvc/Mvc.TagHelpers/src/OptionTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/OptionTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/PartialTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/PartialTagHelper.cs index 4115c4e0f96a..ae1d35c8037e 100644 --- a/src/Mvc/Mvc.TagHelpers/src/PartialTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/PartialTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.TagHelpers/src/PersistComponentStateTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/PersistComponentStateTagHelper.cs index 215d96306b7a..0ccd9da96f8b 100644 --- a/src/Mvc/Mvc.TagHelpers/src/PersistComponentStateTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/PersistComponentStateTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.TagHelpers/src/PersistenceMode.cs b/src/Mvc/Mvc.TagHelpers/src/PersistenceMode.cs index 1bb73b90647b..ec50a2ebc527 100644 --- a/src/Mvc/Mvc.TagHelpers/src/PersistenceMode.cs +++ b/src/Mvc/Mvc.TagHelpers/src/PersistenceMode.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.TagHelpers { diff --git a/src/Mvc/Mvc.TagHelpers/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.TagHelpers/src/Properties/AssemblyInfo.cs index bfd89af65391..0cb5f694b041 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.TagHelpers/src/RenderAtEndOfFormTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/RenderAtEndOfFormTagHelper.cs index 193639bec3d7..7c4e7e7cd10b 100644 --- a/src/Mvc/Mvc.TagHelpers/src/RenderAtEndOfFormTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/RenderAtEndOfFormTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel; diff --git a/src/Mvc/Mvc.TagHelpers/src/Rendering/ValidationSummary.cs b/src/Mvc/Mvc.TagHelpers/src/Rendering/ValidationSummary.cs index 936e5c362757..98b8c45c8bec 100644 --- a/src/Mvc/Mvc.TagHelpers/src/Rendering/ValidationSummary.cs +++ b/src/Mvc/Mvc.TagHelpers/src/Rendering/ValidationSummary.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Rendering { diff --git a/src/Mvc/Mvc.TagHelpers/src/ScriptTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/ScriptTagHelper.cs index 728e64caa0dc..d49220988580 100644 --- a/src/Mvc/Mvc.TagHelpers/src/ScriptTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/ScriptTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.TagHelpers/src/SelectTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/SelectTagHelper.cs index 0212d75eee4e..01c77ab261bf 100644 --- a/src/Mvc/Mvc.TagHelpers/src/SelectTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/SelectTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.TagHelpers/src/TagHelperOutputExtensions.cs b/src/Mvc/Mvc.TagHelpers/src/TagHelperOutputExtensions.cs index 09d73843f541..5d493e69e11f 100644 --- a/src/Mvc/Mvc.TagHelpers/src/TagHelperOutputExtensions.cs +++ b/src/Mvc/Mvc.TagHelpers/src/TagHelperOutputExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/TextAreaTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/TextAreaTagHelper.cs index f57f8ad0e47a..f292e4e3bbe6 100644 --- a/src/Mvc/Mvc.TagHelpers/src/TextAreaTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/TextAreaTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/ValidationMessageTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/ValidationMessageTagHelper.cs index 7949148f0269..8c44e7ec7f44 100644 --- a/src/Mvc/Mvc.TagHelpers/src/ValidationMessageTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/ValidationMessageTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/src/ValidationSummaryTagHelper.cs b/src/Mvc/Mvc.TagHelpers/src/ValidationSummaryTagHelper.cs index e5c39fa59ae6..d0c8ee066ae3 100644 --- a/src/Mvc/Mvc.TagHelpers/src/ValidationSummaryTagHelper.cs +++ b/src/Mvc/Mvc.TagHelpers/src/ValidationSummaryTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.TagHelpers/test/AnchorTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/AnchorTagHelperTest.cs index c3cdb498f240..c38408cb6caf 100644 --- a/src/Mvc/Mvc.TagHelpers/test/AnchorTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/AnchorTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/AttributeMatcherTest.cs b/src/Mvc/Mvc.TagHelpers/test/AttributeMatcherTest.cs index e9ebf0decf66..e99d543a9ef4 100644 --- a/src/Mvc/Mvc.TagHelpers/test/AttributeMatcherTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/AttributeMatcherTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/CacheTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/CacheTagHelperTest.cs index 525f1107f289..9c5a41426425 100644 --- a/src/Mvc/Mvc.TagHelpers/test/CacheTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/CacheTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/CacheTagKeyTest.cs b/src/Mvc/Mvc.TagHelpers/test/CacheTagKeyTest.cs index 859a4f34ab77..377556306d03 100644 --- a/src/Mvc/Mvc.TagHelpers/test/CacheTagKeyTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/CacheTagKeyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/ComponentTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/ComponentTagHelperTest.cs index 1fad8c304b83..1b6b9a81387a 100644 --- a/src/Mvc/Mvc.TagHelpers/test/ComponentTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/ComponentTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/DefaultFileVersionProviderTest.cs b/src/Mvc/Mvc.TagHelpers/test/DefaultFileVersionProviderTest.cs index c13805fd3d70..a9788fba9967 100644 --- a/src/Mvc/Mvc.TagHelpers/test/DefaultFileVersionProviderTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/DefaultFileVersionProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/Mvc.TagHelpers/test/DefaultTagHelperActivatorTest.cs b/src/Mvc/Mvc.TagHelpers/test/DefaultTagHelperActivatorTest.cs index 8447e51d4107..d7a04c4c19cd 100644 --- a/src/Mvc/Mvc.TagHelpers/test/DefaultTagHelperActivatorTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/DefaultTagHelperActivatorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text.Encodings.Web; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/Mvc.TagHelpers/test/DistributedCacheTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/DistributedCacheTagHelperTest.cs index 410e4f149c47..8b020a7e8fad 100644 --- a/src/Mvc/Mvc.TagHelpers/test/DistributedCacheTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/DistributedCacheTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/EnvironmentTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/EnvironmentTagHelperTest.cs index cdf4eb31bdff..21a95ae2ab05 100644 --- a/src/Mvc/Mvc.TagHelpers/test/EnvironmentTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/EnvironmentTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/FormActionTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/FormActionTagHelperTest.cs index 21773cae67e4..3550366e030d 100644 --- a/src/Mvc/Mvc.TagHelpers/test/FormActionTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/FormActionTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/FormTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/FormTagHelperTest.cs index 903a3354510c..de9f33c0f6da 100644 --- a/src/Mvc/Mvc.TagHelpers/test/FormTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/FormTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/GlobbingUrlBuilderTest.cs b/src/Mvc/Mvc.TagHelpers/test/GlobbingUrlBuilderTest.cs index 224e82b83e1e..70284ffa9011 100644 --- a/src/Mvc/Mvc.TagHelpers/test/GlobbingUrlBuilderTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/GlobbingUrlBuilderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/ImageTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/ImageTagHelperTest.cs index e31de4ed1174..e20fad6a3a47 100644 --- a/src/Mvc/Mvc.TagHelpers/test/ImageTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/ImageTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/InputTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/InputTagHelperTest.cs index 557454892b7c..e608a75f33cc 100644 --- a/src/Mvc/Mvc.TagHelpers/test/InputTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/InputTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/JavaScriptResourcesTest.cs b/src/Mvc/Mvc.TagHelpers/test/JavaScriptResourcesTest.cs index 1bf1456718ad..2e8d9a634837 100644 --- a/src/Mvc/Mvc.TagHelpers/test/JavaScriptResourcesTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/JavaScriptResourcesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.TagHelpers/test/LabelTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/LabelTagHelperTest.cs index 106af2e50c47..1708daf47b2e 100644 --- a/src/Mvc/Mvc.TagHelpers/test/LabelTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/LabelTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/LinkTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/LinkTagHelperTest.cs index a1ff4d41ab91..f91b8ee53807 100644 --- a/src/Mvc/Mvc.TagHelpers/test/LinkTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/LinkTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/OptionTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/OptionTagHelperTest.cs index 866429bacdd4..fc0d31f4a9a2 100644 --- a/src/Mvc/Mvc.TagHelpers/test/OptionTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/OptionTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.TagHelpers/test/PartialTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/PartialTagHelperTest.cs index 5ac74627c4cb..e67164434152 100644 --- a/src/Mvc/Mvc.TagHelpers/test/PartialTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/PartialTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/PersistComponentStateTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/PersistComponentStateTagHelperTest.cs index 5288180608e9..40ab053eace5 100644 --- a/src/Mvc/Mvc.TagHelpers/test/PersistComponentStateTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/PersistComponentStateTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/PrerenderComponentApplicationStoreTest.cs b/src/Mvc/Mvc.TagHelpers/test/PrerenderComponentApplicationStoreTest.cs index da2b16790ceb..e6002fe27b43 100644 --- a/src/Mvc/Mvc.TagHelpers/test/PrerenderComponentApplicationStoreTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/PrerenderComponentApplicationStoreTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/ProtectedPrerenderComponentApplicationStateTest.cs b/src/Mvc/Mvc.TagHelpers/test/ProtectedPrerenderComponentApplicationStateTest.cs index 9cc8e1f3e26d..83c0f7f2a5ae 100644 --- a/src/Mvc/Mvc.TagHelpers/test/ProtectedPrerenderComponentApplicationStateTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/ProtectedPrerenderComponentApplicationStateTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/RenderAtEndOfFormTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/RenderAtEndOfFormTagHelperTest.cs index 03304ab18a4c..d8965412c0c6 100644 --- a/src/Mvc/Mvc.TagHelpers/test/RenderAtEndOfFormTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/RenderAtEndOfFormTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.TagHelpers/test/ScriptTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/ScriptTagHelperTest.cs index ef93cd8ac27d..555feecc4223 100644 --- a/src/Mvc/Mvc.TagHelpers/test/ScriptTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/ScriptTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/SelectTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/SelectTagHelperTest.cs index 8584c3b9dcee..0904b73a719e 100644 --- a/src/Mvc/Mvc.TagHelpers/test/SelectTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/SelectTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.TagHelpers/test/TagHelperLogger.cs b/src/Mvc/Mvc.TagHelpers/test/TagHelperLogger.cs index 9e074fbffb7f..af438ffb6867 100644 --- a/src/Mvc/Mvc.TagHelpers/test/TagHelperLogger.cs +++ b/src/Mvc/Mvc.TagHelpers/test/TagHelperLogger.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/TagHelperOutputExtensionsTest.cs b/src/Mvc/Mvc.TagHelpers/test/TagHelperOutputExtensionsTest.cs index 8491d2c14298..ff51908a66cf 100644 --- a/src/Mvc/Mvc.TagHelpers/test/TagHelperOutputExtensionsTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/TagHelperOutputExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/TestableHtmlGenerator.cs b/src/Mvc/Mvc.TagHelpers/test/TestableHtmlGenerator.cs index 174240d203f6..6da0ccd8a2c7 100644 --- a/src/Mvc/Mvc.TagHelpers/test/TestableHtmlGenerator.cs +++ b/src/Mvc/Mvc.TagHelpers/test/TestableHtmlGenerator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/TextAreaTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/TextAreaTagHelperTest.cs index 98f32a805022..3f62557cc41a 100644 --- a/src/Mvc/Mvc.TagHelpers/test/TextAreaTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/TextAreaTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.TagHelpers/test/ValidationMessageTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/ValidationMessageTagHelperTest.cs index 1c919635be69..bb50cf187bd8 100644 --- a/src/Mvc/Mvc.TagHelpers/test/ValidationMessageTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/ValidationMessageTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/Mvc.TagHelpers/test/ValidationSummaryTagHelperTest.cs b/src/Mvc/Mvc.TagHelpers/test/ValidationSummaryTagHelperTest.cs index cba2243af436..49e3ed474a65 100644 --- a/src/Mvc/Mvc.TagHelpers/test/ValidationSummaryTagHelperTest.cs +++ b/src/Mvc/Mvc.TagHelpers/test/ValidationSummaryTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.Testing.Tasks/src/GenerateMvcTestManifestTask.cs b/src/Mvc/Mvc.Testing.Tasks/src/GenerateMvcTestManifestTask.cs index 505b8eb5e336..a3474c77d9be 100644 --- a/src/Mvc/Mvc.Testing.Tasks/src/GenerateMvcTestManifestTask.cs +++ b/src/Mvc/Mvc.Testing.Tasks/src/GenerateMvcTestManifestTask.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Testing/src/Handlers/CookieContainerHandler.cs b/src/Mvc/Mvc.Testing/src/Handlers/CookieContainerHandler.cs index 000e2214260b..a5c5d5b6b1d2 100644 --- a/src/Mvc/Mvc.Testing/src/Handlers/CookieContainerHandler.cs +++ b/src/Mvc/Mvc.Testing/src/Handlers/CookieContainerHandler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/Mvc.Testing/src/Handlers/RedirectHandler.cs b/src/Mvc/Mvc.Testing/src/Handlers/RedirectHandler.cs index 2d4f64d43863..2ae138be6d08 100644 --- a/src/Mvc/Mvc.Testing/src/Handlers/RedirectHandler.cs +++ b/src/Mvc/Mvc.Testing/src/Handlers/RedirectHandler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.Testing/src/WebApplicationFactory.cs b/src/Mvc/Mvc.Testing/src/WebApplicationFactory.cs index 8c1e50f35eb7..2411ec198233 100644 --- a/src/Mvc/Mvc.Testing/src/WebApplicationFactory.cs +++ b/src/Mvc/Mvc.Testing/src/WebApplicationFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Testing/src/WebApplicationFactoryClientOptions.cs b/src/Mvc/Mvc.Testing/src/WebApplicationFactoryClientOptions.cs index cfc024460379..9dc40234aa9e 100644 --- a/src/Mvc/Mvc.Testing/src/WebApplicationFactoryClientOptions.cs +++ b/src/Mvc/Mvc.Testing/src/WebApplicationFactoryClientOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.Testing/src/WebApplicationFactoryContentRootAttribute.cs b/src/Mvc/Mvc.Testing/src/WebApplicationFactoryContentRootAttribute.cs index 19faf8d7f1cf..039a75236834 100644 --- a/src/Mvc/Mvc.Testing/src/WebApplicationFactoryContentRootAttribute.cs +++ b/src/Mvc/Mvc.Testing/src/WebApplicationFactoryContentRootAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.ViewFeatures/src/AntiforgeryExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/AntiforgeryExtensions.cs index 6faa76a80523..e54c570ebcd4 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/AntiforgeryExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/AntiforgeryExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/src/AttributeDictionary.cs b/src/Mvc/Mvc.ViewFeatures/src/AttributeDictionary.cs index 0c55c80a4e6f..659243edbe09 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/AttributeDictionary.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/AttributeDictionary.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/AutoValidateAntiforgeryTokenAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/AutoValidateAntiforgeryTokenAttribute.cs index 8fc67240748d..dcca2448a232 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/AutoValidateAntiforgeryTokenAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/AutoValidateAntiforgeryTokenAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ArrayPoolBufferSource.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ArrayPoolBufferSource.cs index bbfbf724405b..e7c6cd6e99d8 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ArrayPoolBufferSource.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ArrayPoolBufferSource.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/CharArrayBufferSource.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/CharArrayBufferSource.cs index fa6ae6cbe950..e5d65c2ac03c 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/CharArrayBufferSource.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/CharArrayBufferSource.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ICharBufferSource.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ICharBufferSource.cs index 439aa46973b1..5513a5e1c831 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ICharBufferSource.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ICharBufferSource.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/IViewBufferScope.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/IViewBufferScope.cs index 6cb21ee10085..38bb6ede4cc9 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/IViewBufferScope.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/IViewBufferScope.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/MemoryPoolViewBufferScope.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/MemoryPoolViewBufferScope.cs index be686e5fe08c..7fd00f32b435 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/MemoryPoolViewBufferScope.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/MemoryPoolViewBufferScope.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/PagedBufferedTextWriter.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/PagedBufferedTextWriter.cs index 611a03f45c84..d93be0ef7393 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/PagedBufferedTextWriter.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/PagedBufferedTextWriter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/PagedCharBuffer.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/PagedCharBuffer.cs index 877a81910ce2..57b8da91ceaa 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/PagedCharBuffer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/PagedCharBuffer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBuffer.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBuffer.cs index de5964e46b7c..9a1b45e77889 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBuffer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBuffer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferPage.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferPage.cs index af360d9fcd69..268c1ba5173d 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferPage.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferPage.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferTextWriter.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferTextWriter.cs index 6eca8ddcb40e..8cd8ce92258c 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferTextWriter.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferTextWriter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferValue.cs b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferValue.cs index 4f2bd4bf8203..5639dcfc1987 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferValue.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Buffers/ViewBufferValue.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/src/CachedExpressionCompiler.cs b/src/Mvc/Mvc.ViewFeatures/src/CachedExpressionCompiler.cs index 03c0b31da9dc..f3d699379c87 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/CachedExpressionCompiler.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/CachedExpressionCompiler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Controller.cs b/src/Mvc/Mvc.ViewFeatures/src/Controller.cs index 0171f04797f5..89490804c639 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Controller.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Controller.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text.Json; diff --git a/src/Mvc/Mvc.ViewFeatures/src/CookieTempDataProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/CookieTempDataProvider.cs index ea4c9372f23e..bdde0303a01b 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/CookieTempDataProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/CookieTempDataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/CookieTempDataProviderOptions.cs b/src/Mvc/Mvc.ViewFeatures/src/CookieTempDataProviderOptions.cs index 952a0db75d9f..d244cb198287 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/CookieTempDataProviderOptions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/CookieTempDataProviderOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DefaultDisplayTemplates.cs b/src/Mvc/Mvc.ViewFeatures/src/DefaultDisplayTemplates.cs index d1671a248e85..e90797f6d099 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DefaultDisplayTemplates.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DefaultDisplayTemplates.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DefaultEditorTemplates.cs b/src/Mvc/Mvc.ViewFeatures/src/DefaultEditorTemplates.cs index 847bd5d34e5a..670c610a3d03 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DefaultEditorTemplates.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DefaultEditorTemplates.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGenerator.cs b/src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGenerator.cs index b90e8af4a4fb..19d901be6692 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGenerator.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGenerator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGeneratorExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGeneratorExtensions.cs index 9847421752d3..a31b59abfd1c 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGeneratorExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DefaultHtmlGeneratorExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DefaultValidationHtmlAttributeProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/DefaultValidationHtmlAttributeProvider.cs index 1b2d5d1b7ad6..1a6549584179 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DefaultValidationHtmlAttributeProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DefaultValidationHtmlAttributeProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewFeaturesMvcBuilderExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewFeaturesMvcBuilderExtensions.cs index 5e1ebc436487..2ac8fcbf328b 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewFeaturesMvcBuilderExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewFeaturesMvcBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensions.cs index d98679b5e865..6887c8a6baa3 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewOptionsSetup.cs b/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewOptionsSetup.cs index 29548e907de0..3661ada7409b 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewOptionsSetup.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/MvcViewOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/TempDataMvcOptionsSetup.cs b/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/TempDataMvcOptionsSetup.cs index 4f6d7360e18e..9804c527acc6 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/TempDataMvcOptionsSetup.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DependencyInjection/TempDataMvcOptionsSetup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ViewFeatures; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Diagnostics/MvcDiagnostics.cs b/src/Mvc/Mvc.ViewFeatures/src/Diagnostics/MvcDiagnostics.cs index 11aeb52b43a6..6e545e2cdd38 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Diagnostics/MvcDiagnostics.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Diagnostics/MvcDiagnostics.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/DynamicViewData.cs b/src/Mvc/Mvc.ViewFeatures/src/DynamicViewData.cs index 9068baec2edb..a767ff88110d 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/DynamicViewData.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/DynamicViewData.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ExpressionHelper.cs b/src/Mvc/Mvc.ViewFeatures/src/ExpressionHelper.cs index 8ec2fdaf4de1..f749bccda289 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ExpressionHelper.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ExpressionHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ExpressionMetadataProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/ExpressionMetadataProvider.cs index ae5aeba14bed..00c7b15fbc49 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ExpressionMetadataProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ExpressionMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/AutoValidateAntiforgeryTokenAuthorizationFilter.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/AutoValidateAntiforgeryTokenAuthorizationFilter.cs index 80cbd6b3f610..efe8f8ea437d 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/AutoValidateAntiforgeryTokenAuthorizationFilter.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/AutoValidateAntiforgeryTokenAuthorizationFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Antiforgery; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerSaveTempDataPropertyFilter.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerSaveTempDataPropertyFilter.cs index bd837090548a..7e0aebe6ac86 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerSaveTempDataPropertyFilter.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerSaveTempDataPropertyFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerSaveTempDataPropertyFilterFactory.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerSaveTempDataPropertyFilterFactory.cs index 3ee6b4b7186f..7f2439694801 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerSaveTempDataPropertyFilterFactory.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerSaveTempDataPropertyFilterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerViewDataAttributeFilter.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerViewDataAttributeFilter.cs index 7a37a43663a2..fe135e8cc873 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerViewDataAttributeFilter.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerViewDataAttributeFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerViewDataAttributeFilterFactory.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerViewDataAttributeFilterFactory.cs index 9293aca872b7..3fa22c5e366f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerViewDataAttributeFilterFactory.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/ControllerViewDataAttributeFilterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/ISaveTempDataCallback.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/ISaveTempDataCallback.cs index c331e6064b5f..c8a940d765d3 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/ISaveTempDataCallback.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/ISaveTempDataCallback.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/IViewDataValuesProviderFeature.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/IViewDataValuesProviderFeature.cs index 1908b0cfef45..fb664a36c368 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/IViewDataValuesProviderFeature.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/IViewDataValuesProviderFeature.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Filters { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/LifecycleProperty.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/LifecycleProperty.cs index f6cfd08eaa9e..1b1e1067027f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/LifecycleProperty.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/LifecycleProperty.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/SaveTempDataFilter.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/SaveTempDataFilter.cs index ff677f68f530..092d45a53465 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/SaveTempDataFilter.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/SaveTempDataFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/SaveTempDataPropertyFilterBase.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/SaveTempDataPropertyFilterBase.cs index e89f72319b28..d8afb5d07973 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/SaveTempDataPropertyFilterBase.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/SaveTempDataPropertyFilterBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/TempDataApplicationModelProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/TempDataApplicationModelProvider.cs index 59ec9926ad1f..0221e13d2362 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/TempDataApplicationModelProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/TempDataApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApplicationModels; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/ValidateAntiforgeryTokenAuthorizationFilter.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/ValidateAntiforgeryTokenAuthorizationFilter.cs index bad3aabeed47..f1791485de4c 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/ValidateAntiforgeryTokenAuthorizationFilter.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/ValidateAntiforgeryTokenAuthorizationFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/ViewDataAttributeApplicationModelProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/ViewDataAttributeApplicationModelProvider.cs index 7995e5d345a6..c4956292bebe 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/ViewDataAttributeApplicationModelProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/ViewDataAttributeApplicationModelProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApplicationModels; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Filters/ViewDataAttributePropertyProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/Filters/ViewDataAttributePropertyProvider.cs index 102033ca9cb4..7521e67bf7e0 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Filters/ViewDataAttributePropertyProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Filters/ViewDataAttributePropertyProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/FormContext.cs b/src/Mvc/Mvc.ViewFeatures/src/FormContext.cs index 4245044e29ac..30db6b8c8325 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/FormContext.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/FormContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/FormatWeekHelper.cs b/src/Mvc/Mvc.ViewFeatures/src/FormatWeekHelper.cs index 5ed508cd7d08..2f02ddb27295 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/FormatWeekHelper.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/FormatWeekHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.ViewFeatures/src/HtmlAttributePropertyHelper.cs b/src/Mvc/Mvc.ViewFeatures/src/HtmlAttributePropertyHelper.cs index 9f9161293d07..c98b387f6240 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/HtmlAttributePropertyHelper.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/HtmlAttributePropertyHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.ViewFeatures/src/HtmlHelper.cs b/src/Mvc/Mvc.ViewFeatures/src/HtmlHelper.cs index 0f4c03390f20..616928296660 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/HtmlHelper.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/HtmlHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/HtmlHelperOfT.cs b/src/Mvc/Mvc.ViewFeatures/src/HtmlHelperOfT.cs index 07c030bb2a51..47ba7a5d6e1e 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/HtmlHelperOfT.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/HtmlHelperOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/HtmlHelperOptions.cs b/src/Mvc/Mvc.ViewFeatures/src/HtmlHelperOptions.cs index f40bdf93f697..e76e083b7b3c 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/HtmlHelperOptions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/HtmlHelperOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.ViewFeatures/src/IAntiforgeryPolicy.cs b/src/Mvc/Mvc.ViewFeatures/src/IAntiforgeryPolicy.cs index ef925a6383e2..891d8666f0ce 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/IAntiforgeryPolicy.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/IAntiforgeryPolicy.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.ViewFeatures/src/IFileVersionProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/IFileVersionProvider.cs index 1aa918c30fec..e6b5757e7533 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/IFileVersionProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/IFileVersionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.ViewFeatures/src/IHtmlGenerator.cs b/src/Mvc/Mvc.ViewFeatures/src/IHtmlGenerator.cs index 1993a97ee3fc..eecdb63defce 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/IHtmlGenerator.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/IHtmlGenerator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.ViewFeatures/src/IModelExpressionProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/IModelExpressionProvider.cs index 93f6002eb014..1d8c26fb45f9 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/IModelExpressionProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/IModelExpressionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ITempDataDictionary.cs b/src/Mvc/Mvc.ViewFeatures/src/ITempDataDictionary.cs index 3b40c43407c6..674de2e0c80c 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ITempDataDictionary.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ITempDataDictionary.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ITempDataDictionaryFactory.cs b/src/Mvc/Mvc.ViewFeatures/src/ITempDataDictionaryFactory.cs index 6513695e5b29..6a470ca1d8e8 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ITempDataDictionaryFactory.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ITempDataDictionaryFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ITempDataProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/ITempDataProvider.cs index 2ebfa3eb9653..4f701cc78ed6 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ITempDataProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ITempDataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.ViewFeatures/src/IViewComponentHelper.cs b/src/Mvc/Mvc.ViewFeatures/src/IViewComponentHelper.cs index 60c2552ebc88..6d8c2f454df4 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/IViewComponentHelper.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/IViewComponentHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/IViewComponentResult.cs b/src/Mvc/Mvc.ViewFeatures/src/IViewComponentResult.cs index 3ecce8ca7a51..dae0607a2638 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/IViewComponentResult.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/IViewComponentResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.ViewComponents; diff --git a/src/Mvc/Mvc.ViewFeatures/src/IViewContextAware.cs b/src/Mvc/Mvc.ViewFeatures/src/IViewContextAware.cs index 21e2d9d43ef7..a3e62cb8681f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/IViewContextAware.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/IViewContextAware.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.ViewFeatures/src/IgnoreAntiforgeryTokenAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/IgnoreAntiforgeryTokenAttribute.cs index e07516f3dd62..fdaeaa218ca7 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/IgnoreAntiforgeryTokenAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/IgnoreAntiforgeryTokenAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/ArrayBufferWriter.cs b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/ArrayBufferWriter.cs index da8f38aa2f79..bb3350c6a7b2 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/ArrayBufferWriter.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/ArrayBufferWriter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/ComponentHtmlContent.cs b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/ComponentHtmlContent.cs index 205974002041..dd487cac1da5 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/ComponentHtmlContent.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/ComponentHtmlContent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/DefaultTempDataSerializer.cs b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/DefaultTempDataSerializer.cs index 2f2af39b1b55..9d94298ce72d 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/DefaultTempDataSerializer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/DefaultTempDataSerializer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/HttpNavigationManager.cs b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/HttpNavigationManager.cs index 56d881387782..9043b6ba3695 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/HttpNavigationManager.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/HttpNavigationManager.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Routing; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/TempDataSerializer.cs b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/TempDataSerializer.cs index ce8c1606deda..a6a0388db1cf 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/TempDataSerializer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Infrastructure/TempDataSerializer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/InputType.cs b/src/Mvc/Mvc.ViewFeatures/src/InputType.cs index 7709d70ebc2c..c7a03870e9d4 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/InputType.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/InputType.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewFeatures { diff --git a/src/Mvc/Mvc.ViewFeatures/src/LambdaExpressionComparer.cs b/src/Mvc/Mvc.ViewFeatures/src/LambdaExpressionComparer.cs index e3448c15c0fd..d389fa0890c0 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/LambdaExpressionComparer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/LambdaExpressionComparer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/MemberExpressionCacheKey.cs b/src/Mvc/Mvc.ViewFeatures/src/MemberExpressionCacheKey.cs index 8f8b6679837a..2550abdb4a7f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/MemberExpressionCacheKey.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/MemberExpressionCacheKey.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/MemberExpressionCacheKeyComparer.cs b/src/Mvc/Mvc.ViewFeatures/src/MemberExpressionCacheKeyComparer.cs index b1586e71ba03..17dbcdbf1666 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/MemberExpressionCacheKeyComparer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/MemberExpressionCacheKeyComparer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ModelExplorer.cs b/src/Mvc/Mvc.ViewFeatures/src/ModelExplorer.cs index 9b38ea9d4ac9..3687884201f2 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ModelExplorer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ModelExplorer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ModelExplorerExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/ModelExplorerExtensions.cs index c1eaa04c99ad..15888ed81d05 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ModelExplorerExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ModelExplorerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ModelExpression.cs b/src/Mvc/Mvc.ViewFeatures/src/ModelExpression.cs index 73089f52128b..9ba8d0c8e9e8 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ModelExpression.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ModelExpression.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ModelExpressionProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/ModelExpressionProvider.cs index 10b0f545517a..b52ef168d1bc 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ModelExpressionProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ModelExpressionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ModelMetadataProviderExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/ModelMetadataProviderExtensions.cs index e20d5855a720..748ccf5ec4b4 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ModelMetadataProviderExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ModelMetadataProviderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ModelStateDictionaryExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/ModelStateDictionaryExtensions.cs index b075c8881864..4fe19891f9c5 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ModelStateDictionaryExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ModelStateDictionaryExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/src/MvcViewFeaturesDiagnosticListenerExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/MvcViewFeaturesDiagnosticListenerExtensions.cs index bebdaf0ae6f5..1e0b0e072db9 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/MvcViewFeaturesDiagnosticListenerExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/MvcViewFeaturesDiagnosticListenerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/MvcViewFeaturesLoggerExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/MvcViewFeaturesLoggerExtensions.cs index 19671f344fd4..5f28f367ddb0 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/MvcViewFeaturesLoggerExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/MvcViewFeaturesLoggerExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/MvcViewOptions.cs b/src/Mvc/Mvc.ViewFeatures/src/MvcViewOptions.cs index 887fc3397d63..85f7c161015e 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/MvcViewOptions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/MvcViewOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/NameAndIdProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/NameAndIdProvider.cs index c13e46cf23fd..fff31fd91893 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/NameAndIdProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/NameAndIdProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.ViewFeatures/src/NullView.cs b/src/Mvc/Mvc.ViewFeatures/src/NullView.cs index 77d595e52299..7384b4c86203 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/NullView.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/NullView.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/PageRemoteAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/PageRemoteAttribute.cs index 9d8978c9be5d..c3cd33626d44 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/PageRemoteAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/PageRemoteAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; diff --git a/src/Mvc/Mvc.ViewFeatures/src/PartialViewResult.cs b/src/Mvc/Mvc.ViewFeatures/src/PartialViewResult.cs index 3213e16c28fd..4a5381a2ed15 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/PartialViewResult.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/PartialViewResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/PartialViewResultExecutor.cs b/src/Mvc/Mvc.ViewFeatures/src/PartialViewResultExecutor.cs index 95b68df50660..dd89ce7da245 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/PartialViewResultExecutor.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/PartialViewResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.ViewFeatures/src/Properties/AssemblyInfo.cs index b677034d2daf..a6b55006816a 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/ComponentRenderedText.cs b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/ComponentRenderedText.cs index 92274e38c347..56251954fbd1 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/ComponentRenderedText.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/ComponentRenderedText.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/ComponentRenderer.cs b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/ComponentRenderer.cs index c6db65e98af3..30f2118cebfb 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/ComponentRenderer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/ComponentRenderer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/HtmlRenderer.cs b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/HtmlRenderer.cs index 9fedaf9e3a96..a432f33aec5f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/HtmlRenderer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/HtmlRenderer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/IComponentRenderer.cs b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/IComponentRenderer.cs index 90df64f9f764..b572ef6c22ed 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/IComponentRenderer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/IComponentRenderer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/StaticComponentRenderer.cs b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/StaticComponentRenderer.cs index 8f620d4c5487..1bcb10919fe8 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/StaticComponentRenderer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/StaticComponentRenderer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/UnsupportedJavaScriptRuntime.cs b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/UnsupportedJavaScriptRuntime.cs index da8402029475..d44f70c57af4 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/UnsupportedJavaScriptRuntime.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/UnsupportedJavaScriptRuntime.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/UnsupportedNavigationInterception.cs b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/UnsupportedNavigationInterception.cs index 7c01ae1aa3e5..f2fbdafae87d 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/UnsupportedNavigationInterception.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RazorComponents/UnsupportedNavigationInterception.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RemoteAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/RemoteAttribute.cs index 574f11cf9164..20b62209ff65 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RemoteAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RemoteAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RemoteAttributeBase.cs b/src/Mvc/Mvc.ViewFeatures/src/RemoteAttributeBase.cs index b935c0f6f1b3..c7d6f2d87d02 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RemoteAttributeBase.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RemoteAttributeBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/RenderMode.cs b/src/Mvc/Mvc.ViewFeatures/src/RenderMode.cs index d0422753cb3e..765ebc012575 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/RenderMode.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/RenderMode.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Rendering { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/CheckBoxHiddenInputRenderMode.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/CheckBoxHiddenInputRenderMode.cs index 3d89c44d8028..12ca81bdb8ac 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/CheckBoxHiddenInputRenderMode.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/CheckBoxHiddenInputRenderMode.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Rendering { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/FormMethod.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/FormMethod.cs index a1822d6fad7b..0996c30853fe 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/FormMethod.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/FormMethod.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Rendering { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/Html5DateRenderingMode.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/Html5DateRenderingMode.cs index 60eac82a914e..e27a3383e1a4 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/Html5DateRenderingMode.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/Html5DateRenderingMode.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Rendering { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperComponentExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperComponentExtensions.cs index 16f021574aff..006960977b94 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperComponentExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperComponentExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperDisplayExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperDisplayExtensions.cs index 4bb28b35d6e4..94247b5cbdb2 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperDisplayExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperDisplayExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperDisplayNameExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperDisplayNameExtensions.cs index 21aec446b65a..64cebb435fb4 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperDisplayNameExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperDisplayNameExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperEditorExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperEditorExtensions.cs index 645d75789b40..e14613f53df5 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperEditorExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperEditorExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperFormExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperFormExtensions.cs index 3a354679c4ec..13b694cd4e3b 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperFormExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperFormExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperInputExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperInputExtensions.cs index 6afc1148bcf4..25a216ea953c 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperInputExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperInputExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperLabelExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperLabelExtensions.cs index fc66fc420b35..40b0e94e285a 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperLabelExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperLabelExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperLinkExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperLinkExtensions.cs index aab8bc53fa3f..5b1f1c6348e2 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperLinkExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperLinkExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperNameExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperNameExtensions.cs index 7ca12fa98b1a..ef218bcf0aff 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperNameExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperNameExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperPartialExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperPartialExtensions.cs index ff51c6cfd62f..041496420461 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperPartialExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperPartialExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperSelectExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperSelectExtensions.cs index 884b964102f8..4a8089a6f3c4 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperSelectExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperSelectExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperValidationExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperValidationExtensions.cs index 956aa0d9ca86..1ab680da11fb 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperValidationExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperValidationExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperValueExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperValueExtensions.cs index 8def65a53c82..ac37a5e6e4a7 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperValueExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/HtmlHelperValueExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/IHtmlHelper.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/IHtmlHelper.cs index 357d429c9402..244453674a50 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/IHtmlHelper.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/IHtmlHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/IHtmlHelperOfT.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/IHtmlHelperOfT.cs index df4d14d95df0..3e5b03b368ce 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/IHtmlHelperOfT.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/IHtmlHelperOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/IJsonHelper.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/IJsonHelper.cs index 120a54583aed..e531dbad4c4f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/IJsonHelper.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/IJsonHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/MultiSelectList.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/MultiSelectList.cs index a10ea3c41e70..aad67ccd3dcb 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/MultiSelectList.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/MultiSelectList.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/MvcForm.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/MvcForm.cs index 32d90b235658..4ef31653516a 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/MvcForm.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/MvcForm.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text.Encodings.Web; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectList.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectList.cs index 4d1f441028df..37d198124e52 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectList.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectList.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectListGroup.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectListGroup.cs index 1d0db3915496..4b5a94483fb8 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectListGroup.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectListGroup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Rendering { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectListItem.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectListItem.cs index 4735b973c88a..47613c7933f0 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectListItem.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/SelectListItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Rendering { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/SystemTextJsonHelper.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/SystemTextJsonHelper.cs index c2c3730b655b..2efeac8bffc6 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/SystemTextJsonHelper.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/SystemTextJsonHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text.Encodings.Web; using System.Text.Json; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/TagBuilder.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/TagBuilder.cs index bfec077a4d13..0cce02e4a6cb 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/TagBuilder.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/TagBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/TagRenderMode.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/TagRenderMode.cs index f6eaa5107390..cb94267edea0 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/TagRenderMode.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/TagRenderMode.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.Rendering { diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/ViewComponentHelperExtensions.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/ViewComponentHelperExtensions.cs index d973a8a5eb66..7801a3210c9c 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/ViewComponentHelperExtensions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/ViewComponentHelperExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/Rendering/ViewContext.cs b/src/Mvc/Mvc.ViewFeatures/src/Rendering/ViewContext.cs index 4f13f3b5b412..8eb7001a9628 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/Rendering/ViewContext.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/Rendering/ViewContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/SaveTempDataAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/SaveTempDataAttribute.cs index 6736d17b1374..5274e74b9436 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/SaveTempDataAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/SaveTempDataAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ServerComponentInvocationSequence.cs b/src/Mvc/Mvc.ViewFeatures/src/ServerComponentInvocationSequence.cs index 5227352d18a4..7f3adabacd71 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ServerComponentInvocationSequence.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ServerComponentInvocationSequence.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Security.Cryptography; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ServerComponentSerializer.cs b/src/Mvc/Mvc.ViewFeatures/src/ServerComponentSerializer.cs index bbeb45d36dad..39ef7385b6ae 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ServerComponentSerializer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ServerComponentSerializer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/SessionStateTempDataProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/SessionStateTempDataProvider.cs index f6835673d591..30580a801d22 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/SessionStateTempDataProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/SessionStateTempDataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/SkipStatusCodePagesAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/SkipStatusCodePagesAttribute.cs index bfc644764f21..c2c47347bdc0 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/SkipStatusCodePagesAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/SkipStatusCodePagesAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/StringHtmlContent.cs b/src/Mvc/Mvc.ViewFeatures/src/StringHtmlContent.cs index 38715b89fd58..9f37c040c811 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/StringHtmlContent.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/StringHtmlContent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/TempDataAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/TempDataAttribute.cs index e4e6e5c74733..1e88c7f15734 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/TempDataAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/TempDataAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ViewFeatures; diff --git a/src/Mvc/Mvc.ViewFeatures/src/TempDataDictionary.cs b/src/Mvc/Mvc.ViewFeatures/src/TempDataDictionary.cs index 20a12f9c62ea..2b6d121df556 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/TempDataDictionary.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/TempDataDictionary.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/TempDataDictionaryFactory.cs b/src/Mvc/Mvc.ViewFeatures/src/TempDataDictionaryFactory.cs index b1138b02dbf9..0c8128042482 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/TempDataDictionaryFactory.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/TempDataDictionaryFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.ViewFeatures/src/TemplateBuilder.cs b/src/Mvc/Mvc.ViewFeatures/src/TemplateBuilder.cs index 405f22487850..02c6f172c61b 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/TemplateBuilder.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/TemplateBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/TemplateInfo.cs b/src/Mvc/Mvc.ViewFeatures/src/TemplateInfo.cs index 43a9b9e33366..2e589eda7921 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/TemplateInfo.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/TemplateInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/TemplateRenderer.cs b/src/Mvc/Mvc.ViewFeatures/src/TemplateRenderer.cs index 2d8442ecb9dc..82ba50651249 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/TemplateRenderer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/TemplateRenderer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/TryGetValueDelegate.cs b/src/Mvc/Mvc.ViewFeatures/src/TryGetValueDelegate.cs index a9be5af28492..029c63250abb 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/TryGetValueDelegate.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/TryGetValueDelegate.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewFeatures { diff --git a/src/Mvc/Mvc.ViewFeatures/src/TryGetValueProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/TryGetValueProvider.cs index 939757ef9368..d43d9c1b85f9 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/TryGetValueProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/TryGetValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ValidateAntiForgeryTokenAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/ValidateAntiForgeryTokenAttribute.cs index cfdc6e14c86c..efc41e75a358 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ValidateAntiForgeryTokenAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ValidateAntiForgeryTokenAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ValidationHelpers.cs b/src/Mvc/Mvc.ViewFeatures/src/ValidationHelpers.cs index 97d45a2ba2e3..26d49578d10f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ValidationHelpers.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ValidationHelpers.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ValidationHtmlAttributeProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/ValidationHtmlAttributeProvider.cs index 75ce264ed63d..a2b203eb72c3 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ValidationHtmlAttributeProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ValidationHtmlAttributeProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponent.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponent.cs index df9d17e5b972..d5224208d448 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponent.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Security.Claims; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponentAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponentAttribute.cs index 44e701dfaf74..14a11379974b 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponentAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponentAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResult.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResult.cs index f4d2385ea5a1..95e709ba6562 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResult.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResultExecutor.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResultExecutor.cs index 0dc7618a593c..6ab79926a516 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResultExecutor.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponentResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ContentViewComponentResult.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ContentViewComponentResult.cs index 3f9318967857..07b12207fd8d 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ContentViewComponentResult.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ContentViewComponentResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentActivator.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentActivator.cs index 3075384c9356..371e7f2fc63f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentActivator.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentDescriptorCollectionProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentDescriptorCollectionProvider.cs index 64ab00cda95e..ac350177ba2f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentDescriptorCollectionProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentDescriptorCollectionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentDescriptorProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentDescriptorProvider.cs index 55c8313b6d7b..e0c5d3b9a254 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentDescriptorProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentDescriptorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentFactory.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentFactory.cs index d75a463a023b..567c5901a9d8 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentFactory.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentHelper.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentHelper.cs index d446a6c172f5..75ab6a757a35 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentHelper.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentInvoker.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentInvoker.cs index a2f3e2ae98b7..f7dc0c60ef8d 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentInvoker.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentInvoker.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentInvokerFactory.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentInvokerFactory.cs index dc9a02161b19..f164e31f9699 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentInvokerFactory.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentInvokerFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentSelector.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentSelector.cs index 18be71ebb135..b6f44639cde0 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentSelector.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/DefaultViewComponentSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/HtmlContentViewComponentResult.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/HtmlContentViewComponentResult.cs index e13faea8c8f7..4f4155102a09 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/HtmlContentViewComponentResult.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/HtmlContentViewComponentResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentActivator.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentActivator.cs index fe3c3360b822..af5dcb1157f5 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentActivator.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentDescriptorCollectionProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentDescriptorCollectionProvider.cs index b34927b81498..43c5b327a5ea 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentDescriptorCollectionProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentDescriptorCollectionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewComponents { diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentDescriptorProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentDescriptorProvider.cs index 19555e0d3018..c65d88fd35ec 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentDescriptorProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentDescriptorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentFactory.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentFactory.cs index 8bdefd54f8ab..8ea19f589cc3 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentFactory.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentInvoker.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentInvoker.cs index 02ef85421e26..a41840e85ea2 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentInvoker.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentInvoker.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentInvokerFactory.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentInvokerFactory.cs index 077fe5d65891..4d9df56adc2f 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentInvokerFactory.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentInvokerFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewComponents { diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentSelector.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentSelector.cs index a2cdc8338fa9..0fa2708ffeda 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentSelector.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/IViewComponentSelector.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewComponents { diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ServiceBasedViewComponentActivator.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ServiceBasedViewComponentActivator.cs index deb26a9e4431..9bb6ad299b01 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ServiceBasedViewComponentActivator.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ServiceBasedViewComponentActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentContext.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentContext.cs index 32e4fbd33820..7bdba9bf0970 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentContext.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentContextAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentContextAttribute.cs index aa70e1356977..27eafe81970b 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentContextAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentContextAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentConventions.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentConventions.cs index b50f80a56eb1..e7c950998b9e 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentConventions.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentConventions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentDescriptor.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentDescriptor.cs index cc7578de77c9..1d7105a3b549 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentDescriptor.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentDescriptorCollection.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentDescriptorCollection.cs index 0f8d6e14d7f9..77789707ab93 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentDescriptorCollection.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentDescriptorCollection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentFeature.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentFeature.cs index 6abb947f21a9..a9945be3c0a3 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentFeature.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentFeature.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Reflection; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentFeatureProvider.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentFeatureProvider.cs index eb953fb5afb2..777821bdf38e 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentFeatureProvider.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentFeatureProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentInvokerCache.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentInvokerCache.cs index fe5168a63ce1..05a53f018479 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentInvokerCache.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewComponentInvokerCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewViewComponentResult.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewViewComponentResult.cs index e9196c5a183b..8b075c9e4fdd 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewViewComponentResult.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewComponents/ViewViewComponentResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewContextAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewContextAttribute.cs index c266d078731f..72074d260756 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewContextAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewContextAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewDataAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewDataAttribute.cs index e9b4c84aa29e..abca27d508b3 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewDataAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewDataAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ViewFeatures; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionary.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionary.cs index d67e24ac48f5..b2d38ef96f87 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionary.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionary.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryAttribute.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryAttribute.cs index 578e3c04a14e..67c4f846f7df 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryAttribute.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryControllerPropertyActivator.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryControllerPropertyActivator.cs index b206303cdcc3..45659592da63 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryControllerPropertyActivator.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryControllerPropertyActivator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryFactory.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryFactory.cs index 9fd5150cfb25..16c0f7f6959a 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryFactory.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryOfT.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryOfT.cs index 54a51f04cbb3..9c3b85357dcd 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryOfT.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewDataDictionaryOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewDataEvaluator.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewDataEvaluator.cs index ce4501f5a162..adc424fa9d8e 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewDataEvaluator.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewDataEvaluator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewDataInfo.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewDataInfo.cs index 69e3155c3ec3..4043a2b9bda6 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewDataInfo.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewDataInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/CompositeViewEngine.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/CompositeViewEngine.cs index 5771f6a37d5c..6ebff4c70ee7 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/CompositeViewEngine.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/CompositeViewEngine.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/ICompositeViewEngine.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/ICompositeViewEngine.cs index 053edca3dd6b..affd699d09aa 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/ICompositeViewEngine.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/ICompositeViewEngine.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/IView.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/IView.cs index 165b577170ec..8c32f2b16bed 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/IView.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/IView.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/IViewEngine.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/IViewEngine.cs index f6f5c93cc72c..1929d2eb96fd 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/IViewEngine.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/IViewEngine.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewEngines { diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/ViewEngineResult.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/ViewEngineResult.cs index 472f5220cc75..e9646f8b021c 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/ViewEngineResult.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewEngines/ViewEngineResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewExecutor.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewExecutor.cs index 3fb9a54b92da..0f623641147b 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewExecutor.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewResult.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewResult.cs index d99aaefa0d1e..438bcf6462f8 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewResult.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/src/ViewResultExecutor.cs b/src/Mvc/Mvc.ViewFeatures/src/ViewResultExecutor.cs index 69b8750e2fd6..0a16bbce2980 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/ViewResultExecutor.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/ViewResultExecutor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/src/WebAssemblyComponentSerializer.cs b/src/Mvc/Mvc.ViewFeatures/src/WebAssemblyComponentSerializer.cs index 5f8bf440620a..bab55be9641b 100644 --- a/src/Mvc/Mvc.ViewFeatures/src/WebAssemblyComponentSerializer.cs +++ b/src/Mvc/Mvc.ViewFeatures/src/WebAssemblyComponentSerializer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/AntiforgeryExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/AntiforgeryExtensionsTest.cs index 9123aeed3e6f..3f2e1101f158 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/AntiforgeryExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/AntiforgeryExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Antiforgery; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.ViewFeatures/test/AttributeDictionaryTest.cs b/src/Mvc/Mvc.ViewFeatures/test/AttributeDictionaryTest.cs index 93ae890858fb..6cbb59aac3b9 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/AttributeDictionaryTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/AttributeDictionaryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Buffers/PagedBufferedTextWriterTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Buffers/PagedBufferedTextWriterTest.cs index cd96649e92f4..937f7f0e797b 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Buffers/PagedBufferedTextWriterTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Buffers/PagedBufferedTextWriterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Buffers/PagedCharBufferTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Buffers/PagedCharBufferTest.cs index 8a10564537de..00ad30662e11 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Buffers/PagedCharBufferTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Buffers/PagedCharBufferTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Moq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Buffers/ViewBufferTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Buffers/ViewBufferTest.cs index 542be7965d9e..ac826ef8d121 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Buffers/ViewBufferTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Buffers/ViewBufferTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Buffers/ViewBufferTextWriterTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Buffers/ViewBufferTextWriterTest.cs index 7a0c5bb46c2e..769ad73d76bf 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Buffers/ViewBufferTextWriterTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Buffers/ViewBufferTextWriterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/CachedExpressionCompilerTest.cs b/src/Mvc/Mvc.ViewFeatures/test/CachedExpressionCompilerTest.cs index a798d5594e19..1449ef7ff611 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/CachedExpressionCompilerTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/CachedExpressionCompilerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ControllerTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ControllerTest.cs index 3f4a10d0a66b..d44acd6602f3 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ControllerTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ControllerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ControllerUnitTestabilityTests.cs b/src/Mvc/Mvc.ViewFeatures/test/ControllerUnitTestabilityTests.cs index 00a4485b8c81..c2afff7d4e14 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ControllerUnitTestabilityTests.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ControllerUnitTestabilityTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/CookieTempDataProviderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/CookieTempDataProviderTest.cs index 892c6f114671..16106098dee6 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/CookieTempDataProviderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/CookieTempDataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/Mvc.ViewFeatures/test/DefaultDisplayTemplatesTest.cs b/src/Mvc/Mvc.ViewFeatures/test/DefaultDisplayTemplatesTest.cs index 4a180a38364a..1e876db24ac0 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/DefaultDisplayTemplatesTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/DefaultDisplayTemplatesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/DefaultEditorTemplatesTest.cs b/src/Mvc/Mvc.ViewFeatures/test/DefaultEditorTemplatesTest.cs index 911d3c538ba2..f3d6eaf602e2 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/DefaultEditorTemplatesTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/DefaultEditorTemplatesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/DefaultHtmlGeneratorTest.cs b/src/Mvc/Mvc.ViewFeatures/test/DefaultHtmlGeneratorTest.cs index 4c657379ed89..f96059157d2e 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/DefaultHtmlGeneratorTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/DefaultHtmlGeneratorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/DefaultValidationHtmlAttributeProviderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/DefaultValidationHtmlAttributeProviderTest.cs index aa40da21eeee..c589300ca906 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/DefaultValidationHtmlAttributeProviderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/DefaultValidationHtmlAttributeProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/DependencyInjection/MvcViewFeaturesMvcBuilderExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/DependencyInjection/MvcViewFeaturesMvcBuilderExtensionsTest.cs index fbbc3f16d956..5c0364061218 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/DependencyInjection/MvcViewFeaturesMvcBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/DependencyInjection/MvcViewFeaturesMvcBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensionsTest.cs index 3ca312832420..47968f9bb181 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/DependencyInjection/MvcViewFeaturesMvcCoreBuilderExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ViewFeatures; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ExpressionHelperTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ExpressionHelperTest.cs index cbd005e5a0d5..1c5ed310f70d 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ExpressionHelperTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ExpressionHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ExpressionMetadataProviderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ExpressionMetadataProviderTest.cs index 3dfb94a3b849..130d7f8398e2 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ExpressionMetadataProviderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ExpressionMetadataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs index b788e7cc063b..b82170ff1b45 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/AutoValidateAntiforgeryTokenAuthorizationFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Antiforgery; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerSaveTempDataPropertyFilterFactoryTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerSaveTempDataPropertyFilterFactoryTest.cs index cdb4e3cf2bd4..e5fb4d8ffbe7 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerSaveTempDataPropertyFilterFactoryTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerSaveTempDataPropertyFilterFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.DependencyInjection; using Moq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerSaveTempDataPropertyFilterTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerSaveTempDataPropertyFilterTest.cs index b11269a8316d..44b55152b5fa 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerSaveTempDataPropertyFilterTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerSaveTempDataPropertyFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerViewDataAttributeFilterFactoryTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerViewDataAttributeFilterFactoryTest.cs index 949d337a7e27..5234b0cb9b88 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerViewDataAttributeFilterFactoryTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerViewDataAttributeFilterFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Moq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerViewDataAttributeFilterTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerViewDataAttributeFilterTest.cs index 0d9d89370564..439073a13efc 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerViewDataAttributeFilterTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/ControllerViewDataAttributeFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/LifecyclePropertyTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/LifecyclePropertyTest.cs index bb9dad1a04d0..b571b5a4b69d 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/LifecyclePropertyTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/LifecyclePropertyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Xunit; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/SaveTempDataFilterTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/SaveTempDataFilterTest.cs index 130849e8f1d0..97eb1499fb1a 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/SaveTempDataFilterTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/SaveTempDataFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/TempDataApplicationModelProviderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/TempDataApplicationModelProviderTest.cs index 81204892808c..90c7b7c770c2 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/TempDataApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/TempDataApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/ValidateAntiforgeryTokenAuthorizationFilterTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/ValidateAntiforgeryTokenAuthorizationFilterTest.cs index a19e9b7d4a82..de2c22251e0f 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/ValidateAntiforgeryTokenAuthorizationFilterTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/ValidateAntiforgeryTokenAuthorizationFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Antiforgery; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/ViewDataAttributeApplicationModelProviderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/ViewDataAttributeApplicationModelProviderTest.cs index b76494b5dfc3..bbcf5930601b 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/ViewDataAttributeApplicationModelProviderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/ViewDataAttributeApplicationModelProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Filters/ViewDataAttributePropertyProviderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Filters/ViewDataAttributePropertyProviderTest.cs index 536ad329d132..7139361ca0ad 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Filters/ViewDataAttributePropertyProviderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Filters/ViewDataAttributePropertyProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/FormatWeekHelperTest.cs b/src/Mvc/Mvc.ViewFeatures/test/FormatWeekHelperTest.cs index e178839e3cbc..f0cfc2123824 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/FormatWeekHelperTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/FormatWeekHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/HtmlAttributePropertyHelperTest.cs b/src/Mvc/Mvc.ViewFeatures/test/HtmlAttributePropertyHelperTest.cs index 8d82c60905a1..074f6088bcae 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/HtmlAttributePropertyHelperTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/HtmlAttributePropertyHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Reflection; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Infrastructure/DefaultTempDataSerializerTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Infrastructure/DefaultTempDataSerializerTest.cs index 22f2185fd186..d04592b73933 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Infrastructure/DefaultTempDataSerializerTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Infrastructure/DefaultTempDataSerializerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Infrastructure/TempDataSerializerTestBase.cs b/src/Mvc/Mvc.ViewFeatures/test/Infrastructure/TempDataSerializerTestBase.cs index 30bb0fd6ff0f..86fe32896ecb 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Infrastructure/TempDataSerializerTestBase.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Infrastructure/TempDataSerializerTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/MemberExpressionCacheKeyComparerTest.cs b/src/Mvc/Mvc.ViewFeatures/test/MemberExpressionCacheKeyComparerTest.cs index eca38d7dc233..b66018d3d371 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/MemberExpressionCacheKeyComparerTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/MemberExpressionCacheKeyComparerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq.Expressions; diff --git a/src/Mvc/Mvc.ViewFeatures/test/MemberExpressionCacheKeyTest.cs b/src/Mvc/Mvc.ViewFeatures/test/MemberExpressionCacheKeyTest.cs index eb4cebb9483e..6528d6e0a241 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/MemberExpressionCacheKeyTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/MemberExpressionCacheKeyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Model/Constants.cs b/src/Mvc/Mvc.ViewFeatures/test/Model/Constants.cs index 4a5fee5b4334..18804d9e0d54 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Model/Constants.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Model/Constants.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Model { diff --git a/src/Mvc/Mvc.ViewFeatures/test/Model/Model.cs b/src/Mvc/Mvc.ViewFeatures/test/Model/Model.cs index d38f67312240..1714a1384920 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Model/Model.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Model/Model.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.ViewFeatures.Model { diff --git a/src/Mvc/Mvc.ViewFeatures/test/ModelExplorerExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ModelExplorerExtensionsTest.cs index 981aa72ed760..d4372a8615df 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ModelExplorerExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ModelExplorerExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ModelExplorerTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ModelExplorerTest.cs index 366f8b37b5f3..d5d1bf17ae08 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ModelExplorerTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ModelExplorerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ModelStateDictionaryExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ModelStateDictionaryExtensionsTest.cs index 80c47900db4f..6cdf4b75befc 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ModelStateDictionaryExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ModelStateDictionaryExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Xunit; diff --git a/src/Mvc/Mvc.ViewFeatures/test/PageRemoteAttributeTest.cs b/src/Mvc/Mvc.ViewFeatures/test/PageRemoteAttributeTest.cs index 15bb4fe54ddf..8254ea1ff3f5 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/PageRemoteAttributeTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/PageRemoteAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.ViewFeatures/test/PartialViewResultExecutorTest.cs b/src/Mvc/Mvc.ViewFeatures/test/PartialViewResultExecutorTest.cs index 5b161b6dabe7..2d550d6976a6 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/PartialViewResultExecutorTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/PartialViewResultExecutorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/test/PartialViewResultTest.cs b/src/Mvc/Mvc.ViewFeatures/test/PartialViewResultTest.cs index c80077b08889..662fa6930610 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/PartialViewResultTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/PartialViewResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Properties/AssemblyInfo.cs b/src/Mvc/Mvc.ViewFeatures/test/Properties/AssemblyInfo.cs index 8beb903785c9..9768215ad623 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc.ViewFeatures/test/RazorComponents/ComponentRendererTest.cs b/src/Mvc/Mvc.ViewFeatures/test/RazorComponents/ComponentRendererTest.cs index 673e806e84cd..fd1c65e3eb6f 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/RazorComponents/ComponentRendererTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/RazorComponents/ComponentRendererTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/test/RazorComponents/HtmlRendererTest.cs b/src/Mvc/Mvc.ViewFeatures/test/RazorComponents/HtmlRendererTest.cs index 341619dde3b1..529eaabafb12 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/RazorComponents/HtmlRendererTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/RazorComponents/HtmlRendererTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/RemoteAttributeBaseTest.cs b/src/Mvc/Mvc.ViewFeatures/test/RemoteAttributeBaseTest.cs index 70dd3690f85a..3aa2756ad2c9 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/RemoteAttributeBaseTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/RemoteAttributeBaseTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.Abstractions; diff --git a/src/Mvc/Mvc.ViewFeatures/test/RemoteAttributeTest.cs b/src/Mvc/Mvc.ViewFeatures/test/RemoteAttributeTest.cs index 744458f8be70..4dc9e090a59e 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/RemoteAttributeTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/RemoteAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/DefaultTemplatesUtilities.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/DefaultTemplatesUtilities.cs index b0e0a7d2c119..27a780817ae0 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/DefaultTemplatesUtilities.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/DefaultTemplatesUtilities.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperCheckboxTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperCheckboxTest.cs index 4c8f91b42974..bb3de4efedb3 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperCheckboxTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperCheckboxTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperComponentExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperComponentExtensionsTest.cs index 470b4b3ab04b..a3af11859011 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperComponentExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperComponentExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayExtensionsTest.cs index c53a3eaf563f..825bc47022f7 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayNameExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayNameExtensionsTest.cs index 11c603b00709..d330f4e1c016 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayNameExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayNameExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayTextTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayTextTest.cs index b6c93676569d..d346b06dc079 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayTextTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDisplayTextTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDropDownListExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDropDownListExtensionsTest.cs index a465269d9bf6..20dc3e846e62 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDropDownListExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperDropDownListExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperEditorExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperEditorExtensionsTest.cs index 9a8365805f82..fc74203cd4dd 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperEditorExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperEditorExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperFormExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperFormExtensionsTest.cs index 0624f2aa950b..a08f0dd04a37 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperFormExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperFormExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperFormTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperFormTest.cs index 0b6814cec9be..e059a751fdb9 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperFormTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperFormTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperHiddenTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperHiddenTest.cs index 738a0fe0512b..7c9f23c75bbf 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperHiddenTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperHiddenTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperLabelExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperLabelExtensionsTest.cs index 1c1a1861e650..d660d6e664d8 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperLabelExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperLabelExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperLinkGenerationTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperLinkGenerationTest.cs index 915d143754e9..90ffac24a576 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperLinkGenerationTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperLinkGenerationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperListBoxExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperListBoxExtensionsTest.cs index 1a2c4d6d4b11..27ae483b4fac 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperListBoxExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperListBoxExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperNameExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperNameExtensionsTest.cs index 25d43e0fe039..2cc9b115c85e 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperNameExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperNameExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperPartialExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperPartialExtensionsTest.cs index f795adcf2b5a..a90379cb8d7b 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperPartialExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperPartialExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperPasswordTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperPasswordTest.cs index 61465fe48e9e..f242648592ba 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperPasswordTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperPasswordTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperRadioButtonExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperRadioButtonExtensionsTest.cs index cbfb61c7bf3b..ee4cb5c5a019 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperRadioButtonExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperRadioButtonExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperSelectTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperSelectTest.cs index 60ec798ada21..2a9b97f5d912 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperSelectTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperSelectTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTest.cs index 29ffb589d842..570002dfc3c5 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextAreaExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextAreaExtensionsTest.cs index b5bd004a4856..c45ce6aee7d7 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextAreaExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextAreaExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextAreaTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextAreaTest.cs index a125cc250dd2..cf9fd2563f3a 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextAreaTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextAreaTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextBoxExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextBoxExtensionsTest.cs index 64444999a6e9..8119911e9d10 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextBoxExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextBoxExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextBoxTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextBoxTest.cs index 16d0b0e2f02e..4a2b7471f4ca 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextBoxTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperTextBoxTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValidationMessageExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValidationMessageExtensionsTest.cs index 6bf8c50b6533..7bd9fe0e4ae7 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValidationMessageExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValidationMessageExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Rendering; using Xunit; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValidationSummaryTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValidationSummaryTest.cs index 28b6ad4c8636..f8adb167ea21 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValidationSummaryTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValidationSummaryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValueExtensionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValueExtensionsTest.cs index e474c26972db..cb07d60e862e 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValueExtensionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValueExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Xunit; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValueTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValueTest.cs index fd09a3902955..1c7eef6c5c20 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValueTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlHelperValueTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlStringTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlStringTest.cs index 0d471eba0e78..c951474a0de9 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlStringTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/HtmlStringTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/JsonHelperTestBase.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/JsonHelperTestBase.cs index 205a3479b69e..51ff123eb713 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/JsonHelperTestBase.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/JsonHelperTestBase.cs @@ -1,4 +1,5 @@ -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Html; using Xunit; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/SystemTextJsonHelperTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/SystemTextJsonHelperTest.cs index 97f4c145b775..162a74a87c90 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/SystemTextJsonHelperTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/SystemTextJsonHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text.Encodings.Web; using Microsoft.AspNetCore.Html; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/TagBuilderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/TagBuilderTest.cs index 3ceaeef37bb1..e22433c8e2e5 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/TagBuilderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/TagBuilderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/TestResources.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/TestResources.cs index 5f34f8406c94..b9cd70efdb28 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/TestResources.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/TestResources.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Resources = Microsoft.AspNetCore.Mvc.ViewFeatures.Test.Resources; diff --git a/src/Mvc/Mvc.ViewFeatures/test/Rendering/ViewContextTests.cs b/src/Mvc/Mvc.ViewFeatures/test/Rendering/ViewContextTests.cs index 95d2a4d318bb..1931a84e92ac 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/Rendering/ViewContextTests.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/Rendering/ViewContextTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/Mvc.ViewFeatures/test/SessionStateTempDataProviderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/SessionStateTempDataProviderTest.cs index 47db8ef2bc1e..120ac0ca310e 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/SessionStateTempDataProviderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/SessionStateTempDataProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/SkipStatusCodePagesAttributeTest.cs b/src/Mvc/Mvc.ViewFeatures/test/SkipStatusCodePagesAttributeTest.cs index ea0cc4952e99..d6e73c570ba4 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/SkipStatusCodePagesAttributeTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/SkipStatusCodePagesAttributeTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/test/StringHtmlContentTest.cs b/src/Mvc/Mvc.ViewFeatures/test/StringHtmlContentTest.cs index ff162712c464..97a5cde41102 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/StringHtmlContentTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/StringHtmlContentTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Text.Encodings.Web; diff --git a/src/Mvc/Mvc.ViewFeatures/test/TempDataDictionaryFactoryTest.cs b/src/Mvc/Mvc.ViewFeatures/test/TempDataDictionaryFactoryTest.cs index ae38b5350a18..938c2ce0831c 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/TempDataDictionaryFactoryTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/TempDataDictionaryFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Moq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/TempDataDictionaryTest.cs b/src/Mvc/Mvc.ViewFeatures/test/TempDataDictionaryTest.cs index cf16b46aac4e..611ad7159734 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/TempDataDictionaryTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/TempDataDictionaryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/TemplateRendererTest.cs b/src/Mvc/Mvc.ViewFeatures/test/TemplateRendererTest.cs index ecd4b749046a..68378ed7a7ac 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/TemplateRendererTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/TemplateRendererTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/TestApplicationPart.cs b/src/Mvc/Mvc.ViewFeatures/test/TestApplicationPart.cs index 5f6762242400..31ff977d41b0 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/TestApplicationPart.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/TestApplicationPart.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponentResultTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponentResultTest.cs index 4dbf5e20d75d..f2c8e300adf3 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponentResultTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponentResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponentTests.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponentTests.cs index 05a99dbb164b..e09798aa1dcd 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponentTests.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponentTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ContentViewComponentResultTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ContentViewComponentResultTest.cs index 73c0d22ca0cc..feb9631597c0 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ContentViewComponentResultTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ContentViewComponentResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentActivatorTests.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentActivatorTests.cs index 2c2e27e0d74b..dfdf146739df 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentActivatorTests.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentActivatorTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentDescriptorProviderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentDescriptorProviderTest.cs index 370d027750c7..ce4f7f6e27de 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentDescriptorProviderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentDescriptorProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentFactoryTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentFactoryTest.cs index 3e959ab8b4a4..c49db44161ed 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentFactoryTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentFactoryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentHelperTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentHelperTest.cs index a4334152f5f1..455ae077bc42 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentHelperTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentSelectorTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentSelectorTest.cs index 3bb4026467ac..90a19bde1dd1 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentSelectorTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/DefaultViewComponentSelectorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/HtmlContentViewComponentResultTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/HtmlContentViewComponentResultTest.cs index 4a0694e52bbe..7f9545c40d92 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/HtmlContentViewComponentResultTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/HtmlContentViewComponentResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentContextTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentContextTest.cs index d1bc74fc3392..d71fc02578df 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentContextTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentContextTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentConventionsTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentConventionsTest.cs index 430764f79e77..7cf802fc1c9e 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentConventionsTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentConventionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentFeatureProviderTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentFeatureProviderTest.cs index 6a075bf5d941..990e15d20b13 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentFeatureProviderTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewComponentFeatureProviderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewViewComponentResultTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewViewComponentResultTest.cs index dc0f10ed0251..a90e3fab54d1 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewViewComponentResultTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewComponents/ViewViewComponentResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewDataDictionaryOfTModelTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewDataDictionaryOfTModelTest.cs index 2a2a35525749..0771275d8c22 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewDataDictionaryOfTModelTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewDataDictionaryOfTModelTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewDataDictionaryTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewDataDictionaryTest.cs index bd2b2e47ba88..d7dfb4f3417c 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewDataDictionaryTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewDataDictionaryTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewDataOfTTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewDataOfTTest.cs index 3e3dbaf198ca..ab5ca79a0d74 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewDataOfTTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewDataOfTTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewEngines/CompositeViewEngineTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewEngines/CompositeViewEngineTest.cs index 2bf78663ec74..4edc673c4d8f 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewEngines/CompositeViewEngineTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewEngines/CompositeViewEngineTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewExecutorTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewExecutorTest.cs index 425da66e9661..945f8d7b8814 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewExecutorTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewExecutorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewResultExecutorTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewResultExecutorTest.cs index 7fa09973a003..67d61a56ab2c 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewResultExecutorTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewResultExecutorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc.ViewFeatures/test/ViewResultTest.cs b/src/Mvc/Mvc.ViewFeatures/test/ViewResultTest.cs index fbb203f8d51e..34d7cb6f5d85 100644 --- a/src/Mvc/Mvc.ViewFeatures/test/ViewResultTest.cs +++ b/src/Mvc/Mvc.ViewFeatures/test/ViewResultTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/Mvc/src/DesignTimeMvcServiceCollectionProvider.cs b/src/Mvc/Mvc/src/DesignTimeMvcServiceCollectionProvider.cs index 63d88557faf9..039c5a51fbd2 100644 --- a/src/Mvc/Mvc/src/DesignTimeMvcServiceCollectionProvider.cs +++ b/src/Mvc/Mvc/src/DesignTimeMvcServiceCollectionProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/Mvc/src/MvcServiceCollectionExtensions.cs b/src/Mvc/Mvc/src/MvcServiceCollectionExtensions.cs index 5f0620676ed5..e2b6db1821c0 100644 --- a/src/Mvc/Mvc/src/MvcServiceCollectionExtensions.cs +++ b/src/Mvc/Mvc/src/MvcServiceCollectionExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc/src/Properties/AssemblyInfo.cs b/src/Mvc/Mvc/src/Properties/AssemblyInfo.cs index b67eceacc6ba..f2d92379e4ec 100644 --- a/src/Mvc/Mvc/src/Properties/AssemblyInfo.cs +++ b/src/Mvc/Mvc/src/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; diff --git a/src/Mvc/Mvc/test/MvcOptionsSetupTest.cs b/src/Mvc/Mvc/test/MvcOptionsSetupTest.cs index 42fec5ff1302..23d1ba1718e8 100644 --- a/src/Mvc/Mvc/test/MvcOptionsSetupTest.cs +++ b/src/Mvc/Mvc/test/MvcOptionsSetupTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc/test/MvcServiceCollectionExtensionsTest.cs b/src/Mvc/Mvc/test/MvcServiceCollectionExtensionsTest.cs index 37e19686d1f8..1d904d2a6ff1 100644 --- a/src/Mvc/Mvc/test/MvcServiceCollectionExtensionsTest.cs +++ b/src/Mvc/Mvc/test/MvcServiceCollectionExtensionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/Mvc/test/Routing/ActionConstraintMatcherPolicyTest.cs b/src/Mvc/Mvc/test/Routing/ActionConstraintMatcherPolicyTest.cs index b879831419e6..d6e80674f534 100644 --- a/src/Mvc/Mvc/test/Routing/ActionConstraintMatcherPolicyTest.cs +++ b/src/Mvc/Mvc/test/Routing/ActionConstraintMatcherPolicyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc.Views/HelperExtensions.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc.Views/HelperExtensions.cs index 460ffef86fc6..68f7bf00da47 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc.Views/HelperExtensions.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc.Views/HelperExtensions.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using Microsoft.AspNetCore.Html; using Microsoft.AspNetCore.Mvc.Razor; diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc.Views/ViewAssemblyMarker.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc.Views/ViewAssemblyMarker.cs index e71b37cb6b02..3a2afca97c5e 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc.Views/ViewAssemblyMarker.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc.Views/ViewAssemblyMarker.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + namespace Microsoft.AspNetCore.Mvc.Microbenchmarks { public class ViewAssemblyMarker diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ActionSelectorBenchmark.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ActionSelectorBenchmark.cs index cfa605aaecac..f55d80d8658d 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ActionSelectorBenchmark.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ActionSelectorBenchmark.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/AssemblyInfo.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/AssemblyInfo.cs index 32248e0d1b0a..09f49228e9e6 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/AssemblyInfo.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/AssemblyInfo.cs @@ -1 +1,4 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + [assembly: BenchmarkDotNet.Attributes.AspNetCoreBenchmark] diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ControllerActionEndpointDatasourceBenchmark.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ControllerActionEndpointDatasourceBenchmark.cs index 81063bef8edc..44f2623c7286 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ControllerActionEndpointDatasourceBenchmark.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ControllerActionEndpointDatasourceBenchmark.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/HelperPerformanceBenchmark.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/HelperPerformanceBenchmark.cs index 833eeca3cb5b..356ae3f05dd0 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/HelperPerformanceBenchmark.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/HelperPerformanceBenchmark.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/RuntimePerformanceBenchmarkBase.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/RuntimePerformanceBenchmarkBase.cs index 05288a1a1c2b..112b7742a63b 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/RuntimePerformanceBenchmarkBase.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/RuntimePerformanceBenchmarkBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorBenchmarkBase.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorBenchmarkBase.cs index d722dea68767..a0dc0aac0732 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorBenchmarkBase.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorBenchmarkBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using BenchmarkDotNet.Attributes; diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorByteArrayBenchmark.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorByteArrayBenchmark.cs index b392fcc48242..ff6924c3fb0c 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorByteArrayBenchmark.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorByteArrayBenchmark.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BenchmarkDotNet.Attributes; using Microsoft.AspNetCore.Mvc.ModelBinding.Validation; diff --git a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorModelWithValidatedProperties.cs b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorModelWithValidatedProperties.cs index 4a06bd80766f..abc12e0ab282 100644 --- a/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorModelWithValidatedProperties.cs +++ b/src/Mvc/perf/Microbenchmarks/Microsoft.AspNetCore.Mvc/ValidationVisitorModelWithValidatedProperties.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/samples/MvcSandbox/Controllers/HomeController.cs b/src/Mvc/samples/MvcSandbox/Controllers/HomeController.cs index 2aa4ff682976..56b215395dcf 100644 --- a/src/Mvc/samples/MvcSandbox/Controllers/HomeController.cs +++ b/src/Mvc/samples/MvcSandbox/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/samples/MvcSandbox/Controllers/LoginController.cs b/src/Mvc/samples/MvcSandbox/Controllers/LoginController.cs index 5110850fbff8..e6e121924678 100644 --- a/src/Mvc/samples/MvcSandbox/Controllers/LoginController.cs +++ b/src/Mvc/samples/MvcSandbox/Controllers/LoginController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/samples/MvcSandbox/Pages/PagesHome.cshtml.cs b/src/Mvc/samples/MvcSandbox/Pages/PagesHome.cshtml.cs index f33a1370fb7a..9f5bbf140bac 100644 --- a/src/Mvc/samples/MvcSandbox/Pages/PagesHome.cshtml.cs +++ b/src/Mvc/samples/MvcSandbox/Pages/PagesHome.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/samples/MvcSandbox/SlugifyParameterTransformer.cs b/src/Mvc/samples/MvcSandbox/SlugifyParameterTransformer.cs index 845a20bed27b..078c91c426da 100644 --- a/src/Mvc/samples/MvcSandbox/SlugifyParameterTransformer.cs +++ b/src/Mvc/samples/MvcSandbox/SlugifyParameterTransformer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text.RegularExpressions; diff --git a/src/Mvc/samples/MvcSandbox/Startup.cs b/src/Mvc/samples/MvcSandbox/Startup.cs index 31bafaf505ac..2450029b7098 100644 --- a/src/Mvc/samples/MvcSandbox/Startup.cs +++ b/src/Mvc/samples/MvcSandbox/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/ActivityReplacer.cs b/src/Mvc/shared/Mvc.Core.TestCommon/ActivityReplacer.cs index f7bc9d819360..a45e720cfaa6 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/ActivityReplacer.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/ActivityReplacer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/CommonFilterTest.cs b/src/Mvc/shared/Mvc.Core.TestCommon/CommonFilterTest.cs index 61c2ac3b9029..cfa5250c278d 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/CommonFilterTest.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/CommonFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/CommonResourceInvokerTest.cs b/src/Mvc/shared/Mvc.Core.TestCommon/CommonResourceInvokerTest.cs index ae73ee26216d..570abaaed381 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/CommonResourceInvokerTest.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/CommonResourceInvokerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/LinkBuilder.cs b/src/Mvc/shared/Mvc.Core.TestCommon/LinkBuilder.cs index 94d7a90f4c50..a203dc6cdcdf 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/LinkBuilder.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/LinkBuilder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/MediaTypeAssert.cs b/src/Mvc/shared/Mvc.Core.TestCommon/MediaTypeAssert.cs index a6d16fc6f7c6..2db994d86d6d 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/MediaTypeAssert.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/MediaTypeAssert.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Primitives; using Microsoft.Net.Http.Headers; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/NonSeekableReadableStream.cs b/src/Mvc/shared/Mvc.Core.TestCommon/NonSeekableReadableStream.cs index 62be4fc02b7b..d365a3c6ff87 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/NonSeekableReadableStream.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/NonSeekableReadableStream.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/RoutingResult.cs b/src/Mvc/shared/Mvc.Core.TestCommon/RoutingResult.cs index 3a72c75faef4..6713c4a88eb1 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/RoutingResult.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/RoutingResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/SimpleValueProvider.cs b/src/Mvc/shared/Mvc.Core.TestCommon/SimpleValueProvider.cs index cf0a95240cf8..1f9393b308af 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/SimpleValueProvider.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/SimpleValueProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/SimpleValueProviderFactory.cs b/src/Mvc/shared/Mvc.Core.TestCommon/SimpleValueProviderFactory.cs index efe8933bfbd3..85264341b950 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/SimpleValueProviderFactory.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/SimpleValueProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/TestClientModelValidatorProvider.cs b/src/Mvc/shared/Mvc.Core.TestCommon/TestClientModelValidatorProvider.cs index 366a791f1cf4..491bd428db73 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/TestClientModelValidatorProvider.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/TestClientModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.DataAnnotations; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/TestHttpRequestStreamReaderFactory.cs b/src/Mvc/shared/Mvc.Core.TestCommon/TestHttpRequestStreamReaderFactory.cs index 639c336d4622..5b948b70f863 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/TestHttpRequestStreamReaderFactory.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/TestHttpRequestStreamReaderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Text; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/TestHttpResponseStreamWriterFactory.cs b/src/Mvc/shared/Mvc.Core.TestCommon/TestHttpResponseStreamWriterFactory.cs index ad63961d7e7b..da1c669c3993 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/TestHttpResponseStreamWriterFactory.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/TestHttpResponseStreamWriterFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Text; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/TestModelBinderFactory.cs b/src/Mvc/shared/Mvc.Core.TestCommon/TestModelBinderFactory.cs index c54bf69118fb..7db926224407 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/TestModelBinderFactory.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/TestModelBinderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/TestModelMetadataProvider.cs b/src/Mvc/shared/Mvc.Core.TestCommon/TestModelMetadataProvider.cs index 43aa7e1d2817..7a55110abaac 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/TestModelMetadataProvider.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/TestModelMetadataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/TestModelValidatorProvider.cs b/src/Mvc/shared/Mvc.Core.TestCommon/TestModelValidatorProvider.cs index 4dab51dc370f..982c5f482e98 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/TestModelValidatorProvider.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/TestModelValidatorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.DataAnnotations; diff --git a/src/Mvc/shared/Mvc.Core.TestCommon/ValidationAttributeUtil.cs b/src/Mvc/shared/Mvc.Core.TestCommon/ValidationAttributeUtil.cs index 20da144e2062..1ca91629954f 100644 --- a/src/Mvc/shared/Mvc.Core.TestCommon/ValidationAttributeUtil.cs +++ b/src/Mvc/shared/Mvc.Core.TestCommon/ValidationAttributeUtil.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionContext.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionContext.cs index 6a2ab0ef5038..268906329837 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionContext.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionDescriptor.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionDescriptor.cs index 85364d6b84f6..9e2ec2b83a21 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionDescriptor.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionDescriptor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionResult.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionResult.cs index e6ac61fbbca1..f6ee12454280 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionResult.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyHttpContext.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyHttpContext.cs index b8777776e15e..2ab8c1087a69 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyHttpContext.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyHttpContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyPage.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyPage.cs index c39cd01d8bd0..fcec0846f80e 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyPage.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyPage.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyRouteData.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyRouteData.cs index 3967c5a5aaf8..d21e5001713b 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyRouteData.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyRouteData.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyView.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyView.cs index fe84b9c049a6..adc04e45ec26 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyView.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyView.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewComponentContext.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewComponentContext.cs index 9c30b3e30f7b..12ab013d933b 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewComponentContext.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewComponentContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewComponentResult.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewComponentResult.cs index b384cecde529..d8a22fa95f98 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewComponentResult.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewComponentResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewContext.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewContext.cs index 318216c38119..b0944e7850e3 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewContext.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/IProxyViewContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc { diff --git a/src/Mvc/shared/Mvc.TestDiagnosticListener/TestDiagnosticListener.cs b/src/Mvc/shared/Mvc.TestDiagnosticListener/TestDiagnosticListener.cs index 02966a1ece14..bd94731c4062 100644 --- a/src/Mvc/shared/Mvc.TestDiagnosticListener/TestDiagnosticListener.cs +++ b/src/Mvc/shared/Mvc.TestDiagnosticListener/TestDiagnosticListener.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.Extensions.DiagnosticAdapter; diff --git a/src/Mvc/shared/Mvc.Views.TestCommon/HtmlContentUtilities.cs b/src/Mvc/shared/Mvc.Views.TestCommon/HtmlContentUtilities.cs index b828223c653b..e5816d3d27f2 100644 --- a/src/Mvc/shared/Mvc.Views.TestCommon/HtmlContentUtilities.cs +++ b/src/Mvc/shared/Mvc.Views.TestCommon/HtmlContentUtilities.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Text.Encodings.Web; diff --git a/src/Mvc/shared/Mvc.Views.TestCommon/HtmlGeneratorUtilities.cs b/src/Mvc/shared/Mvc.Views.TestCommon/HtmlGeneratorUtilities.cs index cd2869de4030..28288b7cf6a3 100644 --- a/src/Mvc/shared/Mvc.Views.TestCommon/HtmlGeneratorUtilities.cs +++ b/src/Mvc/shared/Mvc.Views.TestCommon/HtmlGeneratorUtilities.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Antiforgery; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryContent.cs b/src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryContent.cs index 476a59ef2d10..145d0183b048 100644 --- a/src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryContent.cs +++ b/src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryContent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryFileInfo.cs b/src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryFileInfo.cs index 8d2a05e29fd8..c78c6b854f46 100644 --- a/src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryFileInfo.cs +++ b/src/Mvc/shared/Mvc.Views.TestCommon/TestDirectoryFileInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/shared/Mvc.Views.TestCommon/TestFileChangeToken.cs b/src/Mvc/shared/Mvc.Views.TestCommon/TestFileChangeToken.cs index 5d814eb3534b..d5f9ffce5aba 100644 --- a/src/Mvc/shared/Mvc.Views.TestCommon/TestFileChangeToken.cs +++ b/src/Mvc/shared/Mvc.Views.TestCommon/TestFileChangeToken.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/shared/Mvc.Views.TestCommon/TestFileInfo.cs b/src/Mvc/shared/Mvc.Views.TestCommon/TestFileInfo.cs index 9545c36d5e09..a4a14636fc8c 100644 --- a/src/Mvc/shared/Mvc.Views.TestCommon/TestFileInfo.cs +++ b/src/Mvc/shared/Mvc.Views.TestCommon/TestFileInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/shared/Mvc.Views.TestCommon/TestFileProvider.cs b/src/Mvc/shared/Mvc.Views.TestCommon/TestFileProvider.cs index e54d2c770cb8..cd8ca24ae165 100644 --- a/src/Mvc/shared/Mvc.Views.TestCommon/TestFileProvider.cs +++ b/src/Mvc/shared/Mvc.Views.TestCommon/TestFileProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/shared/Mvc.Views.TestCommon/TestRazorCompiledItem.cs b/src/Mvc/shared/Mvc.Views.TestCommon/TestRazorCompiledItem.cs index e3b94b6c49e7..4a077fb1896c 100644 --- a/src/Mvc/shared/Mvc.Views.TestCommon/TestRazorCompiledItem.cs +++ b/src/Mvc/shared/Mvc.Views.TestCommon/TestRazorCompiledItem.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/shared/Mvc.Views.TestCommon/TestViewBufferScope.cs b/src/Mvc/shared/Mvc.Views.TestCommon/TestViewBufferScope.cs index 59e4ca33a142..35b65a9fb006 100644 --- a/src/Mvc/shared/Mvc.Views.TestCommon/TestViewBufferScope.cs +++ b/src/Mvc/shared/Mvc.Views.TestCommon/TestViewBufferScope.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryAuthTests.cs b/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryAuthTests.cs index 86e31edfff2c..db7cbd48959d 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryAuthTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryAuthTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryTestHelper.cs b/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryTestHelper.cs index dd3c01c170a0..6af1b1576ee8 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryTestHelper.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryTestHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryTests.cs b/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryTests.cs index 95ee4cd93a4c..00eb7331463f 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AntiforgeryTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ApiBehaviorTest.cs b/src/Mvc/test/Mvc.FunctionalTests/ApiBehaviorTest.cs index 67621024515e..c69dd1b89e4c 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ApiBehaviorTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ApiBehaviorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ApiExplorerTest.cs b/src/Mvc/test/Mvc.FunctionalTests/ApiExplorerTest.cs index 8205ec4fbea6..f9432bcd55b4 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ApiExplorerTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ApiExplorerTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ApplicationModelTest.cs b/src/Mvc/test/Mvc.FunctionalTests/ApplicationModelTest.cs index a698af7ba4ba..b025b5cb3cd8 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ApplicationModelTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ApplicationModelTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/AsyncActionsTests.cs b/src/Mvc/test/Mvc.FunctionalTests/AsyncActionsTests.cs index 4a6a1699bf4e..7bc115af08bc 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AsyncActionsTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AsyncActionsTests.cs @@ -1,4 +1,7 @@ -using System.Net; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Net; using System.Net.Http; using System.Threading.Tasks; using Xunit; diff --git a/src/Mvc/test/Mvc.FunctionalTests/AsyncDisposalTest.cs b/src/Mvc/test/Mvc.FunctionalTests/AsyncDisposalTest.cs index 005dbc6dd75f..ae5e8210cf6b 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AsyncDisposalTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AsyncDisposalTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/AsyncEnumerableTestBase.cs b/src/Mvc/test/Mvc.FunctionalTests/AsyncEnumerableTestBase.cs index 5670da863fcd..a6b9fbb4b088 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AsyncEnumerableTestBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AsyncEnumerableTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterTest.cs index 15b82680a385..f79df430dd63 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.FunctionalTests { diff --git a/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterTestBase.cs b/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterTestBase.cs index 148a2fd3abde..878ce0952ba2 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterTestBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterWithoutEndpointRoutingTest.cs b/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterWithoutEndpointRoutingTest.cs index f378e328ebfa..44a44ea2080c 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterWithoutEndpointRoutingTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareAndFilterWithoutEndpointRoutingTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.FunctionalTests { diff --git a/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareUsingRequireAuthTest.cs b/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareUsingRequireAuthTest.cs index 7c8e4fed40f7..03b54350b239 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareUsingRequireAuthTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/AuthMiddlewareUsingRequireAuthTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/BasicTests.cs b/src/Mvc/test/Mvc.FunctionalTests/BasicTests.cs index c59df752021f..bc00d5558fea 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/BasicTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/BasicTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ClientValidationOptionsTests.cs b/src/Mvc/test/Mvc.FunctionalTests/ClientValidationOptionsTests.cs index 4b728c2979a9..00966183d441 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ClientValidationOptionsTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ClientValidationOptionsTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/Mvc.FunctionalTests/CompilationOptionsTests.cs b/src/Mvc/test/Mvc.FunctionalTests/CompilationOptionsTests.cs index a0efcd00d1c3..2f801b81f499 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/CompilationOptionsTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/CompilationOptionsTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ComponentRenderingFunctionalTests.cs b/src/Mvc/test/Mvc.FunctionalTests/ComponentRenderingFunctionalTests.cs index 5cd5afd214fd..c06d9e8143e4 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ComponentRenderingFunctionalTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ComponentRenderingFunctionalTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeEndpointRoutingTests.cs b/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeEndpointRoutingTests.cs index 2165e03f8338..1a6fca560e75 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeEndpointRoutingTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeEndpointRoutingTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeTests.cs b/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeTests.cs index 7f883170350e..bd5de5cd5d3d 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeTestsBase.cs b/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeTestsBase.cs index 902e43df3309..788abfc07c83 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeTestsBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ConsumesAttributeTestsBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ContentNegotiationTest.cs b/src/Mvc/test/Mvc.FunctionalTests/ContentNegotiationTest.cs index 0bd4638c2217..ecef0c29e584 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ContentNegotiationTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ContentNegotiationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ControllerFromServicesTests.cs b/src/Mvc/test/Mvc.FunctionalTests/ControllerFromServicesTests.cs index 01fb7c83b7f4..1fb995310bd9 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ControllerFromServicesTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ControllerFromServicesTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/CorsEndpointRoutingTests.cs b/src/Mvc/test/Mvc.FunctionalTests/CorsEndpointRoutingTests.cs index 1fd1de640315..bceb159551a8 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/CorsEndpointRoutingTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/CorsEndpointRoutingTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.FunctionalTests { diff --git a/src/Mvc/test/Mvc.FunctionalTests/CorsTests.cs b/src/Mvc/test/Mvc.FunctionalTests/CorsTests.cs index a913965c8b33..c8667a1da259 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/CorsTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/CorsTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/CorsTestsBase.cs b/src/Mvc/test/Mvc.FunctionalTests/CorsTestsBase.cs index 413d2247c51b..d589b371ab20 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/CorsTestsBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/CorsTestsBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/DataAnnotationTests.cs b/src/Mvc/test/Mvc.FunctionalTests/DataAnnotationTests.cs index f90e239345ea..9cf0a976f9b9 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/DataAnnotationTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/DataAnnotationTests.cs @@ -1,4 +1,7 @@ -using System.Net; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Net; using System.Threading.Tasks; using RazorWebSite; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/Mvc.FunctionalTests/DefaultValuesTest.cs b/src/Mvc/test/Mvc.FunctionalTests/DefaultValuesTest.cs index e57d8de17f70..4aa89ddf117a 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/DefaultValuesTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/DefaultValuesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/DirectivesTest.cs b/src/Mvc/test/Mvc.FunctionalTests/DirectivesTest.cs index 15ebfe4e454a..d0ed08a7332b 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/DirectivesTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/DirectivesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/DoNotRespectBrowserAcceptHeaderTests.cs b/src/Mvc/test/Mvc.FunctionalTests/DoNotRespectBrowserAcceptHeaderTests.cs index fb682a5e08b5..c2c37317c0c0 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/DoNotRespectBrowserAcceptHeaderTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/DoNotRespectBrowserAcceptHeaderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ErrorPageTests.cs b/src/Mvc/test/Mvc.FunctionalTests/ErrorPageTests.cs index ec3e9ce39faa..5c9831955d72 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ErrorPageTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ErrorPageTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ExceptionInfo.cs b/src/Mvc/test/Mvc.FunctionalTests/ExceptionInfo.cs index 163fb8213398..2367c4ec0bcf 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ExceptionInfo.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ExceptionInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.FunctionalTests { diff --git a/src/Mvc/test/Mvc.FunctionalTests/FileResultTests.cs b/src/Mvc/test/Mvc.FunctionalTests/FileResultTests.cs index 059c4875bd59..f5697a5179ad 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/FileResultTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/FileResultTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/FiltersTest.cs b/src/Mvc/test/Mvc.FunctionalTests/FiltersTest.cs index 52bbef642be6..dea1e2b8777e 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/FiltersTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/FiltersTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/FlushPointTest.cs b/src/Mvc/test/Mvc.FunctionalTests/FlushPointTest.cs index a83adcd54a7e..ce692e96b02e 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/FlushPointTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/FlushPointTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/FormFileUploadTest.cs b/src/Mvc/test/Mvc.FunctionalTests/FormFileUploadTest.cs index e75fbf039c5a..510a5401655f 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/FormFileUploadTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/FormFileUploadTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterEndpointRoutingTest.cs b/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterEndpointRoutingTest.cs index fbc6b7a39827..2116aecb22c9 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterEndpointRoutingTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterEndpointRoutingTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterTestBase.cs b/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterTestBase.cs index 45ad795edcc9..586ce80e9f2b 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterTestBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterUseMvcTest.cs b/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterUseMvcTest.cs index 8a52d219feea..525bcc1beb45 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterUseMvcTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/GlobalAuthorizationFilterUseMvcTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/Mvc.FunctionalTests/HtmlGenerationTest.cs b/src/Mvc/test/Mvc.FunctionalTests/HtmlGenerationTest.cs index a00a1b168b83..fde74cd56cd4 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/HtmlGenerationTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/HtmlGenerationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/HtmlGenerationWithCultureTest.cs b/src/Mvc/test/Mvc.FunctionalTests/HtmlGenerationWithCultureTest.cs index e674c7966c7d..a92eec380fbf 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/HtmlGenerationWithCultureTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/HtmlGenerationWithCultureTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/HtmlHelperOptionsTest.cs b/src/Mvc/test/Mvc.FunctionalTests/HtmlHelperOptionsTest.cs index 41d1c2e9a7a6..07fc01fb1224 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/HtmlHelperOptionsTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/HtmlHelperOptionsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/CultureReplacerMiddleware.cs b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/CultureReplacerMiddleware.cs index ae40cee982a5..b7fed043e981 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/CultureReplacerMiddleware.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/CultureReplacerMiddleware.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/CultureReplacerStartupFilter.cs b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/CultureReplacerStartupFilter.cs index dff810ddafc8..deca57808f13 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/CultureReplacerStartupFilter.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/CultureReplacerStartupFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/HttpClientExtensions.cs b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/HttpClientExtensions.cs index 39b2149cf6c1..3c234104383d 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/HttpClientExtensions.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/HttpClientExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/IHtmlDocumentExtensions.cs b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/IHtmlDocumentExtensions.cs index b23ccfa657f7..7d22fe5032a9 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/IHtmlDocumentExtensions.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/IHtmlDocumentExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using AngleSharp.Dom; diff --git a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcEncodedTestFixtureOfT.cs b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcEncodedTestFixtureOfT.cs index b978f8c8183d..25dc595f4748 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcEncodedTestFixtureOfT.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcEncodedTestFixtureOfT.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text.Encodings.Web; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcTestFixture.cs b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcTestFixture.cs index e157bf10f1e7..1ca64d3806d9 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcTestFixture.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcTestFixture.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcWebApplicationBuilderExtensions.cs b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcWebApplicationBuilderExtensions.cs index d3da7ba51539..2397222d7a14 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcWebApplicationBuilderExtensions.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/MvcWebApplicationBuilderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/ResourceFile.cs b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/ResourceFile.cs index 9b1428f1df5c..a2f1d7ec4f49 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/ResourceFile.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/ResourceFile.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/TestCulture.cs b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/TestCulture.cs index 180fa7490bff..6288fa40a21c 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/TestCulture.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/Infrastructure/TestCulture.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.FunctionalTests { diff --git a/src/Mvc/test/Mvc.FunctionalTests/InputFormatterTests.cs b/src/Mvc/test/Mvc.FunctionalTests/InputFormatterTests.cs index 52267ade6f74..da2f44b0c407 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/InputFormatterTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/InputFormatterTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/InputObjectValidationTests.cs b/src/Mvc/test/Mvc.FunctionalTests/InputObjectValidationTests.cs index 5db204c8be8c..f637a2ffd98b 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/InputObjectValidationTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/InputObjectValidationTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/InputParentValidationTests.cs b/src/Mvc/test/Mvc.FunctionalTests/InputParentValidationTests.cs index 9759f3842fbb..83930facaf2e 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/InputParentValidationTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/InputParentValidationTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/InputValidationTests.cs b/src/Mvc/test/Mvc.FunctionalTests/InputValidationTests.cs index 2e87b4b44c84..9e0eacf0fcf5 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/InputValidationTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/InputValidationTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/JsonInputFormatterTestBase.cs b/src/Mvc/test/Mvc.FunctionalTests/JsonInputFormatterTestBase.cs index f29be8bddd46..35a2729567b0 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/JsonInputFormatterTestBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/JsonInputFormatterTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/test/Mvc.FunctionalTests/JsonOutputFormatterTestBase.cs b/src/Mvc/test/Mvc.FunctionalTests/JsonOutputFormatterTestBase.cs index c5c4ae51fdff..8da4c12dcca8 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/JsonOutputFormatterTestBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/JsonOutputFormatterTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/JsonPatchInputFormatterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/JsonPatchInputFormatterTest.cs index 211ff54a5ec8..5641f4b47649 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/JsonPatchInputFormatterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/JsonPatchInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/JsonResultWithNewtonsoftJsonTest.cs b/src/Mvc/test/Mvc.FunctionalTests/JsonResultWithNewtonsoftJsonTest.cs index 3f58fab658d4..9769c551c6e5 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/JsonResultWithNewtonsoftJsonTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/JsonResultWithNewtonsoftJsonTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/JsonResultWithSystemTextJsonTest.cs b/src/Mvc/test/Mvc.FunctionalTests/JsonResultWithSystemTextJsonTest.cs index fa76456e0270..cb896f42bb93 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/JsonResultWithSystemTextJsonTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/JsonResultWithSystemTextJsonTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/LinkGenerationTests.cs b/src/Mvc/test/Mvc.FunctionalTests/LinkGenerationTests.cs index c59387eccae4..9c434dd8cd38 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/LinkGenerationTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/LinkGenerationTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/LinkGeneratorTest.cs b/src/Mvc/test/Mvc.FunctionalTests/LinkGeneratorTest.cs index 8258cad06cdc..2f9e3ea8968a 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/LinkGeneratorTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/LinkGeneratorTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/LinkParserTest.cs b/src/Mvc/test/Mvc.FunctionalTests/LinkParserTest.cs index 15c60602cb47..e4a9e3516571 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/LinkParserTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/LinkParserTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/MvcSandboxTest.cs b/src/Mvc/test/Mvc.FunctionalTests/MvcSandboxTest.cs index 2e6bd028b079..861bfb527d07 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/MvcSandboxTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/MvcSandboxTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonInputFormatterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonInputFormatterTest.cs index ea1fcb661190..cf530e084bba 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonInputFormatterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonOutputFormatterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonOutputFormatterTest.cs index 47696e446fc7..edb9afe8bb35 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonOutputFormatterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/NewtonsoftJsonOutputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/NonNullableReferenceTypesTest.cs b/src/Mvc/test/Mvc.FunctionalTests/NonNullableReferenceTypesTest.cs index e22462ce342f..54b7c5f5d16b 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/NonNullableReferenceTypesTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/NonNullableReferenceTypesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/OutputFormatterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/OutputFormatterTest.cs index 54bdbf47dd0d..70e9a5e59911 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/OutputFormatterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/OutputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/PageAsyncDisposalTest.cs b/src/Mvc/test/Mvc.FunctionalTests/PageAsyncDisposalTest.cs index ce7125379704..66c5f74cf74f 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/PageAsyncDisposalTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/PageAsyncDisposalTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs index 26ba921a68ea..f13a2fa080db 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RazorBuildTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RazorPageModelTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RazorPageModelTest.cs index ffd656ff62d6..ad4ab62c7a89 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RazorPageModelTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RazorPageModelTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesNamespaceTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesNamespaceTest.cs index 62b052508082..377e4b6817eb 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesNamespaceTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesNamespaceTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesTest.cs index 88a5bddd83d0..7cd1601954bb 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesViewSearchTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesViewSearchTest.cs index f343aa65c3fa..0890f7f550f3 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesViewSearchTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesViewSearchTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesWithBasePathTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesWithBasePathTest.cs index bebb9bae2d8a..f94526f7f409 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesWithBasePathTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesWithBasePathTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesWithEndpointRoutingTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesWithEndpointRoutingTest.cs index 183372722d35..6ed626f9de5a 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RazorPagesWithEndpointRoutingTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RazorPagesWithEndpointRoutingTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs index e2de2dd2f83f..9e3aa25ef132 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RazorViewLocationSpecificationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ReadFromDisconnectedClientTest.cs b/src/Mvc/test/Mvc.FunctionalTests/ReadFromDisconnectedClientTest.cs index 869e4607eb2f..4da6e3f6017d 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ReadFromDisconnectedClientTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ReadFromDisconnectedClientTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RemoteAttributeValidationTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RemoteAttributeValidationTest.cs index 2fc7b37e62a8..496d644683be 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RemoteAttributeValidationTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RemoteAttributeValidationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RequestFormLimitsTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RequestFormLimitsTest.cs index 1a9c1a8f3829..43ab35894bd3 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RequestFormLimitsTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RequestFormLimitsTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RequestServicesEndpointRoutingTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RequestServicesEndpointRoutingTest.cs index e386705bc060..aaf8d7c888b9 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RequestServicesEndpointRoutingTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RequestServicesEndpointRoutingTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RequestServicesTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RequestServicesTest.cs index 31f2843fb490..77c9330d7f98 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RequestServicesTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RequestServicesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RequestServicesTestBase.cs b/src/Mvc/test/Mvc.FunctionalTests/RequestServicesTestBase.cs index 840d070bc258..04ba6eb4e35f 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RequestServicesTestBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RequestServicesTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RequestSizeLimitTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RequestSizeLimitTest.cs index 8e5ce315d3b4..06d01d674169 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RequestSizeLimitTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RequestSizeLimitTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RespectBrowserAcceptHeaderTests.cs b/src/Mvc/test/Mvc.FunctionalTests/RespectBrowserAcceptHeaderTests.cs index e796b034cdf4..9b2459c090af 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RespectBrowserAcceptHeaderTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RespectBrowserAcceptHeaderTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingAcrossPipelineBranchesTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingAcrossPipelineBranchesTest.cs index 431622df9fba..c8aaed6d9eb8 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingAcrossPipelineBranchesTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingAcrossPipelineBranchesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingDynamicOrderTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingDynamicOrderTest.cs index ce0b22f21442..04068f813a0d 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingDynamicOrderTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingDynamicOrderTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingDynamicTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingDynamicTest.cs index a55c3f92f8e6..4f812fb6a4ae 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingDynamicTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingDynamicTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingTest.cs index 553af527507e..f744b80407ef 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingWithoutRazorPagesTests.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingWithoutRazorPagesTests.cs index 1033e6cbe54b..1be9efdcf1e2 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingWithoutRazorPagesTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingEndpointRoutingWithoutRazorPagesTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingFallbackTest.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingFallbackTest.cs index c4925485a0bc..f13ae3e3bcfa 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingFallbackTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingFallbackTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingTests.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingTests.cs index 89aeda5d6c5c..59f474ffbaed 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingTestsBase.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingTestsBase.cs index f90832d402f2..233ccec5deea 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingTestsBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingTestsBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingWithoutRazorPagesTests.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingWithoutRazorPagesTests.cs index 51ac1eb99011..9fc14cfb3b98 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingWithoutRazorPagesTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingWithoutRazorPagesTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/RoutingWithoutRazorPagesTestsBase.cs b/src/Mvc/test/Mvc.FunctionalTests/RoutingWithoutRazorPagesTestsBase.cs index 061bf537fe80..82aae0747e1c 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/RoutingWithoutRazorPagesTestsBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/RoutingWithoutRazorPagesTestsBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/SerializableErrorTests.cs b/src/Mvc/test/Mvc.FunctionalTests/SerializableErrorTests.cs index cf4220ab6025..d06b74e4955a 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/SerializableErrorTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/SerializableErrorTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/SimpleTests.cs b/src/Mvc/test/Mvc.FunctionalTests/SimpleTests.cs index 214fcc0eb5c8..9cb7a802a4bd 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/SimpleTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/SimpleTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/StreamOutputFormatterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/StreamOutputFormatterTest.cs index 23db399359da..edd52f8b2991 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/StreamOutputFormatterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/StreamOutputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonInputFormatterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonInputFormatterTest.cs index c59c7369b765..a126139892b2 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonInputFormatterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Xunit; diff --git a/src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonOutputFormatterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonOutputFormatterTest.cs index d0af74ada10d..58d5c850b6f6 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonOutputFormatterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/SystemTextJsonOutputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Text.Encodings.Web; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TagHelperComponentTagHelperTest.cs b/src/Mvc/test/Mvc.FunctionalTests/TagHelperComponentTagHelperTest.cs index 59333aa46a35..e6c8b8746a02 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TagHelperComponentTagHelperTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TagHelperComponentTagHelperTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TagHelpersFromServicesTest.cs b/src/Mvc/test/Mvc.FunctionalTests/TagHelpersFromServicesTest.cs index 6d1c7cf47d13..f9bdcc361ce1 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TagHelpersFromServicesTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TagHelpersFromServicesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TagHelpersTest.cs b/src/Mvc/test/Mvc.FunctionalTests/TagHelpersTest.cs index 439d8d005c95..e40e635eac16 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TagHelpersTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TagHelpersTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesTest.cs b/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesTest.cs index 6d7130e4ef8e..787a61d8f8da 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesUsingCookieConsentTest.cs b/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesUsingCookieConsentTest.cs index 8bb7ad18ad16..3e06768eab7d 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesUsingCookieConsentTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TempDataInCookiesUsingCookieConsentTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TempDataInSessionTest.cs b/src/Mvc/test/Mvc.FunctionalTests/TempDataInSessionTest.cs index 6c669f103cad..453f2ede04da 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TempDataInSessionTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TempDataInSessionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; using Xunit; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TempDataPropertyTest.cs b/src/Mvc/test/Mvc.FunctionalTests/TempDataPropertyTest.cs index 59744d2dbc50..5a8b81076fac 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TempDataPropertyTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TempDataPropertyTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TempDataTestBase.cs b/src/Mvc/test/Mvc.FunctionalTests/TempDataTestBase.cs index c37012399403..75efe2dcf3b2 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TempDataTestBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TempDataTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TestJsonSerializationOptionsProvider.cs b/src/Mvc/test/Mvc.FunctionalTests/TestJsonSerializationOptionsProvider.cs index 4a418cb0f6f8..d3cc23c64ca3 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TestJsonSerializationOptionsProvider.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TestJsonSerializationOptionsProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text.Json; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TestingInfrastructureInheritanceTests.cs b/src/Mvc/test/Mvc.FunctionalTests/TestingInfrastructureInheritanceTests.cs index c56f835ca701..d4095f200a71 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TestingInfrastructureInheritanceTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TestingInfrastructureInheritanceTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/TestingInfrastructureTests.cs b/src/Mvc/test/Mvc.FunctionalTests/TestingInfrastructureTests.cs index 16552ef05126..ad0b1742d404 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/TestingInfrastructureTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/TestingInfrastructureTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/UrlResolutionTest.cs b/src/Mvc/test/Mvc.FunctionalTests/UrlResolutionTest.cs index c318c47fc2c6..16553e8e3b4b 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/UrlResolutionTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/UrlResolutionTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net.Http; using System.Reflection; diff --git a/src/Mvc/test/Mvc.FunctionalTests/VersioningEndpointRoutingTests.cs b/src/Mvc/test/Mvc.FunctionalTests/VersioningEndpointRoutingTests.cs index 890fcce2fc83..009590b5bab1 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/VersioningEndpointRoutingTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/VersioningEndpointRoutingTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/VersioningTests.cs b/src/Mvc/test/Mvc.FunctionalTests/VersioningTests.cs index 4efc0561a4c8..48a19cf5c6c4 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/VersioningTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/VersioningTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.FunctionalTests/VersioningTestsBase.cs b/src/Mvc/test/Mvc.FunctionalTests/VersioningTestsBase.cs index 4a0757316a6d..73b412fb7314 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/VersioningTestsBase.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/VersioningTestsBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ViewComponentFromServicesTests.cs b/src/Mvc/test/Mvc.FunctionalTests/ViewComponentFromServicesTests.cs index f219c3461368..adbaafffb82c 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ViewComponentFromServicesTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ViewComponentFromServicesTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/ViewEngineTests.cs b/src/Mvc/test/Mvc.FunctionalTests/ViewEngineTests.cs index 86a633555af3..0c579c856e2c 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/ViewEngineTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/ViewEngineTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Net; diff --git a/src/Mvc/test/Mvc.FunctionalTests/XmlDataContractSerializerFormattersWrappingTest.cs b/src/Mvc/test/Mvc.FunctionalTests/XmlDataContractSerializerFormattersWrappingTest.cs index b97130284200..bfd2de69053d 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/XmlDataContractSerializerFormattersWrappingTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/XmlDataContractSerializerFormattersWrappingTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/XmlDataContractSerializerInputFormatterTest.cs b/src/Mvc/test/Mvc.FunctionalTests/XmlDataContractSerializerInputFormatterTest.cs index 2567b0a8d0d0..76155f466756 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/XmlDataContractSerializerInputFormatterTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/XmlDataContractSerializerInputFormatterTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.FunctionalTests/XmlOutputFormatterTests.cs b/src/Mvc/test/Mvc.FunctionalTests/XmlOutputFormatterTests.cs index 5935ab7d0a08..b65e755d6624 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/XmlOutputFormatterTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/XmlOutputFormatterTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Net; using System.Net.Http; diff --git a/src/Mvc/test/Mvc.FunctionalTests/XmlSerializerFormattersWrappingTest.cs b/src/Mvc/test/Mvc.FunctionalTests/XmlSerializerFormattersWrappingTest.cs index c4623a99cdcd..843d772ae488 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/XmlSerializerFormattersWrappingTest.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/XmlSerializerFormattersWrappingTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; using System.Linq; diff --git a/src/Mvc/test/Mvc.FunctionalTests/XmlSerializerInputFormatterTests.cs b/src/Mvc/test/Mvc.FunctionalTests/XmlSerializerInputFormatterTests.cs index 5f4e41ab37a8..c898b71b3c08 100644 --- a/src/Mvc/test/Mvc.FunctionalTests/XmlSerializerInputFormatterTests.cs +++ b/src/Mvc/test/Mvc.FunctionalTests/XmlSerializerInputFormatterTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using System.Net; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ActionParametersIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/ActionParametersIntegrationTest.cs index 0a88723edf16..060f7305eeaa 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ActionParametersIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ActionParametersIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ArrayModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/ArrayModelBinderIntegrationTest.cs index 698ab0d2e5ac..68c230f88f40 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ArrayModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ArrayModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.IntegrationTests/AuthorizeFilterIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/AuthorizeFilterIntegrationTest.cs index 0a31d403dfbd..44f3d6562722 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/AuthorizeFilterIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/AuthorizeFilterIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/Mvc.IntegrationTests/BindPropertyIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/BindPropertyIntegrationTest.cs index 392aebe33a39..2c42477ce26a 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/BindPropertyIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/BindPropertyIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/BinderTypeBasedModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/BinderTypeBasedModelBinderIntegrationTest.cs index bc26e31c6709..17914f480e73 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/BinderTypeBasedModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/BinderTypeBasedModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Diagnostics; diff --git a/src/Mvc/test/Mvc.IntegrationTests/BindingSourceMetadataProviderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/BindingSourceMetadataProviderIntegrationTest.cs index 200da5cce790..bcad6afb7c82 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/BindingSourceMetadataProviderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/BindingSourceMetadataProviderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/test/Mvc.IntegrationTests/BodyValidationIntegrationTests.cs b/src/Mvc/test/Mvc.IntegrationTests/BodyValidationIntegrationTests.cs index 8d437448d10f..cbf3ff5abec4 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/BodyValidationIntegrationTests.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/BodyValidationIntegrationTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ByteArrayModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/ByteArrayModelBinderIntegrationTest.cs index e05237d4b426..cbf053c23075 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ByteArrayModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ByteArrayModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.IntegrationTests/CancellationTokenModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/CancellationTokenModelBinderIntegrationTest.cs index 9ce033b2a805..cb05708015b5 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/CancellationTokenModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/CancellationTokenModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/CollectionModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/CollectionModelBinderIntegrationTest.cs index 3377b9ce8fc7..f19bf8b0257d 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/CollectionModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/CollectionModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/test/Mvc.IntegrationTests/CompanyNameAttribute.cs b/src/Mvc/test/Mvc.IntegrationTests/CompanyNameAttribute.cs index 09cb8002e519..6d0743f69428 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/CompanyNameAttribute.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/CompanyNameAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ComplexObjectIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/ComplexObjectIntegrationTest.cs index 0f8fccce4fc2..513bc6c3f34c 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ComplexObjectIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ComplexObjectIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ModelBinding.Binders; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ComplexRecordIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/ComplexRecordIntegrationTest.cs index f533be281214..3ddfbc4d5760 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ComplexRecordIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ComplexRecordIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ComplexTypeIntegrationTestBase.cs b/src/Mvc/test/Mvc.IntegrationTests/ComplexTypeIntegrationTestBase.cs index b2ffbcc4c4e2..90bf5ae2dde8 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ComplexTypeIntegrationTestBase.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ComplexTypeIntegrationTestBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ComplexTypeModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/ComplexTypeModelBinderIntegrationTest.cs index 0af0b2a0dfd7..91ae2acf89e9 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ComplexTypeModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ComplexTypeModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs index 0920e94d2938..358b37406d4e 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/DictionaryModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ExcludeBindingMetadataProviderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/ExcludeBindingMetadataProviderIntegrationTest.cs index b3b31bc9fd47..e9ce07d236fb 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ExcludeBindingMetadataProviderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ExcludeBindingMetadataProviderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/FormCollectionModelBindingIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/FormCollectionModelBindingIntegrationTest.cs index 1b7ce7e335c6..04e16ca18dda 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/FormCollectionModelBindingIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/FormCollectionModelBindingIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/test/Mvc.IntegrationTests/FormFileModelBindingIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/FormFileModelBindingIntegrationTest.cs index 92ea35e3193f..2376cf3a9c4c 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/FormFileModelBindingIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/FormFileModelBindingIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/test/Mvc.IntegrationTests/GenericModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/GenericModelBinderIntegrationTest.cs index 22a7be2d24f7..e6985b3bb42c 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/GenericModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/GenericModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/HasValidatorsValidationMetadataProviderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/HasValidatorsValidationMetadataProviderIntegrationTest.cs index ba8798245c8d..934a154d2894 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/HasValidatorsValidationMetadataProviderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/HasValidatorsValidationMetadataProviderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/test/Mvc.IntegrationTests/HeaderModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/HeaderModelBinderIntegrationTest.cs index c83c7eadcf79..02d9255b629b 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/HeaderModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/HeaderModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/JQueryFormatModelBindingIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/JQueryFormatModelBindingIntegrationTest.cs index 9376c85e9245..e6005297f630 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/JQueryFormatModelBindingIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/JQueryFormatModelBindingIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.IO; diff --git a/src/Mvc/test/Mvc.IntegrationTests/KeyValuePairModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/KeyValuePairModelBinderIntegrationTest.cs index f8da065e39ba..09681c19be2e 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/KeyValuePairModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/KeyValuePairModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ModelBindingTestContext.cs b/src/Mvc/test/Mvc.IntegrationTests/ModelBindingTestContext.cs index 4cf87f2300f5..06b2b3b9fa55 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ModelBindingTestContext.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ModelBindingTestContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ModelBindingTestHelper.cs b/src/Mvc/test/Mvc.IntegrationTests/ModelBindingTestHelper.cs index ce4cc9155b42..1c9a120a1576 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ModelBindingTestHelper.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ModelBindingTestHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ModelPrefixSelectionIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/ModelPrefixSelectionIntegrationTest.cs index 7a03494307db..3bd8a79f2dac 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ModelPrefixSelectionIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ModelPrefixSelectionIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.IntegrationTests/Models/Product.cs b/src/Mvc/test/Mvc.IntegrationTests/Models/Product.cs index b7c9656464f1..e08fda8dfaef 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/Models/Product.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/Models/Product.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/Models/ProductDetails.cs b/src/Mvc/test/Mvc.IntegrationTests/Models/ProductDetails.cs index 70afdb0ea6d3..fee9a152e31b 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/Models/ProductDetails.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/Models/ProductDetails.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/Models/ProductViewModel.cs b/src/Mvc/test/Mvc.IntegrationTests/Models/ProductViewModel.cs index 0113f7fcf2e2..c56d100b0263 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/Models/ProductViewModel.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/Models/ProductViewModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/Models/Software.cs b/src/Mvc/test/Mvc.IntegrationTests/Models/Software.cs index 7f98162d48e3..65c964c49e29 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/Models/Software.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/Models/Software.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/Models/SoftwareViewModel.cs b/src/Mvc/test/Mvc.IntegrationTests/Models/SoftwareViewModel.cs index 0cb821a8c45e..89641b7a1903 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/Models/SoftwareViewModel.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/Models/SoftwareViewModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/Models/SuccessfulModel.cs b/src/Mvc/test/Mvc.IntegrationTests/Models/SuccessfulModel.cs index 5f3488d78783..aae9df8be6e7 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/Models/SuccessfulModel.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/Models/SuccessfulModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace Microsoft.AspNetCore.Mvc.IntegrationTests { diff --git a/src/Mvc/test/Mvc.IntegrationTests/NullableReferenceTypeIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/NullableReferenceTypeIntegrationTest.cs index 6e61419fe3d2..86eeb1eaf15d 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/NullableReferenceTypeIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/NullableReferenceTypeIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ParameterBinderExtensions.cs b/src/Mvc/test/Mvc.IntegrationTests/ParameterBinderExtensions.cs index c6f773f4428d..6a2da69cc1b2 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ParameterBinderExtensions.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ParameterBinderExtensions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using System.Threading.Tasks; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ProductValidatorAttribute.cs b/src/Mvc/test/Mvc.IntegrationTests/ProductValidatorAttribute.cs index 6c6b65885386..b135ee84e2ba 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ProductValidatorAttribute.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ProductValidatorAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ServicesModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/ServicesModelBinderIntegrationTest.cs index 291ed441b112..387d14939df1 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ServicesModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ServicesModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/SimpleTypeModelBinderIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/SimpleTypeModelBinderIntegrationTest.cs index 634ba9bcedbb..1b82b2274501 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/SimpleTypeModelBinderIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/SimpleTypeModelBinderIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/SuccessfulModelBinder.cs b/src/Mvc/test/Mvc.IntegrationTests/SuccessfulModelBinder.cs index b8bfff02e357..3972f986932f 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/SuccessfulModelBinder.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/SuccessfulModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/test/Mvc.IntegrationTests/TestMvcOptions.cs b/src/Mvc/test/Mvc.IntegrationTests/TestMvcOptions.cs index eaff06d30daa..0543611f1aac 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/TestMvcOptions.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/TestMvcOptions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/test/Mvc.IntegrationTests/TryUpdateModelIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/TryUpdateModelIntegrationTest.cs index 1e5ebffeaf87..f4321b6fcdc0 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/TryUpdateModelIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/TryUpdateModelIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs b/src/Mvc/test/Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs index e60b447fd288..37b66a119027 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/TryValidateModelIntegrationTest.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ValidationIntegrationTests.cs b/src/Mvc/test/Mvc.IntegrationTests/ValidationIntegrationTests.cs index f5b8266451fe..c544a5f4a65f 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ValidationIntegrationTests.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ValidationIntegrationTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/test/Mvc.IntegrationTests/ValidationWithRecordIntegrationTests.cs b/src/Mvc/test/Mvc.IntegrationTests/ValidationWithRecordIntegrationTests.cs index 7d3505ee7408..fe8266d18e28 100644 --- a/src/Mvc/test/Mvc.IntegrationTests/ValidationWithRecordIntegrationTests.cs +++ b/src/Mvc/test/Mvc.IntegrationTests/ValidationWithRecordIntegrationTests.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/ActionDescriptorChangeProvider.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/ActionDescriptorChangeProvider.cs index 266f99d3aaff..7524c0ee08fe 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/ActionDescriptorChangeProvider.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/ActionDescriptorChangeProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading; using Microsoft.AspNetCore.Mvc.Infrastructure; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerDataFilter.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerDataFilter.cs index d365caf75584..1b59f3b0ab45 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerDataFilter.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerDataFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerInboundOutboundConvention.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerInboundOutboundConvention.cs index fa826ebf6dae..2eefcce43dc5 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerInboundOutboundConvention.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerInboundOutboundConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerRouteChangeConvention.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerRouteChangeConvention.cs index c329b28c4208..04b26d679e04 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerRouteChangeConvention.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerRouteChangeConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityDisabledConvention.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityDisabledConvention.cs index 9b6be36b43f3..e44e2fec9bc3 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityDisabledConvention.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityDisabledConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityEnabledConvention.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityEnabledConvention.cs index bd19f1f92aa0..84fb8e83fa68 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityEnabledConvention.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/ApiExplorerVisibilityEnabledConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationModels; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerApiController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerApiController.cs index a32ebed1544e..a7bc423c4689 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerApiController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerApiController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerHttpMethodController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerHttpMethodController.cs index 95de9f1497ab..60d1bec1c497 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerHttpMethodController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerHttpMethodController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerInboundOutboundController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerInboundOutboundController.cs index 55b4787a03af..b8b6aba27e2f 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerInboundOutboundController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerInboundOutboundController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetByConventionController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetByConventionController.cs index e6e39a5cadb9..1860c3bb4733 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetByConventionController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetByConventionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetExplicitlyController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetExplicitlyController.cs index 7aa4467540b0..644bf8224d45 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetExplicitlyController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerNameSetExplicitlyController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerParametersController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerParametersController.cs index e890e3d4d35b..7121462abbd0 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerParametersController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerParametersController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerReloadableController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerReloadableController.cs index d6372a8a8620..91eb756eaade 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerReloadableController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerReloadableController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeController.cs index 3a5d52695477..9222b0707330 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs index 78ba0af5ed64..c93c808095a8 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseContentTypeOverrideOnActionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeOverrideOnActionController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeOverrideOnActionController.cs index 10f9a9524998..c9a09accea2f 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeOverrideOnActionController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeOverrideOnActionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithApiConventionController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithApiConventionController.cs index dcfb5a9892d5..79334be1890b 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithApiConventionController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithApiConventionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithAttributeController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithAttributeController.cs index e902e8ec5642..4d7822f2b133 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithAttributeController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithAttributeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithoutAttributeController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithoutAttributeController.cs index 0dd2a8f9d974..311e052b4ca4 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithoutAttributeController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerResponseTypeWithoutAttributeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerRouteAndPathParametersInformationController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerRouteAndPathParametersInformationController.cs index 5e6fb5023961..b73afd712ddc 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerRouteAndPathParametersInformationController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerRouteAndPathParametersInformationController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerSystemVoid.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerSystemVoid.cs index b84e81d5ba0d..f4852506b235 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerSystemVoid.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerSystemVoid.cs @@ -1,6 +1,5 @@ - -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityDisabledByConventionController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityDisabledByConventionController.cs index be93692211c8..18741ed75163 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityDisabledByConventionController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityDisabledByConventionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityEnabledByConventionController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityEnabledByConventionController.cs index 055e91e0eabd..40d96eab8cc3 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityEnabledByConventionController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilityEnabledByConventionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilitySetExplicitlyController.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilitySetExplicitlyController.cs index ceeaf65748ff..2d034b9cfe16 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilitySetExplicitlyController.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Controllers/ApiExplorerVisibilitySetExplicitlyController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/Customer.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/Customer.cs index 7a2e6f2e15f6..0009ce0a8624 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/Customer.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/Customer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace ApiExplorerWebSite { diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/CustomerCommentsDTO.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/CustomerCommentsDTO.cs index beaa134a5f73..e741bb3d4b6c 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/CustomerCommentsDTO.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/CustomerCommentsDTO.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/OrderDTO.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/OrderDTO.cs index 02065b5f1f9e..23b347be662f 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/OrderDTO.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/OrderDTO.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/OrderDetailsDTO.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/OrderDetailsDTO.cs index 9b2f5b982909..cf61b18a4c80 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/OrderDetailsDTO.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/OrderDetailsDTO.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/Product.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/Product.cs index 245df86d8bf3..a67832bd83aa 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/Product.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Models/Product.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/PassThruAttribute.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/PassThruAttribute.cs index fa55ef3f837b..9e4f2b2d5659 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/PassThruAttribute.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/PassThruAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/ReloadAttribute.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/ReloadAttribute.cs index 9cb72225399c..bcead69ab78e 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/ReloadAttribute.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/ReloadAttribute.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; namespace ApiExplorerWebSite { diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/Startup.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/Startup.cs index c7cb1554f26a..7bccf12f8a2b 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Linq; diff --git a/src/Mvc/test/WebSites/ApiExplorerWebSite/WellKnownChangeToken.cs b/src/Mvc/test/WebSites/ApiExplorerWebSite/WellKnownChangeToken.cs index a862f4f88f57..39a82734fe65 100644 --- a/src/Mvc/test/WebSites/ApiExplorerWebSite/WellKnownChangeToken.cs +++ b/src/Mvc/test/WebSites/ApiExplorerWebSite/WellKnownChangeToken.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ActionModelController.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ActionModelController.cs index 11d885a73962..1480f17cb0ef 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ActionModelController.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ActionModelController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ApplicationModelController.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ApplicationModelController.cs index d9333559d307..362b2ca23304 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ApplicationModelController.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ApplicationModelController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ControllerModelController.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ControllerModelController.cs index bb94f37756f4..5c1453934fec 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ControllerModelController.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ControllerModelController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/HomeController.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/HomeController.cs index e5c526bb5673..1bd1669e38e0 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/HomeController.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/LicenseController.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/LicenseController.cs index ed428934f546..c3d4815a1ed2 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/LicenseController.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/LicenseController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/MultipleAreasController.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/MultipleAreasController.cs index d80475284b3a..710c79b315d4 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/MultipleAreasController.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/MultipleAreasController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ParameterModelController.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ParameterModelController.cs index e276da511d9c..6a06fe08ad27 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ParameterModelController.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Controllers/ParameterModelController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs index 1056bddb1eaa..d574620b85cc 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ActionDescriptionAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApplicationModels; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ApplicationDescription.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ApplicationDescription.cs index 39f982706301..46087b45f186 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ApplicationDescription.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ApplicationDescription.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationModels; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/CloneActionAttribute.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/CloneActionAttribute.cs index b5a80c8e85eb..6e627bfdf756 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/CloneActionAttribute.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/CloneActionAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/CloneActionConvention.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/CloneActionConvention.cs index 6ce7e6590880..efd0454a6b7e 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/CloneActionConvention.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/CloneActionConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ControllerDescriptionAttribute.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ControllerDescriptionAttribute.cs index 20109b08ad71..ae7ab2cc6293 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ControllerDescriptionAttribute.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ControllerDescriptionAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ApplicationModels; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ControllerLicenseConvention.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ControllerLicenseConvention.cs index b1a3ed90e3e1..725c637dd7ba 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ControllerLicenseConvention.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/ControllerLicenseConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationModels; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs index 8cdd4489e07a..b19441936fb7 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/FromHeaderConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/MultipleAreasAttribute.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/MultipleAreasAttribute.cs index 181bf5e309be..491494fc0ddf 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/MultipleAreasAttribute.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/MultipleAreasAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/MultipleAreasControllerConvention.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/MultipleAreasControllerConvention.cs index 9342bb8bc32e..894edcee31c9 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/MultipleAreasControllerConvention.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Conventions/MultipleAreasControllerConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/ApplicationModelWebSite/Startup.cs b/src/Mvc/test/WebSites/ApplicationModelWebSite/Startup.cs index be51dac7130b..be7126ef8fb6 100644 --- a/src/Mvc/test/WebSites/ApplicationModelWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/ApplicationModelWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/BasicWebSite/ActionDescriptorCreationCounter.cs b/src/Mvc/test/WebSites/BasicWebSite/ActionDescriptorCreationCounter.cs index b865321f47ad..4cab78195b54 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/ActionDescriptorCreationCounter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/ActionDescriptorCreationCounter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_HomeController.cs b/src/Mvc/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_HomeController.cs index fb4629b805ed..a756019fdfd0 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_HomeController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_VerifyController.cs b/src/Mvc/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_VerifyController.cs index 223f8e5aedd1..eac3e32459e5 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_VerifyController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Areas/Area1/Controllers/RemoteAttribute_VerifyController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Areas/Area2/Controllers/RemoteAttribute_VerifyController.cs b/src/Mvc/test/WebSites/BasicWebSite/Areas/Area2/Controllers/RemoteAttribute_VerifyController.cs index 65cca2586051..bc24c5af8fec 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Areas/Area2/Controllers/RemoteAttribute_VerifyController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Areas/Area2/Controllers/RemoteAttribute_VerifyController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/BasicAuthenticationHandler.cs b/src/Mvc/test/WebSites/BasicWebSite/BasicAuthenticationHandler.cs index 0044e91259ee..edaeaeb1aa01 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/BasicAuthenticationHandler.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/BasicAuthenticationHandler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Security.Claims; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Components/PassThroughViewComponent.cs b/src/Mvc/test/WebSites/BasicWebSite/Components/PassThroughViewComponent.cs index e49606578fac..eff51b5d59a9 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Components/PassThroughViewComponent.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Components/PassThroughViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Components/ViewDataViewComponent.cs b/src/Mvc/test/WebSites/BasicWebSite/Components/ViewDataViewComponent.cs index 4e586ee1c934..d56b62a1357e 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Components/ViewDataViewComponent.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Components/ViewDataViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/ConfigureAuthPolicies.cs b/src/Mvc/test/WebSites/BasicWebSite/ConfigureAuthPolicies.cs index feb2cca8b53d..76387c942e7e 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/ConfigureAuthPolicies.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/ConfigureAuthPolicies.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Security.Claims; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Mvc/test/WebSites/BasicWebSite/ContactsRepository.cs b/src/Mvc/test/WebSites/BasicWebSite/ContactsRepository.cs index 49589b48afb1..5ece02825eb4 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/ContactsRepository.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/ContactsRepository.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_MediaTypeSuffix.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_MediaTypeSuffix.cs index a2cb0d616007..84b0460d56d6 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_MediaTypeSuffix.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_MediaTypeSuffix.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_NoFallBackActionController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_NoFallBackActionController.cs index eb9a0a610cd2..9d65b119e21a 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_NoFallBackActionController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_NoFallBackActionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesBaseController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesBaseController.cs index 426c02240e5b..f830fe076bda 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesBaseController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesBaseController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesController.cs index d2c64f8b21d7..536c4c655ccb 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_OveridesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_PassThroughController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_PassThroughController.cs index a689368d0abf..f6a8211d2f44 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_PassThroughController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_PassThroughController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_WithFallbackActionController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_WithFallbackActionController.cs index c2332699add4..1a3343bc6b1f 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_WithFallbackActionController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionConstraints/ConsumesAttribute_WithFallbackActionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionResultOfTController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionResultOfTController.cs index d6fb9607ab6f..86facc96366d 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionResultOfTController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ActionResultOfTController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/AntiforgeryController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/AntiforgeryController.cs index 415a34ba4619..06e584b66790 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/AntiforgeryController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/AntiforgeryController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Filters; using BasicWebSite.Models; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/AsyncActionsController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/AsyncActionsController.cs index b9a5b688535b..9650f962157e 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/AsyncActionsController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/AsyncActionsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/AsyncDisposableController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/AsyncDisposableController.cs index 338ba2b178db..ab29d261c470 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/AsyncDisposableController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/AsyncDisposableController.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/AuthorizeUserController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/AuthorizeUserController.cs index 6de9d484de4e..abb147a23649 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/AuthorizeUserController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/AuthorizeUserController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesController.cs index 0ed0ebf5d4ed..86837fb1c5e3 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesSupportsGetController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesSupportsGetController.cs index b4220801ed99..2ca6305029ce 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesSupportsGetController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesSupportsGetController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesWithValidationController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesWithValidationController.cs index 810226de2bfb..ee900a053af5 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesWithValidationController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/BindPropertiesWithValidationController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContactApiController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContactApiController.cs index d333df973fd4..146cc4ee4938 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContactApiController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContactApiController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ContentNegotiationController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ContentNegotiationController.cs index 7227e77944db..5a07f79a4d6c 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ContentNegotiationController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ContentNegotiationController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FallbackOnTypeBasedMatchController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FallbackOnTypeBasedMatchController.cs index 929c81e0f33d..0f4de75de67b 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FallbackOnTypeBasedMatchController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FallbackOnTypeBasedMatchController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using BasicWebSite.Formatters; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FormatFilterController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FormatFilterController.cs index ec617bdf3ead..f0af847d29ed 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FormatFilterController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/FormatFilterController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Formatters; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/InvalidContentTypeController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/InvalidContentTypeController.cs index 82b2a7fb99bf..b0e656940976 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/InvalidContentTypeController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/InvalidContentTypeController.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc; namespace BasicWebSite.Controllers.ContentNegotiation diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs index c0882c99d4c6..db4b3f48d8ed 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentDoNotTreatNullValueAsNoContentController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentDoNotTreatNullValueAsNoContentController.cs index 5ce41a0b476c..127853569815 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentDoNotTreatNullValueAsNoContentController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoContentDoNotTreatNullValueAsNoContentController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoProducesContentOnClassController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoProducesContentOnClassController.cs index 31c7bd66af81..a3b2a71f8b9c 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoProducesContentOnClassController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NoProducesContentOnClassController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Formatters; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NormalController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NormalController.cs index a86ff9919ab3..39490200da5b 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NormalController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/NormalController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Buffers; using BasicWebSite.Formatters; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentBaseController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentBaseController.cs index 5ffa16fa9e78..528489f24e90 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentBaseController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentBaseController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Formatters; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentOnClassController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentOnClassController.cs index 3fdc37844cd2..76e75dfd1132 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentOnClassController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesContentOnClassController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Formatters; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesJsonController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesJsonController.cs index 1d0fe2b002b8..73fb31f2ab58 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesJsonController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesJsonController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeParametersController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeParametersController.cs index 510c0ce725f3..03c0be966b60 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeParametersController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeParametersController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Formatters; using BasicWebSite.Models; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeSuffixesController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeSuffixesController.cs index fcd9b973d9f2..3e9e6fe1191e 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeSuffixesController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/ProducesWithMediaTypeSuffixesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/TextPlainController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/TextPlainController.cs index 08450ef53b9c..3daa3261c75a 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/TextPlainController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ContentNegotiation/TextPlainController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/DefaultValuesController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/DefaultValuesController.cs index 3bf963c3ebe9..e8553ceebf82 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/DefaultValuesController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/DefaultValuesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/FiltersController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/FiltersController.cs index 75addb6f6bd5..459ce5218fad 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/FiltersController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/FiltersController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/HomeController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/HomeController.cs index 802d73829750..4bb4b92d7188 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/HomeController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithNewtonsoftJsonController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithNewtonsoftJsonController.cs index 47f2616b1cfd..76d37558c2f3 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithNewtonsoftJsonController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithNewtonsoftJsonController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.NewtonsoftJson; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithSystemTextJsonController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithSystemTextJsonController.cs index 28362c511d9d..33dc1a6ac7d4 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithSystemTextJsonController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/JsonResultWithSystemTextJsonController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text.Json; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/LinksController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/LinksController.cs index 990fdc3ebb9f..7c98e70ec846 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/LinksController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/LinksController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/OrdersController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/OrdersController.cs index a25fc4daf835..86e1b7d8fa05 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/OrdersController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/OrdersController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/ProductsController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/ProductsController.cs index 4f2571ef4c53..626b2325529e 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/ProductsController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/LinkGeneration/ProductsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/MonitorController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/MonitorController.cs index 5732b9ac4dd2..3bad210b8a00 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/MonitorController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/MonitorController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/NonNullableController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/NonNullableController.cs index 881706e9eb92..be765d40275e 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/NonNullableController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/NonNullableController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. #nullable enable using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/PageRouteController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/PageRouteController.cs index 2f2073be0699..bea7c2597697 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/PageRouteController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/PageRouteController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/PassThroughController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/PassThroughController.cs index d1101b2f7624..8633108732ef 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/PassThroughController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/PassThroughController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Components; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RazorComponentsController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RazorComponentsController.cs index 2af557a16075..c2bf26861913 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RazorComponentsController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RazorComponentsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ReadFromThrowingRequestBodyController .cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ReadFromThrowingRequestBodyController .cs index 07c2c04e4849..d9ecf35fee35 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ReadFromThrowingRequestBodyController .cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ReadFromThrowingRequestBodyController .cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_HomeController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_HomeController.cs index 5e75011496a4..7366344027a0 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_HomeController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_VerifyController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_VerifyController.cs index ab027927fde5..66a1f0c67abe 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_VerifyController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RemoteAttribute_VerifyController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestFormLimitsController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestFormLimitsController.cs index 5bca108bbf7b..dcf408b2ebfb 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestFormLimitsController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestFormLimitsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestScopedServiceController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestScopedServiceController.cs index a7bd55221703..9382e08da886 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestScopedServiceController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestScopedServiceController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestSizeLimitController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestSizeLimitController.cs index 535ba80889a9..547d34013925 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestSizeLimitController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RequestSizeLimitController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RoutingController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RoutingController.cs index d20cbfd2a988..dba4a42cd71c 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/RoutingController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/RoutingController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/SqlDataController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/SqlDataController.cs index b11d6116f6be..31285fd67181 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/SqlDataController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/SqlDataController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/TempDataController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/TempDataController.cs index 0753a3221af7..c194161c184a 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/TempDataController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/TempDataController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/TempDataPropertyController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/TempDataPropertyController.cs index 75994f0b1a8b..d71a29f2f0cf 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/TempDataPropertyController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/TempDataPropertyController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/TestingController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/TestingController.cs index 882ed935c9e4..a6585ada8bad 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/TestingController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/TestingController.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/UsersController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/UsersController.cs index 69f4f9d2bf15..eb2de115c6de 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/UsersController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/UsersController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ViewDataPropertyController.cs b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ViewDataPropertyController.cs index 4041c8ffdb99..f2b9443fc3e2 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Controllers/ViewDataPropertyController.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Controllers/ViewDataPropertyController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using BasicWebSite.Components; using BasicWebSite.Models; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Conventions/ApplicationDescription.cs b/src/Mvc/test/WebSites/BasicWebSite/Conventions/ApplicationDescription.cs index 88bf1f27e2ee..6035727f07b5 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Conventions/ApplicationDescription.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Conventions/ApplicationDescription.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationModels; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Filters/RedirectAntiforgeryValidationFailedResultFilter.cs b/src/Mvc/test/WebSites/BasicWebSite/Filters/RedirectAntiforgeryValidationFailedResultFilter.cs index ca7c61781bd1..a54a8939f369 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Filters/RedirectAntiforgeryValidationFailedResultFilter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Filters/RedirectAntiforgeryValidationFailedResultFilter.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Core.Infrastructure; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Filters/RequestIdService.cs b/src/Mvc/test/WebSites/BasicWebSite/Filters/RequestIdService.cs index 5b294796bd4e..685a346dfc99 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Filters/RequestIdService.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Filters/RequestIdService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Filters/ServiceActionFilter.cs b/src/Mvc/test/WebSites/BasicWebSite/Filters/ServiceActionFilter.cs index 68f002cab238..b4bfbb103c9c 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Filters/ServiceActionFilter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Filters/ServiceActionFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Filters/TestExceptionFilter.cs b/src/Mvc/test/WebSites/BasicWebSite/Filters/TestExceptionFilter.cs index 592d36dcd266..0fff70d551e6 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Filters/TestExceptionFilter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Filters/TestExceptionFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Filters/TraceOutputResultFilter.cs b/src/Mvc/test/WebSites/BasicWebSite/Filters/TraceOutputResultFilter.cs index 91c3b8d4b033..1a189a2e2a31 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Filters/TraceOutputResultFilter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Filters/TraceOutputResultFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Filters/TraceResourceFilter.cs b/src/Mvc/test/WebSites/BasicWebSite/Filters/TraceResourceFilter.cs index 2a2196d47a7d..a09d64359388 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Filters/TraceResourceFilter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Filters/TraceResourceFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Filters/UnprocessableResultFilter.cs b/src/Mvc/test/WebSites/BasicWebSite/Filters/UnprocessableResultFilter.cs index ac85a6fc907f..b073849493b5 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Filters/UnprocessableResultFilter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Filters/UnprocessableResultFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Formatters/CustomFormatter.cs b/src/Mvc/test/WebSites/BasicWebSite/Formatters/CustomFormatter.cs index 61274b871671..1d04cfd2c7ec 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Formatters/CustomFormatter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Formatters/CustomFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Formatters/PlainTextFormatter.cs b/src/Mvc/test/WebSites/BasicWebSite/Formatters/PlainTextFormatter.cs index 5978642deebd..c629a2d308ca 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Formatters/PlainTextFormatter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Formatters/PlainTextFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V3.cs b/src/Mvc/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V3.cs index 96b8471e35b9..2aac52cf5600 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V3.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V3.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V4.cs b/src/Mvc/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V4.cs index 25a0f166573d..c2ba0839c972 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V4.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Formatters/VCardFormatter_V4.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/test/WebSites/BasicWebSite/LocalizationPipeline.cs b/src/Mvc/test/WebSites/BasicWebSite/LocalizationPipeline.cs index 9273dbcbaa55..9203546ab445 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/LocalizationPipeline.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/LocalizationPipeline.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/BasicWebSite/ManagerHandler.cs b/src/Mvc/test/WebSites/BasicWebSite/ManagerHandler.cs index b681e2175719..04f6802b045d 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/ManagerHandler.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/ManagerHandler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Security.Claims; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/Contact.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/Contact.cs index a6514e7e1027..cd04b6818bf2 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/Contact.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/Contact.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/GenderType.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/GenderType.cs index 850c5477c7f6..eab35ca23398 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/GenderType.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/GenderType.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace BasicWebSite.Models { diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/LoginViewModel.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/LoginViewModel.cs index 6e524a3b70be..6698d66415ef 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/LoginViewModel.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/LoginViewModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/Person.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/Person.cs index 7fec349f3464..ff3c732309e3 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/Person.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/Person.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace BasicWebSite.Models { diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/Product.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/Product.cs index f3bffd90cda1..a56b8997c2f1 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/Product.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/Product.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/Product_Json.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/Product_Json.cs index c7c15d5af06b..7de1929f430f 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/Product_Json.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/Product_Json.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace BasicWebSite.Models { diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/Product_Xml.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/Product_Xml.cs index 09e216e4adac..3cc58dc5ed27 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/Product_Xml.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/Product_Xml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace BasicWebSite.Models { diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/Product_text.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/Product_text.cs index dc78b3edd224..e4486b1edfc7 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/Product_text.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/Product_text.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace BasicWebSite.Models { diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/RemoteAttributeUser.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/RemoteAttributeUser.cs index 754e0a521246..ae239796645d 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/RemoteAttributeUser.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/RemoteAttributeUser.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Models/User.cs b/src/Mvc/test/WebSites/BasicWebSite/Models/User.cs index 7c2b6655cbab..34f317a0245d 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Models/User.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Models/User.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Operations.cs b/src/Mvc/test/WebSites/BasicWebSite/Operations.cs index 2ce19488c036..9dd65f425312 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Operations.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Operations.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization.Infrastructure; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Program.cs b/src/Mvc/test/WebSites/BasicWebSite/Program.cs index 88a390d4223c..8e7ad26624ce 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Program.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Program.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/WebSites/BasicWebSite/RequestIdMiddleware.cs b/src/Mvc/test/WebSites/BasicWebSite/RequestIdMiddleware.cs index fd2227bf23bf..25d14723c8ef 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/RequestIdMiddleware.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/RequestIdMiddleware.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/BasicWebSite/RequestIdViewComponent.cs b/src/Mvc/test/WebSites/BasicWebSite/RequestIdViewComponent.cs index 4ba0f7937ebf..97fc71f17c44 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/RequestIdViewComponent.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/RequestIdViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/RequestScopedActionConstraint.cs b/src/Mvc/test/WebSites/BasicWebSite/RequestScopedActionConstraint.cs index ed5a267e3b7e..8fcb52cd7497 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/RequestScopedActionConstraint.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/RequestScopedActionConstraint.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Concurrent; diff --git a/src/Mvc/test/WebSites/BasicWebSite/RequestScopedFilter.cs b/src/Mvc/test/WebSites/BasicWebSite/RequestScopedFilter.cs index 033cddbbc71c..35e765fcbe4a 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/RequestScopedFilter.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/RequestScopedFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/RequestScopedTagHelper.cs b/src/Mvc/test/WebSites/BasicWebSite/RequestScopedTagHelper.cs index f1fcff36236f..bd0b1fa00613 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/RequestScopedTagHelper.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/RequestScopedTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Services/WeatherForecastService.cs b/src/Mvc/test/WebSites/BasicWebSite/Services/WeatherForecastService.cs index 5491c579ec9f..4e326097f7bf 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Services/WeatherForecastService.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Services/WeatherForecastService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net.Http; diff --git a/src/Mvc/test/WebSites/BasicWebSite/Startup.cs b/src/Mvc/test/WebSites/BasicWebSite/Startup.cs index ad0aa1bbdd75..29afe246091d 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/StartupRequestLimitSize.cs b/src/Mvc/test/WebSites/BasicWebSite/StartupRequestLimitSize.cs index f07cd83b6a26..b9e96679887d 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/StartupRequestLimitSize.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/StartupRequestLimitSize.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/test/WebSites/BasicWebSite/StartupWhereReadingRequestBodyThrows.cs b/src/Mvc/test/WebSites/BasicWebSite/StartupWhereReadingRequestBodyThrows.cs index 7e0b0c6637e7..462192d728ca 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/StartupWhereReadingRequestBodyThrows.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/StartupWhereReadingRequestBodyThrows.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/test/WebSites/BasicWebSite/StartupWithCookieTempDataProviderAndCookieConsent.cs b/src/Mvc/test/WebSites/BasicWebSite/StartupWithCookieTempDataProviderAndCookieConsent.cs index a80d41d673ff..e4e183bc8d5f 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/StartupWithCookieTempDataProviderAndCookieConsent.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/StartupWithCookieTempDataProviderAndCookieConsent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/StartupWithCustomInvalidModelStateFactory.cs b/src/Mvc/test/WebSites/BasicWebSite/StartupWithCustomInvalidModelStateFactory.cs index 90ef21416e8d..7355e4444820 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/StartupWithCustomInvalidModelStateFactory.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/StartupWithCustomInvalidModelStateFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Authentication; diff --git a/src/Mvc/test/WebSites/BasicWebSite/StartupWithNewtonsoftJson.cs b/src/Mvc/test/WebSites/BasicWebSite/StartupWithNewtonsoftJson.cs index eee75bb925a5..0ee0dad2d24e 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/StartupWithNewtonsoftJson.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/StartupWithNewtonsoftJson.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/StartupWithSessionTempDataProvider.cs b/src/Mvc/test/WebSites/BasicWebSite/StartupWithSessionTempDataProvider.cs index ab9192a61f34..9c0b1007bae7 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/StartupWithSessionTempDataProvider.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/StartupWithSessionTempDataProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/StartupWithSystemTextJson.cs b/src/Mvc/test/WebSites/BasicWebSite/StartupWithSystemTextJson.cs index 04601e20a0e8..6bf0cb0f5533 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/StartupWithSystemTextJson.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/StartupWithSystemTextJson.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/StartupWithoutEndpointRouting.cs b/src/Mvc/test/WebSites/BasicWebSite/StartupWithoutEndpointRouting.cs index 3a979735267a..2579d81152cc 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/StartupWithoutEndpointRouting.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/StartupWithoutEndpointRouting.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Net.Http; diff --git a/src/Mvc/test/WebSites/BasicWebSite/StoreIntoTempDataActionResult.cs b/src/Mvc/test/WebSites/BasicWebSite/StoreIntoTempDataActionResult.cs index 38c7b3a31d1a..6fc549edcddd 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/StoreIntoTempDataActionResult.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/StoreIntoTempDataActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/BasicWebSite/VndErrorAttribute.cs b/src/Mvc/test/WebSites/BasicWebSite/VndErrorAttribute.cs index c5b3f973e5de..f55e68bc650d 100644 --- a/src/Mvc/test/WebSites/BasicWebSite/VndErrorAttribute.cs +++ b/src/Mvc/test/WebSites/BasicWebSite/VndErrorAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/test/WebSites/Common/TestResponseGenerator.cs b/src/Mvc/test/WebSites/Common/TestResponseGenerator.cs index 21d97865c5b4..235f725d996d 100644 --- a/src/Mvc/test/WebSites/Common/TestResponseGenerator.cs +++ b/src/Mvc/test/WebSites/Common/TestResponseGenerator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ClientUIStubController.cs b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ClientUIStubController.cs index 62564175d59f..b1da78f4a151 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ClientUIStubController.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ClientUIStubController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ControllerWithConstructorInjection.cs b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ControllerWithConstructorInjection.cs index 12beb114fab0..e29abdb11943 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ControllerWithConstructorInjection.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ControllerWithConstructorInjection.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/EmployeeRecords.cs b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/EmployeeRecords.cs index 840e891e9770..96c88ca9658a 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/EmployeeRecords.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/EmployeeRecords.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/GenericController.cs b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/GenericController.cs index e0d5cebd8882..8f6664a52e70 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/GenericController.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/GenericController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/Inventory.cs b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/Inventory.cs index 491994140c8f..c814deea657b 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/Inventory.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/Inventory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/NestedControllerOwner.cs b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/NestedControllerOwner.cs index 0ece0dc75c87..54c78d619e07 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/NestedControllerOwner.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/NestedControllerOwner.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/QueryValueService.cs b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/QueryValueService.cs index 6b4a752f6ab1..287d58fd2a6f 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/QueryValueService.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/QueryValueService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ResourcesController.cs b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ResourcesController.cs index 779e9f4ffc64..506c797f3277 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ResourcesController.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/ResourcesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/TimeScheduleController.cs b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/TimeScheduleController.cs index c44e7548bb4f..93e8eba3b6db 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/TimeScheduleController.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesClassLibrary/TimeScheduleController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/AnotherController.cs b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/AnotherController.cs index 28343ab5048c..81fb0d714a7d 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/AnotherController.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/AnotherController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/Components/ComponentFromServicesViewComponent.cs b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/Components/ComponentFromServicesViewComponent.cs index 54901d4fbbc0..5ee934a3096d 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/Components/ComponentFromServicesViewComponent.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/Components/ComponentFromServicesViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/NotInServicesController.cs b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/NotInServicesController.cs index ff89bb3f1c04..13ef2c20863c 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/NotInServicesController.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/NotInServicesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/Startup.cs b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/Startup.cs index 4193dac080d3..6a4ed9a856e1 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/TagHelpers/InServicesTagHelper.cs b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/TagHelpers/InServicesTagHelper.cs index 778bb1724d9a..1d104e2edd6a 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/TagHelpers/InServicesTagHelper.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/TagHelpers/InServicesTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/ValueService.cs b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/ValueService.cs index f08089282baf..fb771955095a 100644 --- a/src/Mvc/test/WebSites/ControllersFromServicesWebSite/ValueService.cs +++ b/src/Mvc/test/WebSites/ControllersFromServicesWebSite/ValueService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace ControllersFromServicesWebSite { diff --git a/src/Mvc/test/WebSites/CorsWebSite/Controllers/BlogController.cs b/src/Mvc/test/WebSites/CorsWebSite/Controllers/BlogController.cs index 96aa4f77f034..f0a4cccd28c8 100644 --- a/src/Mvc/test/WebSites/CorsWebSite/Controllers/BlogController.cs +++ b/src/Mvc/test/WebSites/CorsWebSite/Controllers/BlogController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Cors; diff --git a/src/Mvc/test/WebSites/CorsWebSite/Controllers/CustomerController.cs b/src/Mvc/test/WebSites/CorsWebSite/Controllers/CustomerController.cs index af6a3369c50d..2b4fbcdb6590 100644 --- a/src/Mvc/test/WebSites/CorsWebSite/Controllers/CustomerController.cs +++ b/src/Mvc/test/WebSites/CorsWebSite/Controllers/CustomerController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Cors; diff --git a/src/Mvc/test/WebSites/CorsWebSite/Controllers/StoreController.cs b/src/Mvc/test/WebSites/CorsWebSite/Controllers/StoreController.cs index ec4dd879d96b..722d9d0b7388 100644 --- a/src/Mvc/test/WebSites/CorsWebSite/Controllers/StoreController.cs +++ b/src/Mvc/test/WebSites/CorsWebSite/Controllers/StoreController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Cors; diff --git a/src/Mvc/test/WebSites/CorsWebSite/Filters/AllRequestsBlockingAuthorizationFilter.cs b/src/Mvc/test/WebSites/CorsWebSite/Filters/AllRequestsBlockingAuthorizationFilter.cs index 02c1c27207e9..946fd1adf6ca 100644 --- a/src/Mvc/test/WebSites/CorsWebSite/Filters/AllRequestsBlockingAuthorizationFilter.cs +++ b/src/Mvc/test/WebSites/CorsWebSite/Filters/AllRequestsBlockingAuthorizationFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/CorsWebSite/Program.cs b/src/Mvc/test/WebSites/CorsWebSite/Program.cs index b58c5ff2f47c..6f20012732c6 100644 --- a/src/Mvc/test/WebSites/CorsWebSite/Program.cs +++ b/src/Mvc/test/WebSites/CorsWebSite/Program.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/WebSites/CorsWebSite/Startup.cs b/src/Mvc/test/WebSites/CorsWebSite/Startup.cs index de821da8621a..5ce81277e291 100644 --- a/src/Mvc/test/WebSites/CorsWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/CorsWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Cors.Infrastructure; diff --git a/src/Mvc/test/WebSites/CorsWebSite/StartupWithoutEndpointRouting.cs b/src/Mvc/test/WebSites/CorsWebSite/StartupWithoutEndpointRouting.cs index 0ab34118f075..94ed10621c29 100644 --- a/src/Mvc/test/WebSites/CorsWebSite/StartupWithoutEndpointRouting.cs +++ b/src/Mvc/test/WebSites/CorsWebSite/StartupWithoutEndpointRouting.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/AggregateExceptionController.cs b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/AggregateExceptionController.cs index b648318cb0aa..bab97471c06a 100644 --- a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/AggregateExceptionController.cs +++ b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/AggregateExceptionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareController.cs b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareController.cs index ba17eca5f88f..286a22cae869 100644 --- a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareController.cs +++ b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/ErrorPageMiddlewareController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Reflection; diff --git a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs index 39143c0bf3c2..529482da7881 100644 --- a/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/ErrorPageMiddlewareWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/FilesWebSite/Controllers/DownloadFilesController.cs b/src/Mvc/test/WebSites/FilesWebSite/Controllers/DownloadFilesController.cs index 27b8dbfe5b91..33a60875fa83 100644 --- a/src/Mvc/test/WebSites/FilesWebSite/Controllers/DownloadFilesController.cs +++ b/src/Mvc/test/WebSites/FilesWebSite/Controllers/DownloadFilesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.IO; diff --git a/src/Mvc/test/WebSites/FilesWebSite/Controllers/EmbeddedFilesController.cs b/src/Mvc/test/WebSites/FilesWebSite/Controllers/EmbeddedFilesController.cs index 64e834742d28..5991a4ae66d6 100644 --- a/src/Mvc/test/WebSites/FilesWebSite/Controllers/EmbeddedFilesController.cs +++ b/src/Mvc/test/WebSites/FilesWebSite/Controllers/EmbeddedFilesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FilesWebSite/Controllers/UploadFilesController.cs b/src/Mvc/test/WebSites/FilesWebSite/Controllers/UploadFilesController.cs index 3797be526967..b9df432b2fad 100644 --- a/src/Mvc/test/WebSites/FilesWebSite/Controllers/UploadFilesController.cs +++ b/src/Mvc/test/WebSites/FilesWebSite/Controllers/UploadFilesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/FilesWebSite/Models/Product.cs b/src/Mvc/test/WebSites/FilesWebSite/Models/Product.cs index 8d8921d1b0a0..66cb4db73697 100644 --- a/src/Mvc/test/WebSites/FilesWebSite/Models/Product.cs +++ b/src/Mvc/test/WebSites/FilesWebSite/Models/Product.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/FilesWebSite/Models/User.cs b/src/Mvc/test/WebSites/FilesWebSite/Models/User.cs index 76b32c6ae840..e80b82c3629e 100644 --- a/src/Mvc/test/WebSites/FilesWebSite/Models/User.cs +++ b/src/Mvc/test/WebSites/FilesWebSite/Models/User.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/FilesWebSite/Startup.cs b/src/Mvc/test/WebSites/FilesWebSite/Startup.cs index 7b7cb6aa91ae..65de42cd0b78 100644 --- a/src/Mvc/test/WebSites/FilesWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/FilesWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/AsyncEnumerableController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/AsyncEnumerableController.cs index 864e385c7638..584346eb5f2e 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/AsyncEnumerableController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/AsyncEnumerableController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/DataContractSerializerController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/DataContractSerializerController.cs index 0eaab3d11bf3..3af622e39a0d 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/DataContractSerializerController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/DataContractSerializerController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/DoNotRespectBrowserAcceptHeaderController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/DoNotRespectBrowserAcceptHeaderController.cs index 1684348e27e6..bbb987e54706 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/DoNotRespectBrowserAcceptHeaderController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/DoNotRespectBrowserAcceptHeaderController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/HomeController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/HomeController.cs index 885374699480..c22d8f6a495f 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/HomeController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/InputFormatterController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/InputFormatterController.cs index 8d81f010ca7a..e7a08ee2eb1b 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/InputFormatterController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/InputFormatterController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonFormatterController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonFormatterController.cs index 07ae37feaf83..3a2b625906fe 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonFormatterController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonFormatterController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Buffers; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonInputFormatterController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonInputFormatterController.cs index ccd6ca3e36a6..d8893f8ac226 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonInputFormatterController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonInputFormatterController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonOutputFormatterController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonOutputFormatterController.cs index 67ae87d4829e..7daa6bd23d13 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonOutputFormatterController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonOutputFormatterController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonPatchController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonPatchController.cs index 634388bc255c..9884813a7d9c 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonPatchController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/JsonPatchController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.JsonPatch; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/PolymorphicBindingController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/PolymorphicBindingController.cs index 9358ec50d62d..57f679f1c138 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/PolymorphicBindingController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/PolymorphicBindingController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using FormatterWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/PolymorphicPropertyBindingController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/PolymorphicPropertyBindingController.cs index 2d428f9f4f46..9c74827f25a0 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/PolymorphicPropertyBindingController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/PolymorphicPropertyBindingController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using FormatterWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/RespectBrowserAcceptHeaderController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/RespectBrowserAcceptHeaderController.cs index d5b95b30d41b..ccd9e4de95bb 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/RespectBrowserAcceptHeaderController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/RespectBrowserAcceptHeaderController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/SerializableErrorController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/SerializableErrorController.cs index d40115fb86e0..2198ac0444d1 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/SerializableErrorController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/SerializableErrorController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/StreamController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/StreamController.cs index 7856d5adfaf0..015e3d300ebb 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/StreamController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/StreamController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/TestApiController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/TestApiController.cs index 832a5917c688..bc2c28ed851b 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/TestApiController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/TestApiController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using FormatterWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/TopLevelValidationController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/TopLevelValidationController.cs index 92b27adaf47c..b33ac9489be5 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/TopLevelValidationController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/TopLevelValidationController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs index 997bdf4b2db6..07a5ea5b03e4 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/ValidationController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using FormatterWebSite.Models; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/XmlSerializerController.cs b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/XmlSerializerController.cs index 0fffe773eefe..7a8b59b3b151 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Controllers/XmlSerializerController.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Controllers/XmlSerializerController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Filters/ModelStateValidationFilterAttribute.cs b/src/Mvc/test/WebSites/FormatterWebSite/Filters/ModelStateValidationFilterAttribute.cs index 12f5ec0fcb7f..8dd105ba29c9 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Filters/ModelStateValidationFilterAttribute.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Filters/ModelStateValidationFilterAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/IModelConverter.cs b/src/Mvc/test/WebSites/FormatterWebSite/IModelConverter.cs index 1ce4131f173d..fe8f845dac37 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/IModelConverter.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/IModelConverter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using FormatterWebSite.Models; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/BaseModel.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/BaseModel.cs index b7b6567b1e9b..b208d7f4fd46 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/BaseModel.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/BaseModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace FormatterWebSite.Models { diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/BookModelWithNoValidation.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/BookModelWithNoValidation.cs index ad13253e0310..571a4743eb77 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/BookModelWithNoValidation.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/BookModelWithNoValidation.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Runtime.Serialization; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/DerivedDummyClass.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/DerivedDummyClass.cs index 278056afdf18..ad287f9cd645 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/DerivedDummyClass.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/DerivedDummyClass.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace FormatterWebSite { diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/DerivedModel.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/DerivedModel.cs index 2b10ac357a8a..eb6ae5abbe5c 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/DerivedModel.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/DerivedModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/Developer.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/Developer.cs index 4b7195f8cb68..edb311b252c2 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/Developer.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/Developer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/DummyClass.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/DummyClass.cs index 6d052682e2a8..0edc2611216d 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/DummyClass.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/DummyClass.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.Serialization; using System.Xml.Serialization; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/Employee.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/Employee.cs index 99c1ca8ef165..a7c52539e681 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/Employee.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/Employee.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/ErrorInfo.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/ErrorInfo.cs index c14c6d49807d..cdb9405bddc4 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/ErrorInfo.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/ErrorInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/IModel.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/IModel.cs index ce6e4b6d9b53..b77a2f4b4324 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/IModel.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/IModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace FormatterWebSite.Models { diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/InfinitelyRecursiveModel.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/InfinitelyRecursiveModel.cs index 370151143ed3..2f3c7c3147ff 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/InfinitelyRecursiveModel.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/InfinitelyRecursiveModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Newtonsoft.Json; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/InvalidModel.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/InvalidModel.cs index deda9398a328..2aaa5bc10bbe 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/InvalidModel.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/InvalidModel.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace FormatterWebSite.Models diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/Person.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/Person.cs index d84da1c2c742..5a21dd151384 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/Person.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/Person.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.Serialization; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/Product.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/Product.cs index ed14c8f0f8c8..e34c3eb24957 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/Product.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/Product.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/Project.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/Project.cs index d3e53f0d175e..1688c170fb2f 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/Project.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/Project.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/RecursiveIdentifier.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/RecursiveIdentifier.cs index 49351cb7c50d..79161504fd68 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/RecursiveIdentifier.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/RecursiveIdentifier.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/Review.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/Review.cs index dc8ad3027150..e4d1e146d721 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/Review.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/Review.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace FormatterWebSite { diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/SimpleTypePropertiesModel.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/SimpleTypePropertiesModel.cs index 878e465186e4..4dc743702ad9 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/SimpleTypePropertiesModel.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/SimpleTypePropertiesModel.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.ComponentModel.DataAnnotations; namespace FormatterWebSite diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/User.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/User.cs index 80952139f0f8..871985ac6aeb 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/User.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/User.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using System.Runtime.Serialization; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Models/ValidationProviderAttributeModel.cs b/src/Mvc/test/WebSites/FormatterWebSite/Models/ValidationProviderAttributeModel.cs index 05a3a0da75d9..cf43cdea87bd 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Models/ValidationProviderAttributeModel.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Models/ValidationProviderAttributeModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/PolymorphicBinder.cs b/src/Mvc/test/WebSites/FormatterWebSite/PolymorphicBinder.cs index e7eefb71c2c3..ede2e6d0288f 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/PolymorphicBinder.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/PolymorphicBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using FormatterWebSite.Models; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Program.cs b/src/Mvc/test/WebSites/FormatterWebSite/Program.cs index 16c54a70dc81..008b2e3ffea5 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Program.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Program.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/Startup.cs b/src/Mvc/test/WebSites/FormatterWebSite/Startup.cs index b25ebaeffd61..c5e7e29202d7 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/StartupWithComplexParentValidation.cs b/src/Mvc/test/WebSites/FormatterWebSite/StartupWithComplexParentValidation.cs index 8def682f3c63..b0bf84c788e6 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/StartupWithComplexParentValidation.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/StartupWithComplexParentValidation.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/StartupWithJsonInputFormatter.cs b/src/Mvc/test/WebSites/FormatterWebSite/StartupWithJsonInputFormatter.cs index 546b6c065edf..8d0bdacdbea7 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/StartupWithJsonInputFormatter.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/StartupWithJsonInputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/StartupWithRespectBrowserAcceptHeader.cs b/src/Mvc/test/WebSites/FormatterWebSite/StartupWithRespectBrowserAcceptHeader.cs index 5459a54b36b6..e93d334c9972 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/StartupWithRespectBrowserAcceptHeader.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/StartupWithRespectBrowserAcceptHeader.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/StringInputFormatter.cs b/src/Mvc/test/WebSites/FormatterWebSite/StringInputFormatter.cs index 746b1ea569a8..63f9227be34a 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/StringInputFormatter.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/StringInputFormatter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Text; diff --git a/src/Mvc/test/WebSites/FormatterWebSite/ValidateBodyParameterAttribute.cs b/src/Mvc/test/WebSites/FormatterWebSite/ValidateBodyParameterAttribute.cs index 0be7c1fc33aa..cd9f507d2f33 100644 --- a/src/Mvc/test/WebSites/FormatterWebSite/ValidateBodyParameterAttribute.cs +++ b/src/Mvc/test/WebSites/FormatterWebSite/ValidateBodyParameterAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/GenericHostWebSite/Controllers/TestingController.cs b/src/Mvc/test/WebSites/GenericHostWebSite/Controllers/TestingController.cs index cf254f717b22..7bf0df332488 100644 --- a/src/Mvc/test/WebSites/GenericHostWebSite/Controllers/TestingController.cs +++ b/src/Mvc/test/WebSites/GenericHostWebSite/Controllers/TestingController.cs @@ -1,4 +1,7 @@ -using System; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System; using System.Collections.Generic; using System.Globalization; using System.Linq; diff --git a/src/Mvc/test/WebSites/GenericHostWebSite/Program.cs b/src/Mvc/test/WebSites/GenericHostWebSite/Program.cs index 81389a14946d..deb71d6d60b9 100644 --- a/src/Mvc/test/WebSites/GenericHostWebSite/Program.cs +++ b/src/Mvc/test/WebSites/GenericHostWebSite/Program.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/WebSites/GenericHostWebSite/Startup.cs b/src/Mvc/test/WebSites/GenericHostWebSite/Startup.cs index 65c51572dfc4..bd0d24b1a754 100644 --- a/src/Mvc/test/WebSites/GenericHostWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/GenericHostWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Areas/Customer/Controllers/HtmlGeneration_CustomerController.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Areas/Customer/Controllers/HtmlGeneration_CustomerController.cs index b1d021a62a16..3135d2392f8a 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Areas/Customer/Controllers/HtmlGeneration_CustomerController.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Areas/Customer/Controllers/HtmlGeneration_CustomerController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/CheckViewData - LackModel.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/CheckViewData - LackModel.cs index b7e4668c5b55..db30de9f975b 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/CheckViewData - LackModel.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/CheckViewData - LackModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using HtmlGenerationWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/CheckViewData.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/CheckViewData.cs index 038d900db5c0..d2d5b39fbf5f 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/CheckViewData.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/CheckViewData.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding.Metadata; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/SplashViewComponent.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/SplashViewComponent.cs index 2edc2c7b6fbf..e7c9b38d40e2 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/SplashViewComponent.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Components/SplashViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/Catalog_CacheTagHelperController.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/Catalog_CacheTagHelperController.cs index d72098f43fed..4223ab825332 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/Catalog_CacheTagHelperController.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/Catalog_CacheTagHelperController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Security.Claims; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/CheckViewData.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/CheckViewData.cs index ade765425d7c..a7f0ae227e8a 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/CheckViewData.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/CheckViewData.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using HtmlGenerationWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_HomeController.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_HomeController.cs index 184055fb7507..bcb9fb59e1b5 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_HomeController.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_OrderController.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_OrderController.cs index 0862ee8c81ac..fc528d9f829c 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_OrderController.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_OrderController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using HtmlGenerationWebSite.Models; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_ProductController.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_ProductController.cs index 8c5751e4e306..9751046b37e9 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_ProductController.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_ProductController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using HtmlGenerationWebSite.Models; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_WeirdExpressions.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_WeirdExpressions.cs index 7281b6cce1b9..70e3343d610a 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_WeirdExpressions.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Controllers/HtmlGeneration_WeirdExpressions.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using HtmlGenerationWebSite.Models; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/ISignalTokenProviderService.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/ISignalTokenProviderService.cs index 370bc89ca0e7..98f1702c5bd6 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/ISignalTokenProviderService.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/ISignalTokenProviderService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Extensions.Primitives; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/AClass.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/AClass.cs index 23d303548808..bbd109c5afd1 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/AClass.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/AClass.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Customer.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Customer.cs index 202611dfb807..3f1e9fada9a1 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Customer.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Customer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/CustomerRecord.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/CustomerRecord.cs index d131f08484af..e119b64a0d6f 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/CustomerRecord.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/CustomerRecord.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/DayOfWeek.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/DayOfWeek.cs index 059df041de30..64116f182648 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/DayOfWeek.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/DayOfWeek.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Employee.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Employee.cs index cb9a0e407898..373f5b2414f6 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Employee.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Employee.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Folder.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Folder.cs index 5913299e3b1c..873c7eb3d7d4 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Folder.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Folder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Gender.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Gender.cs index b6d83253a4b9..c64ae85e1b80 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Gender.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Gender.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Item.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Item.cs index 60de1684c2ea..b04f3f5c7603 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Item.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Item.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Month.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Month.cs index 23b936a5337e..fc87980a2555 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Month.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Month.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Order.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Order.cs index 7110fde81a62..7c2f67713b95 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Order.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Order.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/PartialModel.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/PartialModel.cs index 5cb34225cd6b..58015078aee6 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/PartialModel.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/PartialModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Person.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Person.cs index d53521c3067b..d85370d9bd9a 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Person.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Person.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Product.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Product.cs index 9a70476b3393..338bf5602f03 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Product.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Product.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ProductRecommendations.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ProductRecommendations.cs index 648a541751d5..9e38b6fe394d 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ProductRecommendations.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ProductRecommendations.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/StatusMessageModel.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/StatusMessageModel.cs index 62161e05cc71..b790698ec288 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/StatusMessageModel.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/StatusMessageModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/SuperTemplateModel.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/SuperTemplateModel.cs index e599bddc03e3..54bd802d4891 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/SuperTemplateModel.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/SuperTemplateModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/SuperViewModel.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/SuperViewModel.cs index 540cda73d554..cf09ed875e61 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/SuperViewModel.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/SuperViewModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/TemplateModel.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/TemplateModel.cs index f2e5f9f53031..ab044ce9e1d6 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/TemplateModel.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/TemplateModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ValidationProviderAttributeModel.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ValidationProviderAttributeModel.cs index 4c6669f060c5..654f4dd609ed 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ValidationProviderAttributeModel.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ValidationProviderAttributeModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ViewModel.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ViewModel.cs index 564502b91d58..832b5878b0fb 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ViewModel.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/ViewModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace HtmlGenerationWebSite.Models { diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Warehouse.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Warehouse.cs index fa8bd6b02d46..c390d8733bbf 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Warehouse.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/Warehouse.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/WeirdModel.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/WeirdModel.cs index 8dce43788964..5cf3877b7d01 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/WeirdModel.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Models/WeirdModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/ProductsService.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/ProductsService.cs index c2ce3d45869c..818d3c4ed1fc 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/ProductsService.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/ProductsService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/SignalTokenProviderService.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/SignalTokenProviderService.cs index d45e29118254..3db0fdb66bb2 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/SignalTokenProviderService.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/SignalTokenProviderService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Concurrent; using System.Threading; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Startup.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Startup.cs index 7d0b7258dc94..d4dc47caf146 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/StartupWithCultureReplace.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/StartupWithCultureReplace.cs index 1214b96f886c..c439f92bff6f 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/StartupWithCultureReplace.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/StartupWithCultureReplace.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using System.IO; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/StartupWithoutEndpointRouting.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/StartupWithoutEndpointRouting.cs index 6a680e00205a..d92d0d64e844 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/StartupWithoutEndpointRouting.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/StartupWithoutEndpointRouting.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/HtmlGenerationWebSite/TestCacheTagHelper.cs b/src/Mvc/test/WebSites/HtmlGenerationWebSite/TestCacheTagHelper.cs index 2a99a3a3c6bd..adc1fe0e3b81 100644 --- a/src/Mvc/test/WebSites/HtmlGenerationWebSite/TestCacheTagHelper.cs +++ b/src/Mvc/test/WebSites/HtmlGenerationWebSite/TestCacheTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text.Encodings.Web; diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite.Views/Pages/Rzc/Page_Model.cs b/src/Mvc/test/WebSites/RazorBuildWebSite.Views/Pages/Rzc/Page_Model.cs index 9faad97ed31f..51314ac989f4 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite.Views/Pages/Rzc/Page_Model.cs +++ b/src/Mvc/test/WebSites/RazorBuildWebSite.Views/Pages/Rzc/Page_Model.cs @@ -1,4 +1,6 @@ - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc.RazorPages; namespace RazorBuildWebSite.Pages.Rzc diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/CommonController.cs b/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/CommonController.cs index 4659d40966cd..a51be7154adb 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/CommonController.cs +++ b/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/CommonController.cs @@ -1,3 +1,5 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/PrecompilationController.cs b/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/PrecompilationController.cs index a14f94a13f3d..7aa9f4e587d1 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/PrecompilationController.cs +++ b/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/PrecompilationController.cs @@ -1,4 +1,6 @@ - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc; namespace RazorBuildWebSite.Controllers diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/RzcController.cs b/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/RzcController.cs index cd032017a27d..79199fd38a42 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/RzcController.cs +++ b/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/RzcController.cs @@ -1,4 +1,6 @@ - +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc; namespace RazorBuildWebSite.Controllers diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/UpdateableViewsController.cs b/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/UpdateableViewsController.cs index 609e8ab7bfbc..3aec32301b77 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/UpdateableViewsController.cs +++ b/src/Mvc/test/WebSites/RazorBuildWebSite/Controllers/UpdateableViewsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite/Startup.cs b/src/Mvc/test/WebSites/RazorBuildWebSite/Startup.cs index 24b332bdf6df..5e94fba77082 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/RazorBuildWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/RazorBuildWebSite/UpdateableFileProvider.cs b/src/Mvc/test/WebSites/RazorBuildWebSite/UpdateableFileProvider.cs index 42968e9fa096..ec5791dc344c 100644 --- a/src/Mvc/test/WebSites/RazorBuildWebSite/UpdateableFileProvider.cs +++ b/src/Mvc/test/WebSites/RazorBuildWebSite/UpdateableFileProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections; diff --git a/src/Mvc/test/WebSites/RazorPagesClassLibrary/ClassLibraryStartup.cs b/src/Mvc/test/WebSites/RazorPagesClassLibrary/ClassLibraryStartup.cs index 0009c644a481..04765d056f02 100644 --- a/src/Mvc/test/WebSites/RazorPagesClassLibrary/ClassLibraryStartup.cs +++ b/src/Mvc/test/WebSites/RazorPagesClassLibrary/ClassLibraryStartup.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Builder; +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; namespace RazorPagesClassLibrary diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Areas/Accounts/Controllers/HomeController.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Areas/Accounts/Controllers/HomeController.cs index 596befbd2c83..327f1b084dc5 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Areas/Accounts/Controllers/HomeController.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Areas/Accounts/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Components/ViewDataViewComponent.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Components/ViewDataViewComponent.cs index ad499c9e0f68..fa0501208378 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Components/ViewDataViewComponent.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Components/ViewDataViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/AuthorizedActionController.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/AuthorizedActionController.cs index 5967c595eced..c5baa011ffa1 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/AuthorizedActionController.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/AuthorizedActionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/ClientValidationDisabledController.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/ClientValidationDisabledController.cs index 4f6b721c564e..464212f371bb 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/ClientValidationDisabledController.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/ClientValidationDisabledController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/RedirectController.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/RedirectController.cs index ea9a070809ee..e94ae54f5674 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/RedirectController.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Controllers/RedirectController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Conventions/CustomModelTypeConvention.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Conventions/CustomModelTypeConvention.cs index c37ce99a8dff..e7a6fc6a3798 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Conventions/CustomModelTypeConvention.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Conventions/CustomModelTypeConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationModels; using System.Reflection; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/CustomActionResult.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/CustomActionResult.cs index 65ab91721275..c0289884aefa 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/CustomActionResult.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/CustomActionResult.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelAttributeModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelAttributeModel.cs index fb924ba5ec38..47e4c92f536a 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelAttributeModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelAttributeModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelHandler.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelHandler.cs index d6622314da8b..14309d1bb8d3 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelHandler.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/HelloWorldWithPageModelHandler.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/ModelAsFilter.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/ModelAsFilter.cs index 503e9eb21c30..9d66e214efb4 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/ModelAsFilter.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/ModelAsFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/ModelHandlerTestModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/ModelHandlerTestModel.cs index a5d25a001ec6..49b57f0c3343 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/ModelHandlerTestModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/ModelHandlerTestModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/ModelWithPageFilter.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/ModelWithPageFilter.cs index 03d2f9a8f40e..d46ba379d1a7 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/ModelWithPageFilter.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/ModelWithPageFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/ModelWithResponseCache.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/ModelWithResponseCache.cs index d60240490dbf..c8bd3827b7e3 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/ModelWithResponseCache.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/ModelWithResponseCache.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Models/IUserModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Models/IUserModel.cs index 19cc1d40a982..08c36e9fcd98 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Models/IUserModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Models/IUserModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace RazorPagesWebSite { diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Models/RenderPartialModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Models/RenderPartialModel.cs index 4d4dd804ee38..67c16cba52a6 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Models/RenderPartialModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Models/RenderPartialModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace RazorPagesWebSite.Models { diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Models/UserModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Models/UserModel.cs index 80c2d8fdc814..deb83a0ea573 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Models/UserModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Models/UserModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/PageTestDisposeAsync.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/PageTestDisposeAsync.cs index 47e68cfad8c9..ae6cc2123db6 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/PageTestDisposeAsync.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/PageTestDisposeAsync.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Antiforgery/AntiforgeryDefault.cshtml.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Antiforgery/AntiforgeryDefault.cshtml.cs index 9f56cbd7e901..9853675efb6f 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Antiforgery/AntiforgeryDefault.cshtml.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Antiforgery/AntiforgeryDefault.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Antiforgery/IgnoreAntiforgery.cshtml.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Antiforgery/IgnoreAntiforgery.cshtml.cs index 34c4c739b77a..db8ddf641f42 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Antiforgery/IgnoreAntiforgery.cshtml.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Antiforgery/IgnoreAntiforgery.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Conventions/AuthFolder/AnonymousModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Conventions/AuthFolder/AnonymousModel.cs index 3ba2e4605bc8..d9548d466de4 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Conventions/AuthFolder/AnonymousModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Conventions/AuthFolder/AnonymousModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/CustomPageBase.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/CustomPageBase.cs index 31d3522032cd..3a05efa907bd 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/CustomPageBase.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/CustomPageBase.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc.RazorPages; namespace RazorPagesWebSite diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/PageWithModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/PageWithModel.cs index c10d51930e9f..55a16f70e88f 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/PageWithModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomBaseType/PageWithModel.cs @@ -1,5 +1,6 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc.RazorPages; namespace RazorPagesWebSite diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomModelTypeModel.cshtml.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomModelTypeModel.cshtml.cs index e78cce042804..34797e43372b 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomModelTypeModel.cshtml.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/CustomModelTypeModel.cshtml.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/AuthFilterOnPageWithModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/AuthFilterOnPageWithModel.cs index 3beb6bd6f8ac..ad7cfda5dde4 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/AuthFilterOnPageWithModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/AuthFilterOnPageWithModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/FiltersAppliedToPageAndPageModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/FiltersAppliedToPageAndPageModel.cs index fa47e824b4b8..ff2763888229 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/FiltersAppliedToPageAndPageModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/FiltersAppliedToPageAndPageModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/TestPageFilter.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/TestPageFilter.cs index 98e4f633ab36..29961a1ed3b5 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/TestPageFilter.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/TestPageFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/TestPageModelFilter.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/TestPageModelFilter.cs index 3972219eddb9..a405950cf0ea 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/TestPageModelFilter.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Filters/TestPageModelFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Filters; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/HandlerWithParameter.cshtml.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/HandlerWithParameter.cshtml.cs index d1b8ade28abe..34b72e111634 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/HandlerWithParameter.cshtml.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/HandlerWithParameter.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cs index c06f62ae1335..55924cea774b 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Localized/PageWithModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ModelWithAuthFilter.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ModelWithAuthFilter.cs index 8be778392079..25b553046a01 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ModelWithAuthFilter.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ModelWithAuthFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindFormFile.cshtml.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindFormFile.cshtml.cs index ccfcc87440ae..3597d820b026 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindFormFile.cshtml.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindFormFile.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindPropertiesOnModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindPropertiesOnModel.cs index b06c38017801..43687ad0425e 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindPropertiesOnModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindPropertiesOnModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindPropertiesWithSupportsGetOnModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindPropertiesWithSupportsGetOnModel.cs index d4b1f831559f..bc6cc977edca 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindPropertiesWithSupportsGetOnModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/BindPropertiesWithSupportsGetOnModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ModelBinding; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PageModelWithPropertyAndArgumentBinding.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PageModelWithPropertyAndArgumentBinding.cs index 0c20c4c36b10..3a37d9d3a5ac 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PageModelWithPropertyAndArgumentBinding.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PageModelWithPropertyAndArgumentBinding.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PageModelWithPropertyBinding.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PageModelWithPropertyBinding.cs index 2e7332b3ee87..48dd425a225d 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PageModelWithPropertyBinding.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PageModelWithPropertyBinding.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PolymorphicBinding.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PolymorphicBinding.cs index 0986986da02d..a929c7ff9436 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PolymorphicBinding.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/PropertyBinding/PolymorphicBinding.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Redirects/RedirectFromModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Redirects/RedirectFromModel.cs index a2d593bed4d3..68ca02cbb3ff 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Redirects/RedirectFromModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Redirects/RedirectFromModel.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ShortCircuitPageAtAuthFilter.cshtml.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ShortCircuitPageAtAuthFilter.cshtml.cs index 174ad98b1dd0..5d4af9cbf3ca 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ShortCircuitPageAtAuthFilter.cshtml.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ShortCircuitPageAtAuthFilter.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ShortCircuitPageAtPageFilter.cshtml.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ShortCircuitPageAtPageFilter.cshtml.cs index 58d9f62766da..9f2ae55d9c1f 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ShortCircuitPageAtPageFilter.cshtml.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ShortCircuitPageAtPageFilter.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/TryUpdateModelPageModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/TryUpdateModelPageModel.cs index 05f7785c58cb..072aa39e8455 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/TryUpdateModelPageModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/TryUpdateModelPageModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/TryValidateModelPageModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/TryValidateModelPageModel.cs index bde677cb9829..32af48972e77 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/TryValidateModelPageModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/TryValidateModelPageModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Validation/PageWithCompareValidation.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Validation/PageWithCompareValidation.cs index 8ca3f8dd2e6b..b09151da2ae4 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Validation/PageWithCompareValidation.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Validation/PageWithCompareValidation.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Validation/PageWithValidation.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Validation/PageWithValidation.cs index 607f71938049..3ccd1f24a624 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Validation/PageWithValidation.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/Validation/PageWithValidation.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System.ComponentModel.DataAnnotations; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataInPage.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataInPage.cs index fd6eed7a3783..7954527adf8b 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataInPage.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataInPage.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataSetInViewStart/Index.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataSetInViewStart/Index.cs index f911dbfe5e2b..256cf4600b7a 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataSetInViewStart/Index.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataSetInViewStart/Index.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataToViewComponentPage.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataToViewComponentPage.cs index d38ab3b08e35..48652de7068c 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataToViewComponentPage.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewData/ViewDataToViewComponentPage.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Filters; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewDataAvailableAfterHandlerExecuted.cshtml.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewDataAvailableAfterHandlerExecuted.cshtml.cs index 548623d5f9f6..627748e92479 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewDataAvailableAfterHandlerExecuted.cshtml.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Pages/ViewDataAvailableAfterHandlerExecuted.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/PolymorphicModelBinder.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/PolymorphicModelBinder.cs index fcdd15075196..9c5edd7d2215 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/PolymorphicModelBinder.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/PolymorphicModelBinder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Program.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Program.cs index b5fdb843f7b7..2ea991da0c61 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Program.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Program.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Properties/AssemblyInfo.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Properties/AssemblyInfo.cs index bd7ade2f845b..7c143c581309 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Properties/AssemblyInfo.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Properties/AssemblyInfo.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.ApplicationParts; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/RenderPartial.cshtml.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/RenderPartial.cshtml.cs index 03f6a00337fd..fe49bf9c1a77 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/RenderPartial.cshtml.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/RenderPartial.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Services/CustomService.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Services/CustomService.cs index 23dbf1c0ba87..cd4771aa345e 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Services/CustomService.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Services/CustomService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace CustomNamespace { diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/Startup.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/Startup.cs index d29e1cabbd7a..e265e8489896 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithBasePath.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithBasePath.cs index 53ac7e22ca6a..a8c5668bb97f 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithBasePath.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithBasePath.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithClientValidationDisabled.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithClientValidationDisabled.cs index e7251a74cb3d..4df3f2973af2 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithClientValidationDisabled.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithClientValidationDisabled.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithoutEndpointRouting.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithoutEndpointRouting.cs index 2993998ca3a8..b7666bf4200e 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithoutEndpointRouting.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/StartupWithoutEndpointRouting.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; using Microsoft.AspNetCore.Authentication.Cookies; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/TempData/SetTempDataOnPageModelAndRedirect.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/TempData/SetTempDataOnPageModelAndRedirect.cs index 3f46ef442dcf..a352fc3cd09f 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/TempData/SetTempDataOnPageModelAndRedirect.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/TempData/SetTempDataOnPageModelAndRedirect.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorPagesWebSite/TempData/TempDataPageModel.cs b/src/Mvc/test/WebSites/RazorPagesWebSite/TempData/TempDataPageModel.cs index e2a3ebe605a7..a87794437e2b 100644 --- a/src/Mvc/test/WebSites/RazorPagesWebSite/TempData/TempDataPageModel.cs +++ b/src/Mvc/test/WebSites/RazorPagesWebSite/TempData/TempDataPageModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentForViewWithPaths.cs b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentForViewWithPaths.cs index e6e2f88f0fa2..d13639709b78 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentForViewWithPaths.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentForViewWithPaths.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentThatSetsTitle.cs b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentThatSetsTitle.cs index 0b55d56504fa..cf0cb25ab5f0 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentThatSetsTitle.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentThatSetsTitle.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithFlush.cs b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithFlush.cs index 7a3045dbad2b..2ce3648f14d0 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithFlush.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithFlush.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs index b195e19a3629..ec2df477a236 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithLayout.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithRelativePath.cs b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithRelativePath.cs index 981f7a15eeb6..742b52b5fd31 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithRelativePath.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithRelativePath.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithViewStart.cs b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithViewStart.cs index 983e09487e88..bcfb5f4536e9 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithViewStart.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Components/ComponentWithViewStart.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Components/InheritingViewComponent.cs b/src/Mvc/test/WebSites/RazorWebSite/Components/InheritingViewComponent.cs index b08abd28b964..efdd68e3718b 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Components/InheritingViewComponent.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Components/InheritingViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/AddTagHelperComponentController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/AddTagHelperComponentController.cs index 403520dcff1c..131858ddc80d 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/AddTagHelperComponentController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/AddTagHelperComponentController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/BackSlashController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/BackSlashController.cs index ca43a6f58d1e..49242e5db18b 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/BackSlashController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/BackSlashController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/DataAnnotationController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/DataAnnotationController.cs index 7d4bdb2c4a1e..718c351fdb0a 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/DataAnnotationController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/DataAnnotationController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using RazorWebSite.Models; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/DirectivesController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/DirectivesController.cs index 4a7c400527dc..d2a264f07eeb 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/DirectivesController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/DirectivesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ExpanderViewsController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ExpanderViewsController.cs index 6042c9f38dba..cd964b256037 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ExpanderViewsController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ExpanderViewsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/FlushPoint.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/FlushPoint.cs index 82c2b625ac75..32cfeb9d24cd 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/FlushPoint.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/FlushPoint.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/HtmlHelperOptionsController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/HtmlHelperOptionsController.cs index 91b20ea8245c..2d6e706c2d91 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/HtmlHelperOptionsController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/HtmlHelperOptionsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/NestedViewStartsController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/NestedViewStartsController.cs index cd688707bba7..a0441f984999 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/NestedViewStartsController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/NestedViewStartsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/PartialViewEngineController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/PartialViewEngineController.cs index c294519f64d6..37b0941aceee 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/PartialViewEngineController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/PartialViewEngineController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/PartialsWithLayoutController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/PartialsWithLayoutController.cs index 070892c74706..8392471ebc5a 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/PartialsWithLayoutController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/PartialsWithLayoutController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/TagHelperComponentController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/TagHelperComponentController.cs index d3be1d2fbd6b..37845518a8a9 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/TagHelperComponentController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/TagHelperComponentController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/TemplateExpander.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/TemplateExpander.cs index 152f5e1bb232..20ddbf2cce60 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/TemplateExpander.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/TemplateExpander.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/UrlResolutionController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/UrlResolutionController.cs index 0d6902aac28c..ea5d8f037cce 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/UrlResolutionController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/UrlResolutionController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewEngineController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewEngineController.cs index 30693412c412..32d7ecb10c3a 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewEngineController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewEngineController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewNameSpecification_HomeController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewNameSpecification_HomeController.cs index 8a7a59d3b98d..a55faa129b86 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewNameSpecification_HomeController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewNameSpecification_HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewWithPathsController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewWithPathsController.cs index a98754a0d001..086540c31346 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewWithPathsController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewWithPathsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewsConsumingCompilationOptionsController.cs b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewsConsumingCompilationOptionsController.cs index 91e4911673a2..814ade2b4b1c 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewsConsumingCompilationOptionsController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Controllers/ViewsConsumingCompilationOptionsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Models/Address.cs b/src/Mvc/test/WebSites/RazorWebSite/Models/Address.cs index c2eafbe8ce3e..3186086d5b70 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Models/Address.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Models/Address.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace RazorWebSite { diff --git a/src/Mvc/test/WebSites/RazorWebSite/Models/EnumModel.cs b/src/Mvc/test/WebSites/RazorWebSite/Models/EnumModel.cs index 3a993cc65ac5..32786f41eb7e 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Models/EnumModel.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Models/EnumModel.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Models/Person.cs b/src/Mvc/test/WebSites/RazorWebSite/Models/Person.cs index 2cd62fd19a14..f940c48f4503 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Models/Person.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Models/Person.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace RazorWebSite { diff --git a/src/Mvc/test/WebSites/RazorWebSite/MyBasePage.cs b/src/Mvc/test/WebSites/RazorWebSite/MyBasePage.cs index 1a37870c52e8..72e7c52d040f 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/MyBasePage.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/MyBasePage.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Razor; diff --git a/src/Mvc/test/WebSites/RazorWebSite/NestedViewImportsController.cs b/src/Mvc/test/WebSites/RazorWebSite/NestedViewImportsController.cs index 4e186761fa30..96a07ded71cc 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/NestedViewImportsController.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/NestedViewImportsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Program.cs b/src/Mvc/test/WebSites/RazorWebSite/Program.cs index 6e8622bb7b5c..e90f11b3731f 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Program.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Program.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Services/BackSlashExpander.cs b/src/Mvc/test/WebSites/RazorWebSite/Services/BackSlashExpander.cs index 722bd096d6ba..27638211f36c 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Services/BackSlashExpander.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Services/BackSlashExpander.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Razor; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Services/FrameworkSpecificHelper.cs b/src/Mvc/test/WebSites/RazorWebSite/Services/FrameworkSpecificHelper.cs index 7e56263a4940..000536690cfa 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Services/FrameworkSpecificHelper.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Services/FrameworkSpecificHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace RazorWebSite { diff --git a/src/Mvc/test/WebSites/RazorWebSite/Services/InjectedHelper.cs b/src/Mvc/test/WebSites/RazorWebSite/Services/InjectedHelper.cs index 9e97ff14311f..ba83b8bea473 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Services/InjectedHelper.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Services/InjectedHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace RazorWebSite { diff --git a/src/Mvc/test/WebSites/RazorWebSite/Services/NonMainPageViewLocationExpander.cs b/src/Mvc/test/WebSites/RazorWebSite/Services/NonMainPageViewLocationExpander.cs index 6fd040d924c4..2ca214190a68 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Services/NonMainPageViewLocationExpander.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Services/NonMainPageViewLocationExpander.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Razor; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Services/TaskReturningService.cs b/src/Mvc/test/WebSites/RazorWebSite/Services/TaskReturningService.cs index a76babdd0960..bc1d8ddb7cf8 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Services/TaskReturningService.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Services/TaskReturningService.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Services/TestBodyTagHelperComponent.cs b/src/Mvc/test/WebSites/RazorWebSite/Services/TestBodyTagHelperComponent.cs index 750dd61d20a3..e08f6d682ee2 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Services/TestBodyTagHelperComponent.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Services/TestBodyTagHelperComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/RazorWebSite/Services/TestHeadTagHelperComponent.cs b/src/Mvc/test/WebSites/RazorWebSite/Services/TestHeadTagHelperComponent.cs index 6242cf6b716e..90f31ec4f54d 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Services/TestHeadTagHelperComponent.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Services/TestHeadTagHelperComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/RazorWebSite/SingleType.cs b/src/Mvc/test/WebSites/RazorWebSite/SingleType.cs index ab8ec1e9c6f8..eb3347ade91b 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/SingleType.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/SingleType.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace RazorWebSite { diff --git a/src/Mvc/test/WebSites/RazorWebSite/Startup.cs b/src/Mvc/test/WebSites/RazorWebSite/Startup.cs index b4dde6201805..3f18d8844610 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/test/WebSites/RazorWebSite/StartupDataAnnotations.cs b/src/Mvc/test/WebSites/RazorWebSite/StartupDataAnnotations.cs index 8344a71ee775..924d158a487a 100644 --- a/src/Mvc/test/WebSites/RazorWebSite/StartupDataAnnotations.cs +++ b/src/Mvc/test/WebSites/RazorWebSite/StartupDataAnnotations.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/DynamicController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/DynamicController.cs index b7aeba5d9855..beac32598fc6 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/DynamicController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/DynamicController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/FallbackController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/FallbackController.cs index 59a19bfeddb9..b6969d65d960 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/FallbackController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/FallbackController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/LG3Controller.cs b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/LG3Controller.cs index dafe56ee2251..50650d0b023d 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/LG3Controller.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/LG3Controller.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/Pages/LGAreaPage.cshtml.cs b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/Pages/LGAreaPage.cshtml.cs index bc3137d121fd..c10845584635 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/Pages/LGAreaPage.cshtml.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/Pages/LGAreaPage.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/UserManagementController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/UserManagementController.cs index fe204e789638..f7f1a04f9efc 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/UserManagementController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Admin/UserManagementController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Order/OrderController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Order/OrderController.cs index fe7582db299f..0c28658d68d2 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Order/OrderController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Order/OrderController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/FlightController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/FlightController.cs index 5fe4b9d7939c..d1f1eda383e2 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/FlightController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/FlightController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/HomeController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/HomeController.cs index eceed74837c2..73dff0ca7bb5 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/HomeController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/RailController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/RailController.cs index 89cdfc756f6b..d20c104f2f44 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/RailController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Areas/Travel/RailController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/ControllerRouteTokenTransformerConvention.cs b/src/Mvc/test/WebSites/RoutingWebSite/ControllerRouteTokenTransformerConvention.cs index 5659c35a1ce0..2007ecb5d22c 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/ControllerRouteTokenTransformerConvention.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/ControllerRouteTokenTransformerConvention.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BanksController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BanksController.cs index a39658633094..75d3198a3335 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BanksController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BanksController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BlogController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BlogController.cs index 82e90c695ce1..083243a07cee 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BlogController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BlogController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BranchesController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BranchesController.cs index 847d30dad0e7..2c5ef59d8913 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BranchesController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/BranchesController.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/CompanyController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/CompanyController.cs index bbb27e242fa1..250275d3d31e 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/CompanyController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/CompanyController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ContactController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ContactController.cs index 3421f6580b00..d90fb40c1e4f 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ContactController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ContactController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ConventionalTransformerController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ConventionalTransformerController.cs index 07d4384ae223..577fd2bce91a 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ConventionalTransformerController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ConventionalTransformerController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DataTokensController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DataTokensController.cs index b6ae43877706..cee944228a04 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DataTokensController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DataTokensController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DebugController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DebugController.cs index b217902a6cdb..f9526395d326 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DebugController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DebugController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DefaultValuesController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DefaultValuesController.cs index f28c5c14c516..7c4f1e0dd09e 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DefaultValuesController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DefaultValuesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DynamicOrderController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DynamicOrderController.cs index d58b9fc24c31..a78e02b10b8f 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DynamicOrderController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/DynamicOrderController.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EmployeeController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EmployeeController.cs index bf36643a6831..e024a6388c33 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EmployeeController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EmployeeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointNameController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointNameController.cs index cca88e3962ad..b658759f40d4 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointNameController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointNameController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointRoutingController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointRoutingController.cs index 22d61bac9283..9b299338f55f 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointRoutingController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/EndpointRoutingController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/FriendsController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/FriendsController.cs index b6f3779e2dba..d132fe80dc8d 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/FriendsController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/FriendsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/HomeController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/HomeController.cs index 1adc73f9907e..98d3a5d79913 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/HomeController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG1Controller.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG1Controller.cs index acf1fe2807e2..62d141c56c93 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG1Controller.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG1Controller.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG2Controller.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG2Controller.cs index b8a25750fe6b..efbc6cf2dcac 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG2Controller.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LG2Controller.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LinkParserController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LinkParserController.cs index 614a207d1587..8e5cc001ead6 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LinkParserController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LinkParserController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LoginController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LoginController.cs index 724481f5b71b..afea74a75439 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LoginController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/LoginController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/MapsController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/MapsController.cs index ce1aa800aaad..20b7767b8813 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/MapsController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/MapsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/NonParameterConstraintController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/NonParameterConstraintController.cs index af9ac7e6000d..e983bd9302eb 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/NonParameterConstraintController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/NonParameterConstraintController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/OrderController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/OrderController.cs index f0770ab539fd..bbc29eadd644 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/OrderController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/OrderController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/PageParameterController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/PageParameterController.cs index 3174963111d5..a8cabb8512cf 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/PageParameterController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/PageParameterController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/PageRouteController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/PageRouteController.cs index 0c629474f0aa..c78185229129 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/PageRouteController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/PageRouteController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ParameterTransformerController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ParameterTransformerController.cs index e9a8a76f20d7..3d90b85a6c05 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ParameterTransformerController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/ParameterTransformerController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/RouteDataController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/RouteDataController.cs index 97f49e00c4b0..aa33da80a54a 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/RouteDataController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/RouteDataController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/RoutingController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/RoutingController.cs index 388bba57138f..b6b55f8cde4b 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/RoutingController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/RoutingController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/StoreController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/StoreController.cs index d7ad0dc7e166..676b5a1c8926 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/StoreController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/StoreController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/TeamController.cs b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/TeamController.cs index 71ab959a194c..626bfed9e2c7 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Controllers/TeamController.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Controllers/TeamController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/DynamicVersion.cs b/src/Mvc/test/WebSites/RoutingWebSite/DynamicVersion.cs index 398f4c4bb3a4..4b310a0eda9c 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/DynamicVersion.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/DynamicVersion.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace RoutingWebSite { diff --git a/src/Mvc/test/WebSites/RoutingWebSite/HttpMergeAttribute.cs b/src/Mvc/test/WebSites/RoutingWebSite/HttpMergeAttribute.cs index 013a90d2bf8b..b11ace362776 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/HttpMergeAttribute.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/HttpMergeAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Pages/DynamicPage.cshtml.cs b/src/Mvc/test/WebSites/RoutingWebSite/Pages/DynamicPage.cshtml.cs index a0acca5a176f..8ba3b0a69e01 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Pages/DynamicPage.cshtml.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Pages/DynamicPage.cshtml.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Pages/FallbackPage.cshtml.cs b/src/Mvc/test/WebSites/RoutingWebSite/Pages/FallbackPage.cshtml.cs index a8df7eac3d2a..411ae1aa603b 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Pages/FallbackPage.cshtml.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Pages/FallbackPage.cshtml.cs @@ -1,3 +1,6 @@ +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + using System; using System.Collections.Generic; using System.Linq; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Pages/LGAnotherPage.cshtml.cs b/src/Mvc/test/WebSites/RoutingWebSite/Pages/LGAnotherPage.cshtml.cs index 1cc95da5522c..812d6a5b3965 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Pages/LGAnotherPage.cshtml.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Pages/LGAnotherPage.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Pages/LGPage.cshtml.cs b/src/Mvc/test/WebSites/RoutingWebSite/Pages/LGPage.cshtml.cs index 56e82afd2d0e..47c23133a1ae 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Pages/LGPage.cshtml.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Pages/LGPage.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Program.cs b/src/Mvc/test/WebSites/RoutingWebSite/Program.cs index d3a8d1c6d5c9..d1f28823e5e4 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Program.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Program.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/QueryStringConstraint.cs b/src/Mvc/test/WebSites/RoutingWebSite/QueryStringConstraint.cs index d4661e013921..8366df98885b 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/QueryStringConstraint.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/QueryStringConstraint.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Routing; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/RemoveControllerActionDescriptorProvider.cs b/src/Mvc/test/WebSites/RoutingWebSite/RemoveControllerActionDescriptorProvider.cs index c04493b421a0..c1d398b72d94 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/RemoveControllerActionDescriptorProvider.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/RemoveControllerActionDescriptorProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Linq; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/Startup.cs b/src/Mvc/test/WebSites/RoutingWebSite/Startup.cs index ba84c82b03fc..8b9a3ec4de2c 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamic.cs b/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamic.cs index 8d5215f7948c..f79a0be5bef0 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamic.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamic.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamicAndRazorPages.cs b/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamicAndRazorPages.cs index 1dbe60010df1..56eb109abc2b 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamicAndRazorPages.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamicAndRazorPages.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamicOrder.cs b/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamicOrder.cs index fc180b8bc9d9..9a8ab885e66e 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamicOrder.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/StartupForDynamicOrder.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/StartupForFallback.cs b/src/Mvc/test/WebSites/RoutingWebSite/StartupForFallback.cs index 613954986612..07a5ae8ef87a 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/StartupForFallback.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/StartupForFallback.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/StartupForLinkGenerator.cs b/src/Mvc/test/WebSites/RoutingWebSite/StartupForLinkGenerator.cs index b77dc5cd2b42..b369863efe79 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/StartupForLinkGenerator.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/StartupForLinkGenerator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/StartupRoutingDifferentBranches.cs b/src/Mvc/test/WebSites/RoutingWebSite/StartupRoutingDifferentBranches.cs index cf1658fa098c..ecd2710a31f6 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/StartupRoutingDifferentBranches.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/StartupRoutingDifferentBranches.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/StartupWithoutEndpointRouting.cs b/src/Mvc/test/WebSites/RoutingWebSite/StartupWithoutEndpointRouting.cs index 9b74128a820c..7d9b085a3cbd 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/StartupWithoutEndpointRouting.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/StartupWithoutEndpointRouting.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Http; diff --git a/src/Mvc/test/WebSites/RoutingWebSite/TestParameterTransformer.cs b/src/Mvc/test/WebSites/RoutingWebSite/TestParameterTransformer.cs index 4721f4f17938..2bd3f821dd37 100644 --- a/src/Mvc/test/WebSites/RoutingWebSite/TestParameterTransformer.cs +++ b/src/Mvc/test/WebSites/RoutingWebSite/TestParameterTransformer.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Text.RegularExpressions; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/BearerAuth.cs b/src/Mvc/test/WebSites/SecurityWebSite/BearerAuth.cs index b0fdc2cb8a61..02925fb7eeb5 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/BearerAuth.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/BearerAuth.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AdministrationController.cs b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AdministrationController.cs index 74e8e9f77518..f7d5190e45fd 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AdministrationController.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AdministrationController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Security.Claims; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AntiforgeryController.cs b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AntiforgeryController.cs index 24deaff65715..42b749d873a8 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AntiforgeryController.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AntiforgeryController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AuthorizedActionsController.cs b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AuthorizedActionsController.cs index 960c6153d24e..8df7b0614b65 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AuthorizedActionsController.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AuthorizedActionsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AuthorizedController.cs b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AuthorizedController.cs index 3d8829ddf694..e783208e02c4 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AuthorizedController.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/AuthorizedController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/HomeController.cs b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/HomeController.cs index 2a639ae39994..e26e8a0b45c4 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/HomeController.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/IgnoreAntiforgeryController.cs b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/IgnoreAntiforgeryController.cs index 64b877967910..8eb2bd420f3f 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/IgnoreAntiforgeryController.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/IgnoreAntiforgeryController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/LoginController.cs b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/LoginController.cs index 044cc39d4910..116c6ceb4df3 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Controllers/LoginController.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Controllers/LoginController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Security.Claims; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/CountingPolicyEvaluator.cs b/src/Mvc/test/WebSites/SecurityWebSite/CountingPolicyEvaluator.cs index 0b4aaadea20c..e1fefc4b2a10 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/CountingPolicyEvaluator.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/CountingPolicyEvaluator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Pages/AllowAnonymousPageViaConvention.cshtml.cs b/src/Mvc/test/WebSites/SecurityWebSite/Pages/AllowAnonymousPageViaConvention.cshtml.cs index 3c479caafb18..69bbd562d0b0 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Pages/AllowAnonymousPageViaConvention.cshtml.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Pages/AllowAnonymousPageViaConvention.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Pages/AllowAnonymousPageViaModel.cshtml.cs b/src/Mvc/test/WebSites/SecurityWebSite/Pages/AllowAnonymousPageViaModel.cshtml.cs index ebbe8242963b..a45dde568a95 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Pages/AllowAnonymousPageViaModel.cshtml.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Pages/AllowAnonymousPageViaModel.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Pages/AuthorizePageViaConvention.cshtml.cs b/src/Mvc/test/WebSites/SecurityWebSite/Pages/AuthorizePageViaConvention.cshtml.cs index 8ce1c26ee28d..9134d47bd87e 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Pages/AuthorizePageViaConvention.cshtml.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Pages/AuthorizePageViaConvention.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Pages/AuthorizePageViaModel.cshtml.cs b/src/Mvc/test/WebSites/SecurityWebSite/Pages/AuthorizePageViaModel.cshtml.cs index bd4e75ade0c8..b5af361abeab 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Pages/AuthorizePageViaModel.cshtml.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Pages/AuthorizePageViaModel.cshtml.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Program.cs b/src/Mvc/test/WebSites/SecurityWebSite/Program.cs index 464fbffbeaf0..270d39842b21 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Program.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Program.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/Startup.cs b/src/Mvc/test/WebSites/SecurityWebSite/Startup.cs index e70e49df7491..3a70d22f9352 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization.Policy; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilter.cs b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilter.cs index c467b1b7a151..7fa7249fe113 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilter.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilterWithoutEndpointRouting.cs b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilterWithoutEndpointRouting.cs index 89b1e4fe5c2c..08308ff1e729 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilterWithoutEndpointRouting.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalAuthFilterWithoutEndpointRouting.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalDenyAnonymousFilter.cs b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalDenyAnonymousFilter.cs index 87f1563711cf..2ec2231d4c7f 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalDenyAnonymousFilter.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalDenyAnonymousFilter.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization.Policy; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalDenyAnonymousFilterWithUseMvc.cs b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalDenyAnonymousFilterWithUseMvc.cs index e9e2c566e496..ffe7c36f2e38 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalDenyAnonymousFilterWithUseMvc.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithGlobalDenyAnonymousFilterWithUseMvc.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization.Policy; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithRequireAuth.cs b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithRequireAuth.cs index f7891cf3ab5d..ab676a7a43da 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithRequireAuth.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithRequireAuth.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization.Policy; diff --git a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithUseMvc.cs b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithUseMvc.cs index bfd4ccb6a27b..b22db7a32c47 100644 --- a/src/Mvc/test/WebSites/SecurityWebSite/StartupWithUseMvc.cs +++ b/src/Mvc/test/WebSites/SecurityWebSite/StartupWithUseMvc.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Authentication.Cookies; using Microsoft.AspNetCore.Authorization.Policy; diff --git a/src/Mvc/test/WebSites/SimpleWebSite/Controllers/HomeController.cs b/src/Mvc/test/WebSites/SimpleWebSite/Controllers/HomeController.cs index 9d4cf866a3ee..9317591a5c31 100644 --- a/src/Mvc/test/WebSites/SimpleWebSite/Controllers/HomeController.cs +++ b/src/Mvc/test/WebSites/SimpleWebSite/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/SimpleWebSite/Startup.cs b/src/Mvc/test/WebSites/SimpleWebSite/Startup.cs index 3bc3b568ebd2..d9acc2461065 100644 --- a/src/Mvc/test/WebSites/SimpleWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/SimpleWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Components/CopyrightViewComponent.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Components/CopyrightViewComponent.cs index 414ec21a3fa3..0da450e79807 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Components/CopyrightViewComponent.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Components/CopyrightViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Components/DanViewComponent.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Components/DanViewComponent.cs index d23997fca79b..c1bad0620346 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Components/DanViewComponent.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Components/DanViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Components/GenericViewComponent.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Components/GenericViewComponent.cs index 5bc7a6770066..96a13cd2dbd7 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Components/GenericViewComponent.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Components/GenericViewComponent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Components/JacketColor.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Components/JacketColor.cs index 2c466ba60f97..edb9056646c9 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Components/JacketColor.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Components/JacketColor.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace TagHelpersWebSite { diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/EmployeeController.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/EmployeeController.cs index 392e3d0940f4..0953ad0df23a 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/EmployeeController.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/EmployeeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/EncodersController.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/EncodersController.cs index fe7464810a26..f98783358727 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/EncodersController.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/EncodersController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/HomeController.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/HomeController.cs index 297df79a5bca..b9cdce382777 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/HomeController.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/RemoveDefaultInheritedTagHelpersController.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/RemoveDefaultInheritedTagHelpersController.cs index 4f164a29da4b..7fa52a3b8149 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/RemoveDefaultInheritedTagHelpersController.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Controllers/RemoveDefaultInheritedTagHelpersController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Models/Employee.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Models/Employee.cs index 556d3ba95517..1bc2533ba56b 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Models/Employee.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Models/Employee.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Models/WebsiteContext.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Models/WebsiteContext.cs index 398a8b2c011c..a128dea928b7 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Models/WebsiteContext.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Models/WebsiteContext.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/MyHtmlContent.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/MyHtmlContent.cs index 6a1096306c6b..e8f043433c85 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/MyHtmlContent.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/MyHtmlContent.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Text.Encodings.Web; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/Startup.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/Startup.cs index 7da912507b60..8eb498dd92e7 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Builder; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/ATagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/ATagHelper.cs index 2326ee9ca6cf..14fac9cd512e 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/ATagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/ATagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/AddProcessedAttributeTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/AddProcessedAttributeTagHelper.cs index 88e62e03053d..892c197b00c8 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/AddProcessedAttributeTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/AddProcessedAttributeTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/AutoLinkerTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/AutoLinkerTagHelper.cs index c0dfd903df85..bc39fe40eb59 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/AutoLinkerTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/AutoLinkerTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Text.RegularExpressions; using System.Threading.Tasks; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/BoldTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/BoldTagHelper.cs index f13ad6ef45d4..3f3b88ea3e94 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/BoldTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/BoldTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/ConditionTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/ConditionTagHelper.cs index 4b3716c7e4bb..3b6fb6d3cc8d 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/ConditionTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/ConditionTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/CustomEncoderTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/CustomEncoderTagHelper.cs index b274e1670fec..39ddcca8380a 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/CustomEncoderTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/CustomEncoderTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using System.Text.Encodings.Web; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/DefaultEncoderTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/DefaultEncoderTagHelper.cs index 6b85369587ef..7396a6ba31e8 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/DefaultEncoderTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/DefaultEncoderTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/DictionaryPrefixTestTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/DictionaryPrefixTestTagHelper.cs index 08b015a4fe92..651b55a0ca56 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/DictionaryPrefixTestTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/DictionaryPrefixTestTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Rendering; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/NestedViewImportsTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/NestedViewImportsTagHelper.cs index cd698b5f56ea..ec879506085c 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/NestedViewImportsTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/NestedViewImportsTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/NullEncoderTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/NullEncoderTagHelper.cs index adb62665e0db..20a4a0a6d56f 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/NullEncoderTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/NullEncoderTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Threading.Tasks; using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs index 267e410199c7..d7dd5e4e50f7 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/PrettyTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/RootViewStartTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/RootViewStartTagHelper.cs index 664b66c7335c..dcf7c2c9b9f9 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/RootViewStartTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/RootViewStartTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/SurroundTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/SurroundTagHelper.cs index 1679512dd62a..73faf61c3841 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/SurroundTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/SurroundTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Razor.TagHelpers; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs index 50c86e7e2520..79220a0bbe23 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/TagCloudViewComponentTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/WebsiteInformationTagHelper.cs b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/WebsiteInformationTagHelper.cs index 5a71299064b3..4408154be0dd 100644 --- a/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/WebsiteInformationTagHelper.cs +++ b/src/Mvc/test/WebSites/TagHelpersWebSite/TagHelpers/WebsiteInformationTagHelper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/AddressController.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/AddressController.cs index 245699dfa880..00d9219f9498 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/AddressController.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/AddressController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/BooksController.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/BooksController.cs index 098ecbb19875..f1c9951c89a1 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/BooksController.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/BooksController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/CustomersController.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/CustomersController.cs index 37c32ea9c531..84d66cb99991 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/CustomersController.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/CustomersController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/ItemsController.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/ItemsController.cs index 1e61957273ae..5fcd95b69d62 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/ItemsController.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/ItemsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/ItemsV2Controller.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/ItemsV2Controller.cs index d5345a2f4711..91786a98123f 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/ItemsV2Controller.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/ItemsV2Controller.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/MoviesController.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/MoviesController.cs index 50cddab665cd..507bd780fbee 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/MoviesController.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/MoviesController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/MoviesV2Controller.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/MoviesV2Controller.cs index ab9779d63383..e5e0b2e49c6d 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/MoviesV2Controller.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/MoviesV2Controller.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/PetsController.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/PetsController.cs index 002a3356ae07..992ba147eec5 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/PetsController.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/PetsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/RoutingController.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/RoutingController.cs index 62c6966095b4..b4b23719e2a6 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/RoutingController.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/RoutingController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http.Features; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/TicketsController.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/TicketsController.cs index 843de3f33d88..c40b7d403d7e 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/TicketsController.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/TicketsController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/VouchersController.cs b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/VouchersController.cs index f2b5fa7ff27f..c7c1fafb901c 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Controllers/VouchersController.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Controllers/VouchersController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Program.cs b/src/Mvc/test/WebSites/VersioningWebSite/Program.cs index 7dce10d19d1d..9f96a81c5599 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Program.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Program.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Hosting; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/Startup.cs b/src/Mvc/test/WebSites/VersioningWebSite/Startup.cs index 4a1f66e12811..9117b22aa958 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/StartupWithoutEndpointRouting.cs b/src/Mvc/test/WebSites/VersioningWebSite/StartupWithoutEndpointRouting.cs index c6fc0c475a01..cf260f5f2b04 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/StartupWithoutEndpointRouting.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/StartupWithoutEndpointRouting.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/VersionAttribute.cs b/src/Mvc/test/WebSites/VersioningWebSite/VersionAttribute.cs index 5a90faf2fbf3..89e47d44bc52 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/VersionAttribute.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/VersionAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.ActionConstraints; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/VersionDeleteAttribute.cs b/src/Mvc/test/WebSites/VersioningWebSite/VersionDeleteAttribute.cs index 9354c56b231a..d6828ad38803 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/VersionDeleteAttribute.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/VersionDeleteAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/VersionGetAttribute.cs b/src/Mvc/test/WebSites/VersioningWebSite/VersionGetAttribute.cs index b809c585f974..e2175934fa16 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/VersionGetAttribute.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/VersionGetAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/VersionPostAttribute.cs b/src/Mvc/test/WebSites/VersioningWebSite/VersionPostAttribute.cs index 9738cd946dd0..a42dab965986 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/VersionPostAttribute.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/VersionPostAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/VersionPutAttribute.cs b/src/Mvc/test/WebSites/VersioningWebSite/VersionPutAttribute.cs index ad1dafc17654..02fc0b958858 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/VersionPutAttribute.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/VersionPutAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using Microsoft.AspNetCore.Mvc.Routing; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/VersionRangeValidator.cs b/src/Mvc/test/WebSites/VersioningWebSite/VersionRangeValidator.cs index 858aacc16e9e..4d415dc44b9f 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/VersionRangeValidator.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/VersionRangeValidator.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Http; using Microsoft.AspNetCore.Mvc.ActionConstraints; diff --git a/src/Mvc/test/WebSites/VersioningWebSite/VersionRouteAttribute.cs b/src/Mvc/test/WebSites/VersioningWebSite/VersionRouteAttribute.cs index 1a5123b47d1f..935beb1c649d 100644 --- a/src/Mvc/test/WebSites/VersioningWebSite/VersionRouteAttribute.cs +++ b/src/Mvc/test/WebSites/VersioningWebSite/VersionRouteAttribute.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/HomeController.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/HomeController.cs index 97db10c12597..2587cbb21743 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/HomeController.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/HomeController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/IEnumerableController.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/IEnumerableController.cs index 2917c5ca6673..8fbbbd400d0d 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/IEnumerableController.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/IEnumerableController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/IQueryableController.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/IQueryableController.cs index f60955f4d5a1..222c4ff25521 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/IQueryableController.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/IQueryableController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Collections.Generic; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/SerializableErrorController.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/SerializableErrorController.cs index 4b65e47edbc5..2ce116a14138 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/SerializableErrorController.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/SerializableErrorController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/ValidationController.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/ValidationController.cs index 8553aaaefa87..1e042a7ec595 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/ValidationController.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/ValidationController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.Globalization; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlApiControllerBase.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlApiControllerBase.cs index 529642814454..dad6594095a9 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlApiControllerBase.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlApiControllerBase.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlDataContractApiController.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlDataContractApiController.cs index fc4918943bdf..8be6c4183d6c 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlDataContractApiController.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlDataContractApiController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlSerializedApiController.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlSerializedApiController.cs index b6e39ad96b43..c1a89113933f 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlSerializedApiController.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Controllers/XmlSerializedApiController.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Linq; using Microsoft.AspNetCore.Mvc; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Address.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Address.cs index bd162913b4bf..b394e3ee8972 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Address.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Address.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/DummyClass.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/DummyClass.cs index 683efe201b0b..fed5a8134fbe 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/DummyClass.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/DummyClass.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. namespace XmlFormattersWebSite { diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Employee.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Employee.cs index 071461808442..bfc18db750db 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Employee.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Employee.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Person.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Person.cs index 1a78b7dd8637..b3ee0fe9e228 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Person.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Person.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Store.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Store.cs index cce9d39ba56d..522b806a9d3a 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Store.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Models/Store.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Generic; using System.ComponentModel.DataAnnotations; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapper.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapper.cs index d7f30f151b11..144cf43d1fb7 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapper.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapper.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using System.Globalization; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapperProvider.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapperProvider.cs index 4daefdb45459..1997ef9285f4 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapperProvider.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapperProvider.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System; using Microsoft.AspNetCore.Mvc.Formatters.Xml; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapperProviderFactory.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapperProviderFactory.cs index 0409ab62a73e..a3119c99ff02 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapperProviderFactory.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/PersonWrapperProviderFactory.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using Microsoft.AspNetCore.Mvc.Formatters.Xml; using XmlFormattersWebSite.Models; diff --git a/src/Mvc/test/WebSites/XmlFormattersWebSite/Startup.cs b/src/Mvc/test/WebSites/XmlFormattersWebSite/Startup.cs index 21e00674a7a0..3af3c290ec50 100644 --- a/src/Mvc/test/WebSites/XmlFormattersWebSite/Startup.cs +++ b/src/Mvc/test/WebSites/XmlFormattersWebSite/Startup.cs @@ -1,5 +1,5 @@ -// Copyright (c) .NET Foundation. All rights reserved. -// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. using System.IO; using Microsoft.AspNetCore.Builder;