Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Commit e3623d2

Browse files
authored
set MIT file-header for each file (#684)
* set MIT file-header for each file * rollback unecessary editorconfig changes Co-authored-by: Dmitrii Korolev <dmkorolev@microsoft.com>
1 parent 7dba665 commit e3623d2

File tree

307 files changed

+1084
-682
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

307 files changed

+1084
-682
lines changed

.editorconfig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ indent_style = space
1010
indent_size = 4
1111
charset = utf-8-bom
1212

13-
file_header_template =--------------------------------------------------------------------------\n <copyright file="{fileName}" company="Microsoft">\n Copyright (c) Microsoft Corporation. All rights reserved.\n </copyright>\n--------------------------------------------------------------------------
13+
file_header_template =--------------------------------------------------------------------------\n Copyright (c) Microsoft Corporation. All rights reserved.\n Licensed under the MIT License.\n--------------------------------------------------------------------------
1414

1515
# use this. for all instance member access
1616
dotnet_style_qualification_for_field = true:error
@@ -47,7 +47,7 @@ dotnet_naming_symbols.static_fields.applicable_accessibilities = *
4747
dotnet_naming_symbols.static_fields.required_modifiers = static
4848

4949
# Private instance private fields are camelCase
50-
dotnet_naming_rule.private_instance_fields_should_be_camel_case.severity = error
50+
dotnet_naming_rule.private_instance_fields_should_be_camel_case.severity = error
5151
dotnet_naming_rule.private_instance_fields_should_be_camel_case.symbols = private_instance_fields
5252
dotnet_naming_rule.private_instance_fields_should_be_camel_case.style = camel_case
5353

@@ -69,7 +69,7 @@ dotnet_naming_rule.local_functions_should_be_pascal_case.style = pascal_case
6969
dotnet_naming_symbols.local_functions.applicable_kinds = local_function
7070

7171
# All public and internal members are PascalCase
72-
dotnet_naming_rule.public_members_should_be_pascal_case.severity = error
72+
dotnet_naming_rule.public_members_should_be_pascal_case.severity = error
7373
dotnet_naming_rule.public_members_should_be_pascal_case.symbols = public_members
7474
dotnet_naming_rule.public_members_should_be_pascal_case.style = pascal_case
7575

Microsoft.Azure.Management.ApiManagement.sln

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{A8FCD0FA-290
1111
EndProject
1212
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{583B0ECD-81D1-4091-B158-2651468CBB51}"
1313
EndProject
14+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "!SolutionItems", "!SolutionItems", "{B241C635-76E9-4B85-8BAC-B0265D1E2E92}"
15+
ProjectSection(SolutionItems) = preProject
16+
.editorconfig = .editorconfig
17+
EndProjectSection
18+
EndProject
1419
Global
1520
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1621
Debug|Any CPU = Debug|Any CPU

src/ArmTemplates/Commands/Abstractions/IConsoleAppCommand.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// --------------------------------------------------------------------------
2-
// <copyright file="ICommandLineApplication.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License.
54
// --------------------------------------------------------------------------
65

76
using System.Threading.Tasks;

src/ArmTemplates/Commands/Applications/CreateApplicationCommand.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using System;
1+
// --------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License.
4+
// --------------------------------------------------------------------------
5+
6+
using System;
27
using System.Collections.Generic;
38
using System.Linq;
49
using System.Threading.Tasks;

src/ArmTemplates/Commands/Applications/ExtractApplicationCommand.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using System;
1+
// --------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License.
4+
// --------------------------------------------------------------------------
5+
6+
using System;
27
using System.IO;
38
using System.Threading.Tasks;
49
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Commands.Abstractions;

src/ArmTemplates/Commands/Configurations/CreateConsoleAppConfiguration.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// --------------------------------------------------------------------------
2-
// <copyright file="CreateConsoleAppConfiguration.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License.
54
// --------------------------------------------------------------------------
65

76
using CommandLine;

src/ArmTemplates/Commands/Configurations/ExtractorConsoleAppConfiguration.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using CommandLine;
1+
// --------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License.
4+
// --------------------------------------------------------------------------
5+
6+
using CommandLine;
27
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common.Constants;
38
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Extractor.Models;
49

src/ArmTemplates/Commands/Executors/CreatorExecutor.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
namespace Microsoft.Azure.Management.ApiManagement.ArmTemplates.Commands.Executors
1+
// --------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License.
4+
// --------------------------------------------------------------------------
5+
6+
namespace Microsoft.Azure.Management.ApiManagement.ArmTemplates.Commands.Executors
27
{
38
public class CreatorExecutor
49
{

src/ArmTemplates/Commands/Executors/ExtractorExecutor.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Commands.Configurations;
1+
// --------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License.
4+
// --------------------------------------------------------------------------
5+
6+
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Commands.Configurations;
27
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common.API.Clients.Abstractions;
38
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common.Constants;
49
using Microsoft.Azure.Management.ApiManagement.ArmTemplates.Common.Exceptions;

src/ArmTemplates/Common/API/Clients/Abstractions/ApiClientBase.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// --------------------------------------------------------------------------
2-
// <copyright file="ApiClientBase.cs" company="Microsoft">
3-
// Copyright (c) Microsoft Corporation. All rights reserved.
4-
// </copyright>
2+
// Copyright (c) Microsoft Corporation. All rights reserved.
3+
// Licensed under the MIT License.
54
// --------------------------------------------------------------------------
65

76
using System.Net.Http;

0 commit comments

Comments
 (0)