Skip to content

Commit 429a518

Browse files
authored
Add file header to all .cs files (#3946)
1 parent 7b37e5c commit 429a518

481 files changed

Lines changed: 1651 additions & 313 deletions

File tree

Some content is hidden

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

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ end_of_line = crlf
4545
# Organize usings
4646
dotnet_separate_import_directive_groups = false:error
4747
dotnet_sort_system_directives_first = true:error
48-
file_header_template = ------------------------------------------------------------------------\nMIT License - Copyright (c) Microsoft Corporation. All rights reserved.\n------------------------------------------------------------------------
48+
file_header_template = ------------------------------------------------------------------------\nThis file is licensed to you under the MIT License.\n------------------------------------------------------------------------
4949

5050
# Don't use this. qualifier
5151
dotnet_style_qualification_for_event = false:error

examples/Demo/Client/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ------------------------------------------------------------------------
2-
// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
2+
// This file is licensed to you under the MIT License.
33
// ------------------------------------------------------------------------
44

55
using FluentUI.Demo.Shared;

examples/Demo/DocGenerator/CodeCommentsGenerator.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// ------------------------------------------------------------------------
2+
// This file is licensed to you under the MIT License.
3+
// ------------------------------------------------------------------------
4+
15
using System;
26
using System.Collections.Generic;
37
using System.Collections.Immutable;

examples/Demo/Server/Pages/Error.cshtml.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// ------------------------------------------------------------------------
2+
// This file is licensed to you under the MIT License.
3+
// ------------------------------------------------------------------------
4+
15
using System.Diagnostics;
26
using Microsoft.AspNetCore.Mvc;
37
using Microsoft.AspNetCore.Mvc.RazorPages;

examples/Demo/Server/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ------------------------------------------------------------------------
2-
// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
2+
// This file is licensed to you under the MIT License.
33
// ------------------------------------------------------------------------
44

55
using FluentUI.Demo.Shared;

examples/Demo/Shared/App.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ------------------------------------------------------------------------
2-
// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
2+
// This file is licensed to you under the MIT License.
33
// ------------------------------------------------------------------------
44

55
namespace FluentUI.Demo.Shared;

examples/Demo/Shared/Components/ApiDocumentation.razor.cs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// ------------------------------------------------------------------------
2+
// This file is licensed to you under the MIT License.
3+
// ------------------------------------------------------------------------
4+
15
using System.Diagnostics.CodeAnalysis;
26
using System.Reflection;
37
using Microsoft.AspNetCore.Components;
@@ -34,7 +38,7 @@ private class MemberDescription
3438

3539
/// <summary>
3640
/// It Component is a generic type, a generic type argument needs to be provided
37-
/// so an instance of the type can be created.
41+
/// so an instance of the type can be created.
3842
/// This is needed to get and display any default values
3943
/// Default for this parameter is 'typeof(string)'
4044
/// </summary>
@@ -95,7 +99,8 @@ private IEnumerable<MemberDescription> GetMembers(MemberTypes type)
9599
}
96100

97101
return obj?.GetType().GetProperty(propertyName)?.GetValue(obj);
98-
};
102+
}
103+
;
99104

100105
var allProperties = Component.GetProperties().Select(i => (MemberInfo)i);
101106
var allMethods = Component.GetMethods().Where(i => !i.IsSpecialName).Select(i => (MemberInfo)i);

examples/Demo/Shared/Components/CodeSnippet.razor.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// --------------------------------------------------------------
2-
// Copyright (c) Microsoft Corporation. All rights reserved.
3-
// --------------------------------------------------------------
1+
// ------------------------------------------------------------------------
2+
// This file is licensed to you under the MIT License.
3+
// ------------------------------------------------------------------------
44

55
namespace FluentUI.Demo.Shared.Components;
66

examples/Demo/Shared/Components/Cookies/CookieConsent.razor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ------------------------------------------------------------------------
2-
// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
2+
// This file is licensed to you under the MIT License.
33
// ------------------------------------------------------------------------
44

55
using Microsoft.AspNetCore.Components;

examples/Demo/Shared/Components/Cookies/CookieConsentService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// ------------------------------------------------------------------------
2-
// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
2+
// This file is licensed to you under the MIT License.
33
// ------------------------------------------------------------------------
44

55
using Microsoft.FluentUI.AspNetCore.Components.Utilities;

0 commit comments

Comments
 (0)