diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 3d50203c08..0000000000 --- a/LICENSE.md +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) .NET Foundation. All rights reserved. - -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -these files except in compliance with the License. You may obtain a copy of the -License at - -http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software distributed -under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR -CONDITIONS OF ANY KIND, either express or implied. See the License for the -specific language governing permissions and limitations under the License. - diff --git a/samples/ChatSample/Controllers/AccountController.cs b/samples/ChatSample/Controllers/AccountController.cs index cbbd6a6a63..d816834c25 100644 --- a/samples/ChatSample/Controllers/AccountController.cs +++ b/samples/ChatSample/Controllers/AccountController.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Security.Claims; diff --git a/samples/ChatSample/Controllers/HomeController.cs b/samples/ChatSample/Controllers/HomeController.cs index 77436b46ee..32a10e1937 100644 --- a/samples/ChatSample/Controllers/HomeController.cs +++ b/samples/ChatSample/Controllers/HomeController.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Mvc; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Authorization; namespace ChatSample.Controllers diff --git a/samples/ChatSample/Controllers/ManageController.cs b/samples/ChatSample/Controllers/ManageController.cs index 6dd0bab92b..e35362b81d 100644 --- a/samples/ChatSample/Controllers/ManageController.cs +++ b/samples/ChatSample/Controllers/ManageController.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Data/ApplicationDbContext.cs b/samples/ChatSample/Data/ApplicationDbContext.cs index 28d1e88c3f..24501465ad 100644 --- a/samples/ChatSample/Data/ApplicationDbContext.cs +++ b/samples/ChatSample/Data/ApplicationDbContext.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs b/samples/ChatSample/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs index 72a4abbf17..4495d0fa6d 100644 --- a/samples/ChatSample/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs +++ b/samples/ChatSample/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Data/Migrations/00000000000000_CreateIdentitySchema.cs b/samples/ChatSample/Data/Migrations/00000000000000_CreateIdentitySchema.cs index 7ad9f71e4c..464522e7fa 100644 --- a/samples/ChatSample/Data/Migrations/00000000000000_CreateIdentitySchema.cs +++ b/samples/ChatSample/Data/Migrations/00000000000000_CreateIdentitySchema.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Data/Migrations/ApplicationDbContextModelSnapshot.cs b/samples/ChatSample/Data/Migrations/ApplicationDbContextModelSnapshot.cs index a2da4757ae..21f0ee1fa4 100644 --- a/samples/ChatSample/Data/Migrations/ApplicationDbContextModelSnapshot.cs +++ b/samples/ChatSample/Data/Migrations/ApplicationDbContextModelSnapshot.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Hubs/Chat.cs b/samples/ChatSample/Hubs/Chat.cs index 7864953f6d..200e7df8f3 100644 --- a/samples/ChatSample/Hubs/Chat.cs +++ b/samples/ChatSample/Hubs/Chat.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs b/samples/ChatSample/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs index c445316978..7cd25f1943 100644 --- a/samples/ChatSample/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs +++ b/samples/ChatSample/Models/AccountViewModels/ExternalLoginConfirmationViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/AccountViewModels/ForgotPasswordViewModel.cs b/samples/ChatSample/Models/AccountViewModels/ForgotPasswordViewModel.cs index b743ebe4ff..24f7d828e8 100644 --- a/samples/ChatSample/Models/AccountViewModels/ForgotPasswordViewModel.cs +++ b/samples/ChatSample/Models/AccountViewModels/ForgotPasswordViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/AccountViewModels/LoginViewModel.cs b/samples/ChatSample/Models/AccountViewModels/LoginViewModel.cs index 3033485dc9..d1e5836ad3 100644 --- a/samples/ChatSample/Models/AccountViewModels/LoginViewModel.cs +++ b/samples/ChatSample/Models/AccountViewModels/LoginViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/AccountViewModels/RegisterViewModel.cs b/samples/ChatSample/Models/AccountViewModels/RegisterViewModel.cs index 308176dc74..c82134fbf5 100644 --- a/samples/ChatSample/Models/AccountViewModels/RegisterViewModel.cs +++ b/samples/ChatSample/Models/AccountViewModels/RegisterViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/AccountViewModels/ResetPasswordViewModel.cs b/samples/ChatSample/Models/AccountViewModels/ResetPasswordViewModel.cs index 6b220f7d55..634e970ddf 100644 --- a/samples/ChatSample/Models/AccountViewModels/ResetPasswordViewModel.cs +++ b/samples/ChatSample/Models/AccountViewModels/ResetPasswordViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/AccountViewModels/SendCodeViewModel.cs b/samples/ChatSample/Models/AccountViewModels/SendCodeViewModel.cs index d8edae2e35..d9a613bcd8 100644 --- a/samples/ChatSample/Models/AccountViewModels/SendCodeViewModel.cs +++ b/samples/ChatSample/Models/AccountViewModels/SendCodeViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Models/AccountViewModels/VerifyCodeViewModel.cs b/samples/ChatSample/Models/AccountViewModels/VerifyCodeViewModel.cs index 133c54701c..47e3d401ea 100644 --- a/samples/ChatSample/Models/AccountViewModels/VerifyCodeViewModel.cs +++ b/samples/ChatSample/Models/AccountViewModels/VerifyCodeViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/ApplicationUser.cs b/samples/ChatSample/Models/ApplicationUser.cs index 9f4ebf43b9..7e9a6207bf 100644 --- a/samples/ChatSample/Models/ApplicationUser.cs +++ b/samples/ChatSample/Models/ApplicationUser.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Models/ManageViewModels/AddPhoneNumberViewModel.cs b/samples/ChatSample/Models/ManageViewModels/AddPhoneNumberViewModel.cs index a8d38f2e54..dbe0aa37e9 100644 --- a/samples/ChatSample/Models/ManageViewModels/AddPhoneNumberViewModel.cs +++ b/samples/ChatSample/Models/ManageViewModels/AddPhoneNumberViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/ManageViewModels/ChangePasswordViewModel.cs b/samples/ChatSample/Models/ManageViewModels/ChangePasswordViewModel.cs index 2d067efa2c..2197337aca 100644 --- a/samples/ChatSample/Models/ManageViewModels/ChangePasswordViewModel.cs +++ b/samples/ChatSample/Models/ManageViewModels/ChangePasswordViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs b/samples/ChatSample/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs index 892da5e26e..d61eda0978 100644 --- a/samples/ChatSample/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs +++ b/samples/ChatSample/Models/ManageViewModels/ConfigureTwoFactorViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Models/ManageViewModels/FactorViewModel.cs b/samples/ChatSample/Models/ManageViewModels/FactorViewModel.cs index e1c3d8c631..6707a6d3b3 100644 --- a/samples/ChatSample/Models/ManageViewModels/FactorViewModel.cs +++ b/samples/ChatSample/Models/ManageViewModels/FactorViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Models/ManageViewModels/IndexViewModel.cs b/samples/ChatSample/Models/ManageViewModels/IndexViewModel.cs index 69dc8ea206..132aa2ebd1 100644 --- a/samples/ChatSample/Models/ManageViewModels/IndexViewModel.cs +++ b/samples/ChatSample/Models/ManageViewModels/IndexViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Models/ManageViewModels/ManageLoginsViewModel.cs b/samples/ChatSample/Models/ManageViewModels/ManageLoginsViewModel.cs index 833abfe110..021fb7ca2b 100644 --- a/samples/ChatSample/Models/ManageViewModels/ManageLoginsViewModel.cs +++ b/samples/ChatSample/Models/ManageViewModels/ManageLoginsViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Models/ManageViewModels/RemoveLoginViewModel.cs b/samples/ChatSample/Models/ManageViewModels/RemoveLoginViewModel.cs index f4cb127406..c09572f019 100644 --- a/samples/ChatSample/Models/ManageViewModels/RemoveLoginViewModel.cs +++ b/samples/ChatSample/Models/ManageViewModels/RemoveLoginViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/ManageViewModels/SetPasswordViewModel.cs b/samples/ChatSample/Models/ManageViewModels/SetPasswordViewModel.cs index e8602a4ebf..dd360751f0 100644 --- a/samples/ChatSample/Models/ManageViewModels/SetPasswordViewModel.cs +++ b/samples/ChatSample/Models/ManageViewModels/SetPasswordViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs b/samples/ChatSample/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs index d285be066a..5cbba58fde 100644 --- a/samples/ChatSample/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs +++ b/samples/ChatSample/Models/ManageViewModels/VerifyPhoneNumberViewModel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; diff --git a/samples/ChatSample/Program.cs b/samples/ChatSample/Program.cs index f069e319d7..e08380975b 100644 --- a/samples/ChatSample/Program.cs +++ b/samples/ChatSample/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/samples/ChatSample/Services/IEmailSender.cs b/samples/ChatSample/Services/IEmailSender.cs index 6dfa96b4da..93896d6a89 100644 --- a/samples/ChatSample/Services/IEmailSender.cs +++ b/samples/ChatSample/Services/IEmailSender.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Services/ISmsSender.cs b/samples/ChatSample/Services/ISmsSender.cs index f1318819dc..3476319e87 100644 --- a/samples/ChatSample/Services/ISmsSender.cs +++ b/samples/ChatSample/Services/ISmsSender.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Services/MessageServices.cs b/samples/ChatSample/Services/MessageServices.cs index 2b5e837dfc..8654dc6062 100644 --- a/samples/ChatSample/Services/MessageServices.cs +++ b/samples/ChatSample/Services/MessageServices.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ChatSample/Startup.cs b/samples/ChatSample/Startup.cs index cc59270d68..c330b1672f 100644 --- a/samples/ChatSample/Startup.cs +++ b/samples/ChatSample/Startup.cs @@ -1,4 +1,7 @@ -using ChatSample.Data; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using ChatSample.Data; using ChatSample.Hubs; using ChatSample.Models; using ChatSample.Services; diff --git a/samples/ClientSample/Program.cs b/samples/ClientSample/Program.cs index 6bb5d57081..69b8534047 100644 --- a/samples/ClientSample/Program.cs +++ b/samples/ClientSample/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/ClientSample/Properties/AssemblyInfo.cs b/samples/ClientSample/Properties/AssemblyInfo.cs index cfe0e20b23..40c0217c29 100644 --- a/samples/ClientSample/Properties/AssemblyInfo.cs +++ b/samples/ClientSample/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/samples/SocketsSample/EndPoints/ChatEndPoint.cs b/samples/SocketsSample/EndPoints/ChatEndPoint.cs index a51d69688f..a7f628d001 100644 --- a/samples/SocketsSample/EndPoints/ChatEndPoint.cs +++ b/samples/SocketsSample/EndPoints/ChatEndPoint.cs @@ -1,4 +1,7 @@ -using System.Collections.Generic; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Collections.Generic; using System.Text; using System.Threading.Tasks; using Channels; diff --git a/samples/SocketsSample/Hubs/Chat.cs b/samples/SocketsSample/Hubs/Chat.cs index 8ca2ba3ac3..16fe4ad31d 100644 --- a/samples/SocketsSample/Hubs/Chat.cs +++ b/samples/SocketsSample/Hubs/Chat.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Threading.Tasks; using Microsoft.AspNetCore.SignalR; diff --git a/samples/SocketsSample/Hubs/Person.cs b/samples/SocketsSample/Hubs/Person.cs index 66f38a1b9e..7a1699355b 100644 --- a/samples/SocketsSample/Hubs/Person.cs +++ b/samples/SocketsSample/Hubs/Person.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/samples/SocketsSample/LineInvocationAdapter.cs b/samples/SocketsSample/LineInvocationAdapter.cs index 8c6cbb7411..54307ad1b7 100644 --- a/samples/SocketsSample/LineInvocationAdapter.cs +++ b/samples/SocketsSample/LineInvocationAdapter.cs @@ -1,4 +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. + using System; using System.IO; using System.Linq; diff --git a/samples/SocketsSample/Program.cs b/samples/SocketsSample/Program.cs index 620f9b4c98..9d1627b5ea 100644 --- a/samples/SocketsSample/Program.cs +++ b/samples/SocketsSample/Program.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/samples/SocketsSample/Protobuf/ProtobufInvocationAdapter.cs b/samples/SocketsSample/Protobuf/ProtobufInvocationAdapter.cs index 020a0ee2cc..c8ac2774ae 100644 --- a/samples/SocketsSample/Protobuf/ProtobufInvocationAdapter.cs +++ b/samples/SocketsSample/Protobuf/ProtobufInvocationAdapter.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.IO; using System.Threading.Tasks; using Google.Protobuf; diff --git a/samples/SocketsSample/Protobuf/RpcInvocation.cs b/samples/SocketsSample/Protobuf/RpcInvocation.cs index c006bb809f..a20fc10e4f 100644 --- a/samples/SocketsSample/Protobuf/RpcInvocation.cs +++ b/samples/SocketsSample/Protobuf/RpcInvocation.cs @@ -1,3 +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. + // Generated by the protocol buffer compiler. DO NOT EDIT! // source: RpcInvocation.proto #pragma warning disable 1591, 0612, 3021 diff --git a/samples/SocketsSample/ProtobufSerializer.cs b/samples/SocketsSample/ProtobufSerializer.cs index c5c602343f..3b1aaec672 100644 --- a/samples/SocketsSample/ProtobufSerializer.cs +++ b/samples/SocketsSample/ProtobufSerializer.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using Google.Protobuf; using SocketsSample.Hubs; diff --git a/samples/SocketsSample/Startup.cs b/samples/SocketsSample/Startup.cs index 3193d98693..35a84ccae5 100644 --- a/samples/SocketsSample/Startup.cs +++ b/samples/SocketsSample/Startup.cs @@ -1,4 +1,7 @@ -using Microsoft.AspNetCore.Builder; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; diff --git a/src/Microsoft.AspNetCore.SignalR.Redis/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.SignalR.Redis/Properties/AssemblyInfo.cs index c0cb44b30d..559bce026d 100644 --- a/src/Microsoft.AspNetCore.SignalR.Redis/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.SignalR.Redis/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/Microsoft.AspNetCore.SignalR.Redis/RedisDependencyInjectionExtensions.cs b/src/Microsoft.AspNetCore.SignalR.Redis/RedisDependencyInjectionExtensions.cs index decaa12942..3a96cec14d 100644 --- a/src/Microsoft.AspNetCore.SignalR.Redis/RedisDependencyInjectionExtensions.cs +++ b/src/Microsoft.AspNetCore.SignalR.Redis/RedisDependencyInjectionExtensions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR.Redis/RedisHubLifetimeManager.cs b/src/Microsoft.AspNetCore.SignalR.Redis/RedisHubLifetimeManager.cs index 8df2468090..1af98596ed 100644 --- a/src/Microsoft.AspNetCore.SignalR.Redis/RedisHubLifetimeManager.cs +++ b/src/Microsoft.AspNetCore.SignalR.Redis/RedisHubLifetimeManager.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.IO; diff --git a/src/Microsoft.AspNetCore.SignalR.Redis/RedisOptions.cs b/src/Microsoft.AspNetCore.SignalR.Redis/RedisOptions.cs index c6b19dfbd0..c52132339d 100644 --- a/src/Microsoft.AspNetCore.SignalR.Redis/RedisOptions.cs +++ b/src/Microsoft.AspNetCore.SignalR.Redis/RedisOptions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.IO; using StackExchange.Redis; diff --git a/src/Microsoft.AspNetCore.SignalR/DefaultHubLifetimeManager.cs b/src/Microsoft.AspNetCore.SignalR/DefaultHubLifetimeManager.cs index cf8795bc14..791e715382 100644 --- a/src/Microsoft.AspNetCore.SignalR/DefaultHubLifetimeManager.cs +++ b/src/Microsoft.AspNetCore.SignalR/DefaultHubLifetimeManager.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR/DependencyInjectionExtensions.cs b/src/Microsoft.AspNetCore.SignalR/DependencyInjectionExtensions.cs index 2b9a72822d..73cdef1eae 100644 --- a/src/Microsoft.AspNetCore.SignalR/DependencyInjectionExtensions.cs +++ b/src/Microsoft.AspNetCore.SignalR/DependencyInjectionExtensions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using Microsoft.AspNetCore.SignalR; using Microsoft.Extensions.Options; diff --git a/src/Microsoft.AspNetCore.SignalR/Hub.cs b/src/Microsoft.AspNetCore.SignalR/Hub.cs index 919c2d34e5..07932d1263 100644 --- a/src/Microsoft.AspNetCore.SignalR/Hub.cs +++ b/src/Microsoft.AspNetCore.SignalR/Hub.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Threading.Tasks; namespace Microsoft.AspNetCore.SignalR diff --git a/src/Microsoft.AspNetCore.SignalR/HubCallerContext.cs b/src/Microsoft.AspNetCore.SignalR/HubCallerContext.cs index cf32750ec6..50df41dc6a 100644 --- a/src/Microsoft.AspNetCore.SignalR/HubCallerContext.cs +++ b/src/Microsoft.AspNetCore.SignalR/HubCallerContext.cs @@ -1,4 +1,7 @@ -using System.Security.Claims; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Security.Claims; using Microsoft.AspNetCore.Sockets; namespace Microsoft.AspNetCore.SignalR diff --git a/src/Microsoft.AspNetCore.SignalR/HubContext.cs b/src/Microsoft.AspNetCore.SignalR/HubContext.cs index cfc1a1d0c7..ce96c9249a 100644 --- a/src/Microsoft.AspNetCore.SignalR/HubContext.cs +++ b/src/Microsoft.AspNetCore.SignalR/HubContext.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR/HubEndPoint.cs b/src/Microsoft.AspNetCore.SignalR/HubEndPoint.cs index bd4ee81586..58245f9f43 100644 --- a/src/Microsoft.AspNetCore.SignalR/HubEndPoint.cs +++ b/src/Microsoft.AspNetCore.SignalR/HubEndPoint.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Reflection; diff --git a/src/Microsoft.AspNetCore.SignalR/HubLifetimeManager.cs b/src/Microsoft.AspNetCore.SignalR/HubLifetimeManager.cs index da82252eb7..51a2b4d4f7 100644 --- a/src/Microsoft.AspNetCore.SignalR/HubLifetimeManager.cs +++ b/src/Microsoft.AspNetCore.SignalR/HubLifetimeManager.cs @@ -1,4 +1,7 @@ -using System.Threading.Tasks; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Threading.Tasks; using Microsoft.AspNetCore.Sockets; namespace Microsoft.AspNetCore.SignalR diff --git a/src/Microsoft.AspNetCore.SignalR/IClientProxy.cs b/src/Microsoft.AspNetCore.SignalR/IClientProxy.cs index 5204a36638..3749eba811 100644 --- a/src/Microsoft.AspNetCore.SignalR/IClientProxy.cs +++ b/src/Microsoft.AspNetCore.SignalR/IClientProxy.cs @@ -1,4 +1,7 @@ -using System.Threading.Tasks; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Threading.Tasks; namespace Microsoft.AspNetCore.SignalR { diff --git a/src/Microsoft.AspNetCore.SignalR/IGroupManager.cs b/src/Microsoft.AspNetCore.SignalR/IGroupManager.cs index e89e409619..e95d53cd08 100644 --- a/src/Microsoft.AspNetCore.SignalR/IGroupManager.cs +++ b/src/Microsoft.AspNetCore.SignalR/IGroupManager.cs @@ -1,4 +1,7 @@ -using System.Threading.Tasks; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Threading.Tasks; namespace Microsoft.AspNetCore.SignalR { diff --git a/src/Microsoft.AspNetCore.SignalR/IHubConnectionContext.cs b/src/Microsoft.AspNetCore.SignalR/IHubConnectionContext.cs index a1e0a5d727..6dfd59f446 100644 --- a/src/Microsoft.AspNetCore.SignalR/IHubConnectionContext.cs +++ b/src/Microsoft.AspNetCore.SignalR/IHubConnectionContext.cs @@ -1,4 +1,7 @@ -namespace Microsoft.AspNetCore.SignalR +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +namespace Microsoft.AspNetCore.SignalR { public interface IHubConnectionContext { diff --git a/src/Microsoft.AspNetCore.SignalR/IHubContext.cs b/src/Microsoft.AspNetCore.SignalR/IHubContext.cs index 3bfed5f105..578ccc8d36 100644 --- a/src/Microsoft.AspNetCore.SignalR/IHubContext.cs +++ b/src/Microsoft.AspNetCore.SignalR/IHubContext.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR/IInvocationAdapter.cs b/src/Microsoft.AspNetCore.SignalR/IInvocationAdapter.cs index 3481c19d00..0cfa09aa89 100644 --- a/src/Microsoft.AspNetCore.SignalR/IInvocationAdapter.cs +++ b/src/Microsoft.AspNetCore.SignalR/IInvocationAdapter.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.IO; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR/ISignalRBuilder.cs b/src/Microsoft.AspNetCore.SignalR/ISignalRBuilder.cs index 4107d37d0a..bc16d08dec 100644 --- a/src/Microsoft.AspNetCore.SignalR/ISignalRBuilder.cs +++ b/src/Microsoft.AspNetCore.SignalR/ISignalRBuilder.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR/InvocationAdapterRegistry.cs b/src/Microsoft.AspNetCore.SignalR/InvocationAdapterRegistry.cs index 622d9c3b60..112b8d9345 100644 --- a/src/Microsoft.AspNetCore.SignalR/InvocationAdapterRegistry.cs +++ b/src/Microsoft.AspNetCore.SignalR/InvocationAdapterRegistry.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Options; diff --git a/src/Microsoft.AspNetCore.SignalR/InvocationDescriptor.cs b/src/Microsoft.AspNetCore.SignalR/InvocationDescriptor.cs index e9eb979f37..17bfa24763 100644 --- a/src/Microsoft.AspNetCore.SignalR/InvocationDescriptor.cs +++ b/src/Microsoft.AspNetCore.SignalR/InvocationDescriptor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; namespace Microsoft.AspNetCore.SignalR { diff --git a/src/Microsoft.AspNetCore.SignalR/InvocationResultDescriptor.cs b/src/Microsoft.AspNetCore.SignalR/InvocationResultDescriptor.cs index f32b94ee07..8fc9cb9511 100644 --- a/src/Microsoft.AspNetCore.SignalR/InvocationResultDescriptor.cs +++ b/src/Microsoft.AspNetCore.SignalR/InvocationResultDescriptor.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR/JsonNetInvocationAdapter.cs b/src/Microsoft.AspNetCore.SignalR/JsonNetInvocationAdapter.cs index 50cf9346cb..13b99e8cd1 100644 --- a/src/Microsoft.AspNetCore.SignalR/JsonNetInvocationAdapter.cs +++ b/src/Microsoft.AspNetCore.SignalR/JsonNetInvocationAdapter.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.IO; using System.Threading.Tasks; using Newtonsoft.Json; diff --git a/src/Microsoft.AspNetCore.SignalR/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.SignalR/Properties/AssemblyInfo.cs index 2fd952238e..89666f7c53 100644 --- a/src/Microsoft.AspNetCore.SignalR/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.SignalR/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/Microsoft.AspNetCore.SignalR/Proxies.cs b/src/Microsoft.AspNetCore.SignalR/Proxies.cs index 00350c8af8..9659d643c9 100644 --- a/src/Microsoft.AspNetCore.SignalR/Proxies.cs +++ b/src/Microsoft.AspNetCore.SignalR/Proxies.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.AspNetCore.Sockets; diff --git a/src/Microsoft.AspNetCore.SignalR/SignalRAppBuilderExtensions.cs b/src/Microsoft.AspNetCore.SignalR/SignalRAppBuilderExtensions.cs index 77b0803d57..33a8399713 100644 --- a/src/Microsoft.AspNetCore.SignalR/SignalRAppBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.SignalR/SignalRAppBuilderExtensions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR/SignalRBuilder.cs b/src/Microsoft.AspNetCore.SignalR/SignalRBuilder.cs index 714fb5956a..cada0ef821 100644 --- a/src/Microsoft.AspNetCore.SignalR/SignalRBuilder.cs +++ b/src/Microsoft.AspNetCore.SignalR/SignalRBuilder.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR/SignalROptions.cs b/src/Microsoft.AspNetCore.SignalR/SignalROptions.cs index bbc48cb677..65a00b85ca 100644 --- a/src/Microsoft.AspNetCore.SignalR/SignalROptions.cs +++ b/src/Microsoft.AspNetCore.SignalR/SignalROptions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.SignalR/SignalROptionsSetup.cs b/src/Microsoft.AspNetCore.SignalR/SignalROptionsSetup.cs index 01bf680423..546d621437 100644 --- a/src/Microsoft.AspNetCore.SignalR/SignalROptionsSetup.cs +++ b/src/Microsoft.AspNetCore.SignalR/SignalROptionsSetup.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using Microsoft.AspNetCore.SignalR; using Microsoft.Extensions.Options; diff --git a/src/Microsoft.AspNetCore.Sockets/Connection.cs b/src/Microsoft.AspNetCore.Sockets/Connection.cs index cb0168f3e1..dccc374a42 100644 --- a/src/Microsoft.AspNetCore.Sockets/Connection.cs +++ b/src/Microsoft.AspNetCore.Sockets/Connection.cs @@ -1,4 +1,7 @@ -using System.Security.Claims; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Security.Claims; using Channels; namespace Microsoft.AspNetCore.Sockets diff --git a/src/Microsoft.AspNetCore.Sockets/ConnectionList.cs b/src/Microsoft.AspNetCore.Sockets/ConnectionList.cs index 1550d20834..5f5efaadb8 100644 --- a/src/Microsoft.AspNetCore.Sockets/ConnectionList.cs +++ b/src/Microsoft.AspNetCore.Sockets/ConnectionList.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections; using System.Collections.Concurrent; using System.Collections.Generic; diff --git a/src/Microsoft.AspNetCore.Sockets/ConnectionManager.cs b/src/Microsoft.AspNetCore.Sockets/ConnectionManager.cs index 1d128c2ab5..86d8093078 100644 --- a/src/Microsoft.AspNetCore.Sockets/ConnectionManager.cs +++ b/src/Microsoft.AspNetCore.Sockets/ConnectionManager.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Concurrent; using System.Threading; using Channels; diff --git a/src/Microsoft.AspNetCore.Sockets/ConnectionMetadata.cs b/src/Microsoft.AspNetCore.Sockets/ConnectionMetadata.cs index 8d9d54b800..64680d5919 100644 --- a/src/Microsoft.AspNetCore.Sockets/ConnectionMetadata.cs +++ b/src/Microsoft.AspNetCore.Sockets/ConnectionMetadata.cs @@ -1,4 +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. + using System; using System.Collections.Concurrent; diff --git a/src/Microsoft.AspNetCore.Sockets/ConnectionState.cs b/src/Microsoft.AspNetCore.Sockets/ConnectionState.cs index 0b21533a7d..d80db1d8dd 100644 --- a/src/Microsoft.AspNetCore.Sockets/ConnectionState.cs +++ b/src/Microsoft.AspNetCore.Sockets/ConnectionState.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; namespace Microsoft.AspNetCore.Sockets { diff --git a/src/Microsoft.AspNetCore.Sockets/EndPoint.cs b/src/Microsoft.AspNetCore.Sockets/EndPoint.cs index 9317eaecb2..b34e641ccc 100644 --- a/src/Microsoft.AspNetCore.Sockets/EndPoint.cs +++ b/src/Microsoft.AspNetCore.Sockets/EndPoint.cs @@ -1,4 +1,7 @@ -using System.Threading.Tasks; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Threading.Tasks; namespace Microsoft.AspNetCore.Sockets { diff --git a/src/Microsoft.AspNetCore.Sockets/Format.cs b/src/Microsoft.AspNetCore.Sockets/Format.cs index 3e86022ec5..fd9e6cd6b9 100644 --- a/src/Microsoft.AspNetCore.Sockets/Format.cs +++ b/src/Microsoft.AspNetCore.Sockets/Format.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.Sockets/HttpChannel.cs b/src/Microsoft.AspNetCore.Sockets/HttpChannel.cs index 036bd6a68f..7abe3b34fe 100644 --- a/src/Microsoft.AspNetCore.Sockets/HttpChannel.cs +++ b/src/Microsoft.AspNetCore.Sockets/HttpChannel.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using Channels; namespace Microsoft.AspNetCore.Sockets diff --git a/src/Microsoft.AspNetCore.Sockets/HttpConnectionDispatcher.cs b/src/Microsoft.AspNetCore.Sockets/HttpConnectionDispatcher.cs index e97507840d..cdaba83366 100644 --- a/src/Microsoft.AspNetCore.Sockets/HttpConnectionDispatcher.cs +++ b/src/Microsoft.AspNetCore.Sockets/HttpConnectionDispatcher.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Text; using System.Threading.Tasks; using Channels; diff --git a/src/Microsoft.AspNetCore.Sockets/HttpDispatcherAppBuilderExtensions.cs b/src/Microsoft.AspNetCore.Sockets/HttpDispatcherAppBuilderExtensions.cs index c92ca39c36..f97ed0d8c6 100644 --- a/src/Microsoft.AspNetCore.Sockets/HttpDispatcherAppBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Sockets/HttpDispatcherAppBuilderExtensions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using Channels; using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Routing; diff --git a/src/Microsoft.AspNetCore.Sockets/IHttpTransport.cs b/src/Microsoft.AspNetCore.Sockets/IHttpTransport.cs index e0b437927f..b28211c51d 100644 --- a/src/Microsoft.AspNetCore.Sockets/IHttpTransport.cs +++ b/src/Microsoft.AspNetCore.Sockets/IHttpTransport.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.Sockets/LongPolling.cs b/src/Microsoft.AspNetCore.Sockets/LongPolling.cs index a740a30b31..c105bc5847 100644 --- a/src/Microsoft.AspNetCore.Sockets/LongPolling.cs +++ b/src/Microsoft.AspNetCore.Sockets/LongPolling.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Threading.Tasks; using Channels; using Microsoft.AspNetCore.Http; diff --git a/src/Microsoft.AspNetCore.Sockets/Routing/PrefixRoute.cs b/src/Microsoft.AspNetCore.Sockets/Routing/PrefixRoute.cs index df591481a3..15f83c763c 100644 --- a/src/Microsoft.AspNetCore.Sockets/Routing/PrefixRoute.cs +++ b/src/Microsoft.AspNetCore.Sockets/Routing/PrefixRoute.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.Sockets/Routing/RouteBuilderExtensions.cs b/src/Microsoft.AspNetCore.Sockets/Routing/RouteBuilderExtensions.cs index 2fab0a266e..3482a6770e 100644 --- a/src/Microsoft.AspNetCore.Sockets/Routing/RouteBuilderExtensions.cs +++ b/src/Microsoft.AspNetCore.Sockets/Routing/RouteBuilderExtensions.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.Sockets/ServerSentEvents.cs b/src/Microsoft.AspNetCore.Sockets/ServerSentEvents.cs index 173416bb4c..6cc35b5a94 100644 --- a/src/Microsoft.AspNetCore.Sockets/ServerSentEvents.cs +++ b/src/Microsoft.AspNetCore.Sockets/ServerSentEvents.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Threading.Tasks; using Channels; using Microsoft.AspNetCore.Http; diff --git a/src/Microsoft.AspNetCore.Sockets/WebSockets.cs b/src/Microsoft.AspNetCore.Sockets/WebSockets.cs index ad500a2b05..77a4c930c4 100644 --- a/src/Microsoft.AspNetCore.Sockets/WebSockets.cs +++ b/src/Microsoft.AspNetCore.Sockets/WebSockets.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Net.WebSockets; using System.Threading; using System.Threading.Tasks; diff --git a/src/Microsoft.AspNetCore.WebSockets.Internal/Properties/AssemblyInfo.cs b/src/Microsoft.AspNetCore.WebSockets.Internal/Properties/AssemblyInfo.cs index a5b133fdca..2e127f8d8e 100644 --- a/src/Microsoft.AspNetCore.WebSockets.Internal/Properties/AssemblyInfo.cs +++ b/src/Microsoft.AspNetCore.WebSockets.Internal/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/src/Microsoft.Extensions.WebSockets.Internal/Properties/AssemblyInfo.cs b/src/Microsoft.Extensions.WebSockets.Internal/Properties/AssemblyInfo.cs index c76663bf35..faeef5ffeb 100644 --- a/src/Microsoft.Extensions.WebSockets.Internal/Properties/AssemblyInfo.cs +++ b/src/Microsoft.Extensions.WebSockets.Internal/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Reflection; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following diff --git a/test/Microsoft.AspNetCore.Sockets.Tests/ConnectionManagerTests.cs b/test/Microsoft.AspNetCore.Sockets.Tests/ConnectionManagerTests.cs index 9eec53d06f..880fec36bf 100644 --- a/test/Microsoft.AspNetCore.Sockets.Tests/ConnectionManagerTests.cs +++ b/test/Microsoft.AspNetCore.Sockets.Tests/ConnectionManagerTests.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/test/Microsoft.AspNetCore.Sockets.Tests/HttpConnectionDispatcherTests.cs b/test/Microsoft.AspNetCore.Sockets.Tests/HttpConnectionDispatcherTests.cs index 0b17aaab36..6f403f7d64 100644 --- a/test/Microsoft.AspNetCore.Sockets.Tests/HttpConnectionDispatcherTests.cs +++ b/test/Microsoft.AspNetCore.Sockets.Tests/HttpConnectionDispatcherTests.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/test/Microsoft.AspNetCore.Sockets.Tests/LongPollingTests.cs b/test/Microsoft.AspNetCore.Sockets.Tests/LongPollingTests.cs index 466b939628..bffd2834c5 100644 --- a/test/Microsoft.AspNetCore.Sockets.Tests/LongPollingTests.cs +++ b/test/Microsoft.AspNetCore.Sockets.Tests/LongPollingTests.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/test/Microsoft.AspNetCore.Sockets.Tests/Properties/AssemblyInfo.cs b/test/Microsoft.AspNetCore.Sockets.Tests/Properties/AssemblyInfo.cs index b3149d65f7..345ad2fff7 100644 --- a/test/Microsoft.AspNetCore.Sockets.Tests/Properties/AssemblyInfo.cs +++ b/test/Microsoft.AspNetCore.Sockets.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; diff --git a/test/Microsoft.AspNetCore.Sockets.Tests/ServerSentEventsTests.cs b/test/Microsoft.AspNetCore.Sockets.Tests/ServerSentEventsTests.cs index c3e8cfce83..a02c7a9c9f 100644 --- a/test/Microsoft.AspNetCore.Sockets.Tests/ServerSentEventsTests.cs +++ b/test/Microsoft.AspNetCore.Sockets.Tests/ServerSentEventsTests.cs @@ -1,4 +1,7 @@ -using System; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; using System.IO; using System.Linq; diff --git a/test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Properties/AssemblyInfo.cs b/test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Properties/AssemblyInfo.cs index 72534b1587..4110cf90df 100644 --- a/test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Properties/AssemblyInfo.cs +++ b/test/Microsoft.AspNetCore.WebSockets.Internal.ConformanceTest/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Reflection; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following diff --git a/test/Microsoft.Extensions.WebSockets.Internal.Tests/Properties/AssemblyInfo.cs b/test/Microsoft.Extensions.WebSockets.Internal.Tests/Properties/AssemblyInfo.cs index f562f703c0..a35945d011 100644 --- a/test/Microsoft.Extensions.WebSockets.Internal.Tests/Properties/AssemblyInfo.cs +++ b/test/Microsoft.Extensions.WebSockets.Internal.Tests/Properties/AssemblyInfo.cs @@ -1,4 +1,7 @@ -using System.Reflection; +// Copyright (c) .NET Foundation. All rights reserved. +// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. + +using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices;