diff --git a/.editorconfig b/.editorconfig
index b6e1784cea..b9611a22d1 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -45,7 +45,7 @@ end_of_line = crlf
# Organize usings
dotnet_separate_import_directive_groups = false:error
dotnet_sort_system_directives_first = true:error
-file_header_template = ------------------------------------------------------------------------\nMIT License - Copyright (c) Microsoft Corporation. All rights reserved.\n------------------------------------------------------------------------
+file_header_template = ------------------------------------------------------------------------\nThis file is licensed to you under the MIT License.\n------------------------------------------------------------------------
# Don't use this. qualifier
dotnet_style_qualification_for_event = false:error
diff --git a/examples/Demo/Client/Program.cs b/examples/Demo/Client/Program.cs
index 3b62cf3bde..5d1f528c5a 100644
--- a/examples/Demo/Client/Program.cs
+++ b/examples/Demo/Client/Program.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using FluentUI.Demo.Shared;
diff --git a/examples/Demo/DocGenerator/CodeCommentsGenerator.cs b/examples/Demo/DocGenerator/CodeCommentsGenerator.cs
index d27e3e4f11..8c792b37eb 100644
--- a/examples/Demo/DocGenerator/CodeCommentsGenerator.cs
+++ b/examples/Demo/DocGenerator/CodeCommentsGenerator.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
diff --git a/examples/Demo/Server/Pages/Error.cshtml.cs b/examples/Demo/Server/Pages/Error.cshtml.cs
index c126bc50bb..ae71fb332c 100644
--- a/examples/Demo/Server/Pages/Error.cshtml.cs
+++ b/examples/Demo/Server/Pages/Error.cshtml.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Diagnostics;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
diff --git a/examples/Demo/Server/Program.cs b/examples/Demo/Server/Program.cs
index 24e8d0f5d7..2bb7d707c2 100644
--- a/examples/Demo/Server/Program.cs
+++ b/examples/Demo/Server/Program.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using FluentUI.Demo.Shared;
diff --git a/examples/Demo/Shared/App.razor.cs b/examples/Demo/Shared/App.razor.cs
index e1881e30e1..562a85a516 100644
--- a/examples/Demo/Shared/App.razor.cs
+++ b/examples/Demo/Shared/App.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace FluentUI.Demo.Shared;
diff --git a/examples/Demo/Shared/Components/ApiDocumentation.razor.cs b/examples/Demo/Shared/Components/ApiDocumentation.razor.cs
index 6efe245e98..c3c0f29bb2 100644
--- a/examples/Demo/Shared/Components/ApiDocumentation.razor.cs
+++ b/examples/Demo/Shared/Components/ApiDocumentation.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
using Microsoft.AspNetCore.Components;
@@ -34,7 +38,7 @@ private class MemberDescription
///
/// It Component is a generic type, a generic type argument needs to be provided
- /// so an instance of the type can be created.
+ /// so an instance of the type can be created.
/// This is needed to get and display any default values
/// Default for this parameter is 'typeof(string)'
///
@@ -95,7 +99,8 @@ private IEnumerable GetMembers(MemberTypes type)
}
return obj?.GetType().GetProperty(propertyName)?.GetValue(obj);
- };
+ }
+ ;
var allProperties = Component.GetProperties().Select(i => (MemberInfo)i);
var allMethods = Component.GetMethods().Where(i => !i.IsSpecialName).Select(i => (MemberInfo)i);
diff --git a/examples/Demo/Shared/Components/CodeSnippet.razor.cs b/examples/Demo/Shared/Components/CodeSnippet.razor.cs
index fcebf5c1fa..fac0381da5 100644
--- a/examples/Demo/Shared/Components/CodeSnippet.razor.cs
+++ b/examples/Demo/Shared/Components/CodeSnippet.razor.cs
@@ -1,6 +1,6 @@
-// --------------------------------------------------------------
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// --------------------------------------------------------------
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
namespace FluentUI.Demo.Shared.Components;
diff --git a/examples/Demo/Shared/Components/Cookies/CookieConsent.razor.cs b/examples/Demo/Shared/Components/Cookies/CookieConsent.razor.cs
index 73a6cf4197..be4e945215 100644
--- a/examples/Demo/Shared/Components/Cookies/CookieConsent.razor.cs
+++ b/examples/Demo/Shared/Components/Cookies/CookieConsent.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/examples/Demo/Shared/Components/Cookies/CookieConsentService.cs b/examples/Demo/Shared/Components/Cookies/CookieConsentService.cs
index afbbe2210b..8bafb1c349 100644
--- a/examples/Demo/Shared/Components/Cookies/CookieConsentService.cs
+++ b/examples/Demo/Shared/Components/Cookies/CookieConsentService.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/examples/Demo/Shared/Components/Cookies/CookieState.cs b/examples/Demo/Shared/Components/Cookies/CookieState.cs
index 12ad29fa22..c69d863b5d 100644
--- a/examples/Demo/Shared/Components/Cookies/CookieState.cs
+++ b/examples/Demo/Shared/Components/Cookies/CookieState.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace FluentUI.Demo.Shared.Components.Cookies;
diff --git a/examples/Demo/Shared/Components/DemoSection.razor.cs b/examples/Demo/Shared/Components/DemoSection.razor.cs
index 6c40bbaeb6..a504ced66d 100644
--- a/examples/Demo/Shared/Components/DemoSection.razor.cs
+++ b/examples/Demo/Shared/Components/DemoSection.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Reflection.Metadata;
using System.Text.RegularExpressions;
using Microsoft.AspNetCore.Components;
@@ -30,7 +34,7 @@ public partial class DemoSection : ComponentBase
public RenderFragment? Description { get; set; }
///
- /// Gets or sets the component for which the example will be shown. Enter the type (typeof(...)) _name
+ /// Gets or sets the component for which the example will be shown. Enter the type (typeof(...)) _name
///
[Parameter, EditorRequired]
public Type Component { get; set; } = default!;
@@ -42,14 +46,14 @@ public partial class DemoSection : ComponentBase
public Dictionary? ComponentParameters { get; set; }
///
- /// Any collocated isolated .cs, .css or .js files (enter the extensions only) that need to be shown in a tab and as a download.
+ /// Any collocated isolated .cs, .css or .js files (enter the extensions only) that need to be shown in a tab and as a download.
/// Example: @(new[] { "css", "js", "abc.cs" })
///
[Parameter]
public string[]? CollocatedFiles { get; set; }
///
- /// Any additional files that need to be shown in a tab and as a download.
+ /// Any additional files that need to be shown in a tab and as a download.
/// Example: @(new[] { "abc.cs", "def.js" })
///
[Parameter]
diff --git a/examples/Demo/Shared/Components/MarkdownSection.razor.cs b/examples/Demo/Shared/Components/MarkdownSection.razor.cs
index fe8b9d64f1..af2d4cb6c4 100644
--- a/examples/Demo/Shared/Components/MarkdownSection.razor.cs
+++ b/examples/Demo/Shared/Components/MarkdownSection.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Markdig;
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components;
@@ -19,7 +23,7 @@ public partial class MarkdownSection : FluentComponentBase
private IStaticAssetService StaticAssetService { get; set; } = default!;
///
- /// Gets or sets the Markdown content
+ /// Gets or sets the Markdown content
///
[Parameter]
public string? Content
@@ -82,7 +86,7 @@ protected override async Task OnAfterRenderAsync(bool firstRender)
HtmlContent = await MarkdownToMarkupStringAsync();
StateHasChanged();
- // notify that content converted from markdown
+ // notify that content converted from markdown
if (OnContentConverted.HasDelegate)
{
await OnContentConverted.InvokeAsync();
diff --git a/examples/Demo/Shared/Components/MarkdownSectionPreCodeExtension.cs b/examples/Demo/Shared/Components/MarkdownSectionPreCodeExtension.cs
index 4eeb51a09b..4d9fd9b9c4 100644
--- a/examples/Demo/Shared/Components/MarkdownSectionPreCodeExtension.cs
+++ b/examples/Demo/Shared/Components/MarkdownSectionPreCodeExtension.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Markdig.Renderers;
using Markdig;
using Markdig.Renderers.Html;
diff --git a/examples/Demo/Shared/Components/MarkdownSectionPreCodeRenderer.cs b/examples/Demo/Shared/Components/MarkdownSectionPreCodeRenderer.cs
index 776de34735..2cacad521b 100644
--- a/examples/Demo/Shared/Components/MarkdownSectionPreCodeRenderer.cs
+++ b/examples/Demo/Shared/Components/MarkdownSectionPreCodeRenderer.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Markdig.Extensions.GenericAttributes;
@@ -27,7 +27,7 @@ public MarkdownSectionPreCodeRenderer(MarkdownSectionPreCodeRendererOptions? opt
public bool OutputAttributesOnPre { get; set; }
///
- /// Gets a map of fenced code block infos that should be rendered as div blocks instead of pre/code blocks.
+ /// Gets a map of fenced code block info that should be rendered as div blocks instead of pre/code blocks.
///
public HashSet BlocksAsDiv => _blocksAsDiv ??= new HashSet(StringComparer.OrdinalIgnoreCase);
diff --git a/examples/Demo/Shared/Components/MarkdownSectionPreCodeRendererOptions.cs b/examples/Demo/Shared/Components/MarkdownSectionPreCodeRendererOptions.cs
index 28554927a9..3e9d357009 100644
--- a/examples/Demo/Shared/Components/MarkdownSectionPreCodeRendererOptions.cs
+++ b/examples/Demo/Shared/Components/MarkdownSectionPreCodeRendererOptions.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace FluentUI.Demo.Shared.Components;
///
diff --git a/examples/Demo/Shared/Components/SiteSettings.razor.cs b/examples/Demo/Shared/Components/SiteSettings.razor.cs
index 853ef46712..0673af1985 100644
--- a/examples/Demo/Shared/Components/SiteSettings.razor.cs
+++ b/examples/Demo/Shared/Components/SiteSettings.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.FluentUI.AspNetCore.Components;
namespace FluentUI.Demo.Shared.Components;
diff --git a/examples/Demo/Shared/Components/SiteSettingsPanel.razor.cs b/examples/Demo/Shared/Components/SiteSettingsPanel.razor.cs
index 57d2cc3fe0..412da4349b 100644
--- a/examples/Demo/Shared/Components/SiteSettingsPanel.razor.cs
+++ b/examples/Demo/Shared/Components/SiteSettingsPanel.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using FluentUI.Demo.Shared.Components.Cookies;
diff --git a/examples/Demo/Shared/Components/TableOfContents.razor.cs b/examples/Demo/Shared/Components/TableOfContents.razor.cs
index be4d595ff3..53026e6825 100644
--- a/examples/Demo/Shared/Components/TableOfContents.razor.cs
+++ b/examples/Demo/Shared/Components/TableOfContents.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Routing;
using Microsoft.FluentUI.AspNetCore.Components;
diff --git a/examples/Demo/Shared/DemoLogger.cs b/examples/Demo/Shared/DemoLogger.cs
index 05fd3062ac..0a7e9e4b37 100644
--- a/examples/Demo/Shared/DemoLogger.cs
+++ b/examples/Demo/Shared/DemoLogger.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace FluentUI.Demo.Shared;
public delegate void OnLogHandler(string text);
diff --git a/examples/Demo/Shared/Infrastructure/AppVersionService.cs b/examples/Demo/Shared/Infrastructure/AppVersionService.cs
index 8a4482686d..1f684660dd 100644
--- a/examples/Demo/Shared/Infrastructure/AppVersionService.cs
+++ b/examples/Demo/Shared/Infrastructure/AppVersionService.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using System.Reflection;
diff --git a/examples/Demo/Shared/Infrastructure/CacheStorageAccessor.cs b/examples/Demo/Shared/Infrastructure/CacheStorageAccessor.cs
index a3ca2df654..d0ff59875b 100644
--- a/examples/Demo/Shared/Infrastructure/CacheStorageAccessor.cs
+++ b/examples/Demo/Shared/Infrastructure/CacheStorageAccessor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using FluentUI.Demo.Shared.Infrastructure;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
using Microsoft.JSInterop;
diff --git a/examples/Demo/Shared/Infrastructure/DemoIcons.cs b/examples/Demo/Shared/Infrastructure/DemoIcons.cs
index 5981904d49..eb0c1419ac 100644
--- a/examples/Demo/Shared/Infrastructure/DemoIcons.cs
+++ b/examples/Demo/Shared/Infrastructure/DemoIcons.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.FluentUI.AspNetCore.Components;
namespace FluentUI.Demo.Shared;
@@ -7,7 +11,7 @@ internal static class DemoIcons
internal static class Size20
{
// The official SVGs from GitHub have a viewbox of 96x96, so we need to scale them down to 20x20 and center them within the 24x24 box to make them match the
- // other icons we're using. We also need to remove the fill attribute from the SVGs so that we can color them with CSS.
+ // other icons we're using. We also need to remove the fill attribute from the SVGs so that we can color them with CSS.
internal sealed class GitHub : Icon { public GitHub() : base("GitHub", IconVariant.Regular, IconSize.Size20, @"") { } }
}
}
diff --git a/examples/Demo/Shared/Infrastructure/HttpBasedStaticAssetService.cs b/examples/Demo/Shared/Infrastructure/HttpBasedStaticAssetService.cs
index ea1b85b51c..fd3f6ec817 100644
--- a/examples/Demo/Shared/Infrastructure/HttpBasedStaticAssetService.cs
+++ b/examples/Demo/Shared/Infrastructure/HttpBasedStaticAssetService.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/examples/Demo/Shared/Infrastructure/IAppVersionService.cs b/examples/Demo/Shared/Infrastructure/IAppVersionService.cs
index 91a31c3d05..1ee83cad0c 100644
--- a/examples/Demo/Shared/Infrastructure/IAppVersionService.cs
+++ b/examples/Demo/Shared/Infrastructure/IAppVersionService.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace FluentUI.Demo.Shared.Infrastructure;
diff --git a/examples/Demo/Shared/Infrastructure/IStaticAssetService.cs b/examples/Demo/Shared/Infrastructure/IStaticAssetService.cs
index 1dc229d34a..9c84c035e0 100644
--- a/examples/Demo/Shared/Infrastructure/IStaticAssetService.cs
+++ b/examples/Demo/Shared/Infrastructure/IStaticAssetService.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace FluentUI.Demo.Shared;
public interface IStaticAssetService
diff --git a/examples/Demo/Shared/Infrastructure/ServerStaticAssetService.cs b/examples/Demo/Shared/Infrastructure/ServerStaticAssetService.cs
index 35cdf1bcfc..118da0738f 100644
--- a/examples/Demo/Shared/Infrastructure/ServerStaticAssetService.cs
+++ b/examples/Demo/Shared/Infrastructure/ServerStaticAssetService.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/examples/Demo/Shared/Infrastructure/ServiceCollectionExtensions.cs b/examples/Demo/Shared/Infrastructure/ServiceCollectionExtensions.cs
index 36af460f7d..616801c0cc 100644
--- a/examples/Demo/Shared/Infrastructure/ServiceCollectionExtensions.cs
+++ b/examples/Demo/Shared/Infrastructure/ServiceCollectionExtensions.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using FluentUI.Demo.Shared.Components.Cookies;
diff --git a/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml b/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml
index 147ece7c0b..fb0cea5085 100644
--- a/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml
+++ b/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml
@@ -138,7 +138,7 @@
- Gets or sets a value indicating whether the region overlaps the anchor on the horizontal axis.
+ Gets or sets a value indicating whether the region overlaps the anchor on the horizontal axis.
Default is false which places the region adjacent to the anchor element.
@@ -200,8 +200,8 @@
Defines what triggers the anchored region to revaluate positioning.
- Default is "Anchor".
- In 'anchor' mode only anchor resizes and attribute changes will provoke an update.
+ Default is "Anchor".
+ In 'anchor' mode only anchor resizes and attribute changes will provoke an update.
In 'auto' mode the component also updates because of - any scroll event on the document, window resizes and viewport resizes. See
@@ -517,7 +517,7 @@
- Gets or sets the associated web component.
+ Gets or sets the associated web component.
May be if accessed before the component is rendered.
@@ -808,7 +808,7 @@
- Gets or sets the target attribute that specifies where to open the link, if Href is specified.
+ Gets or sets the target attribute that specifies where to open the link, if Href is specified.
See a element for more information.
Possible values: _blank | _self | _parent | _top.
@@ -1516,7 +1516,7 @@
- Produces a instance that sorts according to the specified
+ Produces a instance that sorts according to the specified
using the specified , ascending.
The type of the expression's value.
@@ -1534,7 +1534,7 @@
- Produces a instance that sorts according to the specified
+ Produces a instance that sorts according to the specified
using the specified , descending.
The type of the expression's value.
@@ -3936,7 +3936,7 @@
- Gets or sets an extra message. Can contain HTML.
+ Gets or sets an extra message. Can contain HTML.
@@ -4106,7 +4106,7 @@
- Shows a confirmation message box. Has a callback function which returns boolean
+ Shows a confirmation message box. Has a callback function which returns boolean
(true=PrimaryAction clicked, false=SecondaryAction clicked).
The component that receives the callback function.
@@ -4157,7 +4157,7 @@
- Shows a confirmation message box. Has a callback function which returns boolean
+ Shows a confirmation message box. Has a callback function which returns boolean
(true=PrimaryAction clicked, false=SecondaryAction clicked).
The component that receives the callback function.
@@ -4855,7 +4855,7 @@
The number of columns the item should span in the 12-column grid system.
Large (lg) devices (desktops, less than 1920px wide)
-
+
@@ -5026,7 +5026,7 @@
- Gets or sets the icon drawing and fill color.
+ Gets or sets the icon drawing and fill color.
Value comes from the enumeration. Defaults to Accent.
@@ -7213,7 +7213,7 @@
- Gets or sets the link to be shown in the message bar after the title/message.
+ Gets or sets the link to be shown in the message bar after the title/message.
@@ -7233,7 +7233,7 @@
- Gets or sets the intent of the message bar.
+ Gets or sets the intent of the message bar.
Default is MessageIntent.Info.
@@ -7425,7 +7425,7 @@
Gets or sets the icon to display with the link
- Use a constant value from the class
+ Use a constant value from the class
@@ -7477,7 +7477,7 @@
- Gets or sets the content to be rendered for the expander icon when the menu is collapsible.
+ Gets or sets the content to be rendered for the expander icon when the menu is collapsible.
The default icon will be used if this is not specified.
@@ -8295,7 +8295,7 @@
A presence badge is a badge that displays a status indicator such as available, away, or busy.
-
+
@@ -8326,7 +8326,7 @@
- Modifies the display to indicate that the user is out of office.
+ Modifies the display to indicate that the user is out of office.
This can be combined with any status to display an out-of-office version of that status.
@@ -8518,12 +8518,12 @@
- Gets or sets the minimum value
+ Gets or sets the minimum value
- Gets or sets the maximum value
+ Gets or sets the maximum value
@@ -8706,7 +8706,7 @@
- Describes context for an component.
+ Describes context for an component.
@@ -9393,16 +9393,16 @@
- Gets or sets the size for the left/top panel.
+ Gets or sets the size for the left/top panel.
Needs to be a valid css size like '50%' or '250px'.
- Gets or sets the size for the right/bottom panel.
+ Gets or sets the size for the right/bottom panel.
Needs to be a valid css size like '50%' or '250px'.
- Uses grid-template-rows/columns with max-content to determine end width.
- See mdn web docs for more information
+ Uses grid-template-rows/columns with max-content to determine end width.
+ See mdn web docs for more information
@@ -9415,7 +9415,7 @@
Gets or sets the minimum size for the right/bottom panel.
Needs to be a valid css size like '50%' or '250px'.
-
+
@@ -10054,7 +10054,7 @@
Shows a toast with the component type as the body,
- passing the specified
+ passing the specified
Type of component to display.
Content to be displayed in the toast.
@@ -10062,7 +10062,7 @@
- Updates a toast
+ Updates a toast
Id of the toast to update.
Parameters to configure the toast component.
@@ -10128,9 +10128,9 @@
-
- Removes all queued toasts
-
+
+ Removes all queued toasts
+
@@ -12874,7 +12874,7 @@
- Aligns content to strech to the container.
+ Aligns content to stretch to the container.
@@ -14569,14 +14569,14 @@
- Indicates possible or upcoming issues that need to be addressed. It’s a signal that
- something isn’t quite right.The person can continue without addressing it, but warnings
+ Indicates possible or upcoming issues that need to be addressed. It’s a signal that
+ something isn’t quite right.The person can continue without addressing it, but warnings
can become errors.
- Negative status due to an incomplete process or a failed task.The person can continue
+ Negative status due to an incomplete process or a failed task.The person can continue
using the app, but the item with the error will need to be addressed.
@@ -14605,18 +14605,18 @@
- Informs about an operation concerning an event.
+ Informs about an operation concerning an event.
Mention is used when another person performs an action related to the user or their account.
- For example, the user receives a meeting invitation or is mentioned in a chat.
+ For example, the user receives a meeting invitation or is mentioned in a chat.
- Informs about a custom event or operation.
+ Informs about a custom event or operation.
@@ -14675,7 +14675,7 @@
Call To Action type for the top action of the toast.
-
+
diff --git a/examples/Demo/Shared/Pages/Emoji/EmojiPage.razor.cs b/examples/Demo/Shared/Pages/Emoji/EmojiPage.razor.cs
index f6db728c92..df5dbf3606 100644
--- a/examples/Demo/Shared/Pages/Emoji/EmojiPage.razor.cs
+++ b/examples/Demo/Shared/Pages/Emoji/EmojiPage.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace FluentUI.Demo.Shared.Pages.Emoji;
public partial class EmojiPage
diff --git a/examples/Demo/Shared/Pages/Home/Home.razor.cs b/examples/Demo/Shared/Pages/Home/Home.razor.cs
index b325434980..6fd1b471bb 100644
--- a/examples/Demo/Shared/Pages/Home/Home.razor.cs
+++ b/examples/Demo/Shared/Pages/Home/Home.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Reflection;
namespace FluentUI.Demo.Shared.Pages.Home;
diff --git a/examples/Demo/Shared/Pages/Icon/Examples/MyCircle.cs b/examples/Demo/Shared/Pages/Icon/Examples/MyCircle.cs
index 40c558f6b1..c765b50b44 100644
--- a/examples/Demo/Shared/Pages/Icon/Examples/MyCircle.cs
+++ b/examples/Demo/Shared/Pages/Icon/Examples/MyCircle.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.FluentUI.AspNetCore.Components;
namespace FluentUI.Demo.Shared.Pages.Icon.Examples;
diff --git a/examples/Demo/Shared/Pages/MessageBar/Examples/MessageBarSamples.cs b/examples/Demo/Shared/Pages/MessageBar/Examples/MessageBarSamples.cs
index 5754a145eb..d5f30252a5 100644
--- a/examples/Demo/Shared/Pages/MessageBar/Examples/MessageBarSamples.cs
+++ b/examples/Demo/Shared/Pages/MessageBar/Examples/MessageBarSamples.cs
@@ -1,3 +1,6 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
namespace FluentUI.Demo.Shared.Pages.MessageBar.Examples;
diff --git a/examples/Demo/Shared/Pages/Panel/Examples/DialogPanel.razor.cs b/examples/Demo/Shared/Pages/Panel/Examples/DialogPanel.razor.cs
index 5ac8959fab..8df8e2b8f3 100644
--- a/examples/Demo/Shared/Pages/Panel/Examples/DialogPanel.razor.cs
+++ b/examples/Demo/Shared/Pages/Panel/Examples/DialogPanel.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using FluentUI.Demo.Shared.SampleData;
using Microsoft.FluentUI.AspNetCore.Components;
diff --git a/examples/Demo/Shared/Pages/Panel/Examples/DialogPanelAsync.razor.cs b/examples/Demo/Shared/Pages/Panel/Examples/DialogPanelAsync.razor.cs
index ce7e6ae6a2..50208559b5 100644
--- a/examples/Demo/Shared/Pages/Panel/Examples/DialogPanelAsync.razor.cs
+++ b/examples/Demo/Shared/Pages/Panel/Examples/DialogPanelAsync.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using FluentUI.Demo.Shared.SampleData;
using Microsoft.FluentUI.AspNetCore.Components;
diff --git a/examples/Demo/Shared/Pages/Panel/Examples/DialogPanelWithValidation.razor.cs b/examples/Demo/Shared/Pages/Panel/Examples/DialogPanelWithValidation.razor.cs
index 2da3622973..ea9d3fc397 100644
--- a/examples/Demo/Shared/Pages/Panel/Examples/DialogPanelWithValidation.razor.cs
+++ b/examples/Demo/Shared/Pages/Panel/Examples/DialogPanelWithValidation.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using FluentUI.Demo.Shared.SampleData;
diff --git a/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenCustom.razor.cs b/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenCustom.razor.cs
index 98f7625b56..b5f75702cf 100644
--- a/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenCustom.razor.cs
+++ b/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenCustom.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using global::Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components;
diff --git a/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenDefault.razor.cs b/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenDefault.razor.cs
index 57d8be51d3..3ab3eba55b 100644
--- a/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenDefault.razor.cs
+++ b/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenDefault.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using global::Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components;
diff --git a/examples/Demo/Shared/Pages/Toast/Examples/MyToastData.cs b/examples/Demo/Shared/Pages/Toast/Examples/MyToastData.cs
index 9fc9b13341..9a62abaeed 100644
--- a/examples/Demo/Shared/Pages/Toast/Examples/MyToastData.cs
+++ b/examples/Demo/Shared/Pages/Toast/Examples/MyToastData.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace FluentUI.Demo.Shared;
public class MyToastData
diff --git a/examples/Demo/Shared/ReflectionExtensions.cs b/examples/Demo/Shared/ReflectionExtensions.cs
index 2885d1c3ff..e3f91f8a41 100644
--- a/examples/Demo/Shared/ReflectionExtensions.cs
+++ b/examples/Demo/Shared/ReflectionExtensions.cs
@@ -1,4 +1,7 @@
-//Re-used from https://github.com/loxsmoke/DocXml
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Reflection;
using System.Runtime.CompilerServices;
@@ -8,6 +11,7 @@ namespace FluentUI.Demo.Shared;
///
/// Reflection extension methods with supporting properties.
+/// Re-used from https://github.com/loxsmoke/DocXml
///
public static class ReflectionExtensions
{
@@ -20,7 +24,7 @@ public static Dictionary KnownTypeNames
private static Dictionary _knownTypeNames;
///
- /// Create a dictionary of standard value types and a string type.
+ /// Create a dictionary of standard value types and a string type.
///
/// Dictionary mapping types to type names
public static Dictionary CreateKnownTypeNamesDictionary()
@@ -49,7 +53,7 @@ public static Dictionary CreateKnownTypeNamesDictionary()
}
///
- /// Checks if the specified type is a nullable value type.
+ /// Checks if the specified type is a nullable value type.
/// Returns false for object references.
///
/// Type to check.
@@ -61,11 +65,11 @@ public static bool IsNullable(this Type type)
///
/// Convert type to the proper type _name.
- /// Optional function can convert type names to strings
- /// if type names should be decorated in some way either by converting text to markdown or
+ /// Optional function can convert type names to strings
+ /// if type names should be decorated in some way either by converting text to markdown or
/// HTML links or adding some formatting.
- ///
- /// This method returns ValueTuple types without field names.
+ ///
+ /// This method returns ValueTuple types without field names.
///
/// Type information.
/// The optional function that converts type _name to string.
@@ -77,19 +81,19 @@ public static string ToNameString(this Type type, Func typeNameCon
///
/// Convert type to the proper type _name.
- /// Optional function can convert type names to strings
- /// if type names should be decorated in some way either by converting text to markdown or
+ /// Optional function can convert type names to strings
+ /// if type names should be decorated in some way either by converting text to markdown or
/// HTML links or adding some formatting.
- ///
- /// This method returns ValueTuple types without field names.
+ ///
+ /// This method returns ValueTuple types without field names.
///
/// Type information.
/// The optional function that converts type _name to string.
///
/// True if typeNameConverter lambda function should be invoked for generic type _name such as for the List _name in case of List<SomeType>
/// If the parameter value is false then typeNameConverter is not invoked for the generic type _name and only the plain type _name is returned.
- /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
- /// ToNameString() to avoid infinite recursion.
+ /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
+ /// ToNameString() to avoid infinite recursion.
/// This is an optional parameter with default value of false.
/// Full type _name
public static string ToNameString(this Type type, Func, string> typeNameConverter,
@@ -101,19 +105,19 @@ public static string ToNameString(this Type type, Func, stri
///
/// Convert method parameters to the string. If method has no parameters then returned string is ()
/// If parameters are present then returned string contains parameter names with their type names.
- /// Optional function can convert type names to strings
- /// if type names should be decorated in some way either by converting text to markdown or
+ /// Optional function can convert type names to strings
+ /// if type names should be decorated in some way either by converting text to markdown or
/// HTML links or adding some formatting.
- ///
- /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
+ ///
+ /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
///
/// Method information
/// The optional function that converts type _name to string.
///
/// True if typeNameConverter lambda function should be invoked for generic type _name such as for the List _name in case of List<SomeType>
/// If the parameter value is false then typeNameConverter is not invoked for the generic type _name and only the plain type _name is returned.
- /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
- /// ToNameString() to avoid infinite recursion.
+ /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
+ /// ToNameString() to avoid infinite recursion.
/// This is an optional parameter with default value of false.
/// Full list of parameter types and their names
public static string ToParametersString(this MethodBase methodInfo, Func, string> typeNameConverter = null,
@@ -130,19 +134,19 @@ public static string ToParametersString(this MethodBase methodInfo, Func
/// Convert method parameter type to the string.
- /// Optional function can convert type names to strings
- /// if type names should be decorated in some way either by converting text to markdown or
+ /// Optional function can convert type names to strings
+ /// if type names should be decorated in some way either by converting text to markdown or
/// HTML links or adding some formatting.
- ///
- /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
+ ///
+ /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
///
/// Parameter information.
/// The optional function that converts type _name to string.
///
/// True if typeNameConverter lambda function should be invoked for generic type _name such as for the List _name in case of List<SomeType>
/// If the parameter value is false then typeNameConverter is not invoked for the generic type _name and only the plain type _name is returned.
- /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
- /// ToNameString() to avoid infinite recursion.
+ /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
+ /// ToNameString() to avoid infinite recursion.
/// This is an optional parameter with default value of false.
/// Full type _name of the parameter
public static string ToTypeNameString(this ParameterInfo parameterInfo, Func, string> typeNameConverter = null,
@@ -163,19 +167,19 @@ public static string ToTypeNameString(this ParameterInfo parameterInfo, Func
/// Convert method return value type to the string.
- /// Optional function can convert type names to strings
- /// if type names should be decorated in some way either by converting text to markdown or
+ /// Optional function can convert type names to strings
+ /// if type names should be decorated in some way either by converting text to markdown or
/// HTML links or adding some formatting.
- ///
- /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
+ ///
+ /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
///
/// Method information.
/// The optional function that converts type _name to string.
///
/// True if typeNameConverter lambda function should be invoked for generic type _name such as for the List _name in case of List<SomeType>
/// If the parameter value is false then typeNameConverter is not invoked for the generic type _name and only the plain type _name is returned.
- /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
- /// ToNameString() to avoid infinite recursion.
+ /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
+ /// ToNameString() to avoid infinite recursion.
/// This is an optional parameter with default value of false.
/// Full type _name of the return value
public static string ToTypeNameString(this MethodInfo methodInfo, Func, string> typeNameConverter = null,
@@ -191,19 +195,19 @@ public static string ToTypeNameString(this MethodInfo methodInfo, Func
/// Convert property type to the string.
- /// Optional function can convert type names to strings
- /// if type names should be decorated in some way either by converting text to markdown or
+ /// Optional function can convert type names to strings
+ /// if type names should be decorated in some way either by converting text to markdown or
/// HTML links or adding some formatting.
- ///
- /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
+ ///
+ /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
///
/// Property information.
/// The optional function that converts type _name to string.
///
/// True if typeNameConverter lambda function should be invoked for generic type _name such as for the List _name in case of List<SomeType>
/// If the parameter value is false then typeNameConverter is not invoked for the generic type _name and only the plain type _name is returned.
- /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
- /// ToNameString() to avoid infinite recursion.
+ /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
+ /// ToNameString() to avoid infinite recursion.
/// This is an optional parameter with default value of false.
/// Full type _name of the property
public static string ToTypeNameString(this PropertyInfo propertyInfo, Func, string> typeNameConverter = null,
@@ -219,19 +223,19 @@ public static string ToTypeNameString(this PropertyInfo propertyInfo, Func
/// Convert field type to the string.
- /// Optional function can convert type names to strings
- /// if type names should be decorated in some way either by converting text to markdown or
+ /// Optional function can convert type names to strings
+ /// if type names should be decorated in some way either by converting text to markdown or
/// HTML links or adding some formatting.
- ///
- /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
+ ///
+ /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
///
/// Field information.
/// The optional function that converts type _name to string.
///
/// True if typeNameConverter lambda function should be invoked for generic type _name such as for the List _name in case of List<SomeType>
/// If the parameter value is false then typeNameConverter is not invoked for the generic type _name and only the plain type _name is returned.
- /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
- /// ToNameString() to avoid infinite recursion.
+ /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
+ /// ToNameString() to avoid infinite recursion.
/// This is an optional parameter with default value of false.
/// Full type _name of the field
public static string ToTypeNameString(this FieldInfo fieldInfo, Func, string> typeNameConverter = null,
@@ -244,11 +248,11 @@ public static string ToTypeNameString(this FieldInfo fieldInfo, Func
/// Convert type to the string.
- /// Optional function can convert type names to strings
- /// if type names should be decorated in some way either by converting text to markdown or
+ /// Optional function can convert type names to strings
+ /// if type names should be decorated in some way either by converting text to markdown or
/// HTML links or adding some formatting.
- ///
- /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
+ ///
+ /// This method returns ValueTuple types with field names like this (Type1 name1, Type2 name2).
///
///
/// The names of the tuple fields from compiler-generated TupleElementNames attribute
@@ -256,8 +260,8 @@ public static string ToTypeNameString(this FieldInfo fieldInfo, Func
/// True if typeNameConverter lambda function should be invoked for generic type _name such as for the List _name in case of List<SomeType>
/// If the parameter value is false then typeNameConverter is not invoked for the generic type _name and only the plain type _name is returned.
- /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
- /// ToNameString() to avoid infinite recursion.
+ /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
+ /// ToNameString() to avoid infinite recursion.
/// This is an optional parameter with default value of false.
/// Full _name of the specified type
public static string ToNameStringWithValueTupleNames(this Type type, IList tupleNames, Func, string> typeNameConverter = null,
@@ -269,10 +273,10 @@ public static string ToNameStringWithValueTupleNames(this Type type, IList
/// Convert type to the proper type _name.
- /// Optional function can convert type names to strings
- /// if type names should be decorated in some way either by converting text to markdown or
+ /// Optional function can convert type names to strings
+ /// if type names should be decorated in some way either by converting text to markdown or
/// HTML links or adding some formatting.
- ///
+ ///
/// This method returns named tuples with field names like this (Type1 field1, Type2 field2). parameter
/// must be specified with all tuple field names stored in the same order as they are in compiler-generated TupleElementNames attribute.
/// If you do not know what it is then the better and easier way is to use ToTypeNameString() methods that retrieve field names from attributes.
@@ -283,8 +287,8 @@ public static string ToNameStringWithValueTupleNames(this Type type, IList
/// True if typeNameConverter lambda function should be invoked for generic type _name such as for the List _name in case of List<SomeType>
/// If the parameter value is false then typeNameConverter is not invoked for the generic type _name and only the plain type _name is returned.
- /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
- /// ToNameString() to avoid infinite recursion.
+ /// If the parameter value is true then typeNameConverter must handle generic type definitions carefully and avoid calling
+ /// ToNameString() to avoid infinite recursion.
/// This is an optional parameter with default value of false.
/// Full type _name
public static string ToNameString(this Type type, Queue tupleFieldNames, Func, string> typeNameConverter = null,
@@ -371,10 +375,10 @@ public static string ToNameString(this Type type, Queue tupleFieldNames,
typeof(ValueTuple<,,,,,,,>) });
///
- /// Remove the parameter count part of the generic typename.
+ /// Remove the parameter count part of the generic typename.
/// For example the generic list typename is List`1.
/// This method leaves only the _name part of the type such as List.
- /// If specified string does not contain the number of parameters
+ /// If specified string does not contain the number of parameters
/// part then the same string is returned.
///
/// Typename
diff --git a/examples/Demo/Shared/SampleData/DataSource.cs b/examples/Demo/Shared/SampleData/DataSource.cs
index 741c3850e3..ab3f3f8dcc 100644
--- a/examples/Demo/Shared/SampleData/DataSource.cs
+++ b/examples/Demo/Shared/SampleData/DataSource.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Diagnostics.CodeAnalysis;
namespace FluentUI.Demo.Shared.SampleData;
@@ -44,7 +48,8 @@ public static async Task WaitAsync(int milliseconds, Action action)
{
timer.Dispose();
action.Invoke();
- };
+ }
+ ;
}
public static string[] ImageFaces =
diff --git a/examples/Demo/Shared/SampleData/DataSourceExtensions.cs b/examples/Demo/Shared/SampleData/DataSourceExtensions.cs
index 0a6977976a..15df090128 100644
--- a/examples/Demo/Shared/SampleData/DataSourceExtensions.cs
+++ b/examples/Demo/Shared/SampleData/DataSourceExtensions.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace FluentUI.Demo.Shared.SampleData;
public static class DataSourceExtensions
diff --git a/examples/Demo/Shared/SampleData/FoodRecall.cs b/examples/Demo/Shared/SampleData/FoodRecall.cs
index 38de82ac69..a1b953995d 100644
--- a/examples/Demo/Shared/SampleData/FoodRecall.cs
+++ b/examples/Demo/Shared/SampleData/FoodRecall.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
#nullable disable
namespace FluentUI.Demo.Shared.SampleData;
diff --git a/examples/Demo/Shared/SampleData/Olympics.cs b/examples/Demo/Shared/SampleData/Olympics.cs
index 0cfdb94941..5da566510b 100644
--- a/examples/Demo/Shared/SampleData/Olympics.cs
+++ b/examples/Demo/Shared/SampleData/Olympics.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace FluentUI.Demo.Shared.SampleData;
public record Medals
diff --git a/examples/Demo/Shared/SampleData/Person.cs b/examples/Demo/Shared/SampleData/Person.cs
index 63b36e4217..d7a5faf467 100644
--- a/examples/Demo/Shared/SampleData/Person.cs
+++ b/examples/Demo/Shared/SampleData/Person.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace FluentUI.Demo.Shared.SampleData;
public record Person(int PersonId, string CountryCode, string FirstName, string LastName, DateOnly BirthDate, string Picture)
diff --git a/examples/Demo/Shared/SampleData/Starship.cs b/examples/Demo/Shared/SampleData/Starship.cs
index 0275855318..7d7b8af61e 100644
--- a/examples/Demo/Shared/SampleData/Starship.cs
+++ b/examples/Demo/Shared/SampleData/Starship.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using System.ComponentModel.DataAnnotations;
diff --git a/examples/Demo/Shared/Shared/DemoMainLayout.razor.cs b/examples/Demo/Shared/Shared/DemoMainLayout.razor.cs
index b7363a79ae..7651c2a4db 100644
--- a/examples/Demo/Shared/Shared/DemoMainLayout.razor.cs
+++ b/examples/Demo/Shared/Shared/DemoMainLayout.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using FluentUI.Demo.Shared.Components;
diff --git a/examples/Demo/Shared/Shared/DemoNavProvider.cs b/examples/Demo/Shared/Shared/DemoNavProvider.cs
index 3567c19015..5eedb8906d 100644
--- a/examples/Demo/Shared/Shared/DemoNavProvider.cs
+++ b/examples/Demo/Shared/Shared/DemoNavProvider.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components.Routing;
diff --git a/examples/Demo/Shared/Shared/DemoSearch.razor.cs b/examples/Demo/Shared/Shared/DemoSearch.razor.cs
index 9e16319afd..cf45c92819 100644
--- a/examples/Demo/Shared/Shared/DemoSearch.razor.cs
+++ b/examples/Demo/Shared/Shared/DemoSearch.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using System.Diagnostics;
diff --git a/examples/Demo/Shared/Shared/NavItem.cs b/examples/Demo/Shared/Shared/NavItem.cs
index c9583c6717..73815c22cd 100644
--- a/examples/Demo/Shared/Shared/NavItem.cs
+++ b/examples/Demo/Shared/Shared/NavItem.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components.Routing;
diff --git a/src/Core/BindAttributes.cs b/src/Core/BindAttributes.cs
index 0d1a6f826f..df974fdbd0 100644
--- a/src/Core/BindAttributes.cs
+++ b/src/Core/BindAttributes.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/Accessibility/FluentAccessibilityStatus.razor.cs b/src/Core/Components/Accessibility/FluentAccessibilityStatus.razor.cs
index 4caa9d28ad..47729200f2 100644
--- a/src/Core/Components/Accessibility/FluentAccessibilityStatus.razor.cs
+++ b/src/Core/Components/Accessibility/FluentAccessibilityStatus.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Accordion/FluentAccordion.razor.cs b/src/Core/Components/Accordion/FluentAccordion.razor.cs
index 3c22233ee8..85bc394dca 100644
--- a/src/Core/Components/Accordion/FluentAccordion.razor.cs
+++ b/src/Core/Components/Accordion/FluentAccordion.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using System.Diagnostics.CodeAnalysis;
diff --git a/src/Core/Components/Accordion/FluentAccordionItem.razor.cs b/src/Core/Components/Accordion/FluentAccordionItem.razor.cs
index 7ea6d9d238..ba3a603d71 100644
--- a/src/Core/Components/Accordion/FluentAccordionItem.razor.cs
+++ b/src/Core/Components/Accordion/FluentAccordionItem.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Anchor/FluentAnchor.razor.cs b/src/Core/Components/Anchor/FluentAnchor.razor.cs
index 4d3d70ef00..dc467e5bb1 100644
--- a/src/Core/Components/Anchor/FluentAnchor.razor.cs
+++ b/src/Core/Components/Anchor/FluentAnchor.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Extensions;
using Microsoft.JSInterop;
diff --git a/src/Core/Components/AnchoredRegion/FluentAnchoredRegion.razor.cs b/src/Core/Components/AnchoredRegion/FluentAnchoredRegion.razor.cs
index cabea0cd47..5930415842 100644
--- a/src/Core/Components/AnchoredRegion/FluentAnchoredRegion.razor.cs
+++ b/src/Core/Components/AnchoredRegion/FluentAnchoredRegion.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Extensions;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
@@ -68,7 +72,7 @@ public partial class FluentAnchoredRegion : FluentComponentBase
public bool HorizontalViewportLock { get; set; }
///
- /// Gets or sets a value indicating whether the region overlaps the anchor on the horizontal axis.
+ /// Gets or sets a value indicating whether the region overlaps the anchor on the horizontal axis.
/// Default is false which places the region adjacent to the anchor element.
///
[Parameter]
@@ -140,8 +144,8 @@ public partial class FluentAnchoredRegion : FluentComponentBase
///
/// Defines what triggers the anchored region to revaluate positioning.
- /// Default is "Anchor".
- /// In 'anchor' mode only anchor resizes and attribute changes will provoke an update.
+ /// Default is "Anchor".
+ /// In 'anchor' mode only anchor resizes and attribute changes will provoke an update.
/// In 'auto' mode the component also updates because of - any scroll event on the document, window resizes and viewport resizes. See
///
[Parameter]
diff --git a/src/Core/Components/AppBar/FluentAppBar.razor.cs b/src/Core/Components/AppBar/FluentAppBar.razor.cs
index e616841e56..5fa06ce10c 100644
--- a/src/Core/Components/AppBar/FluentAppBar.razor.cs
+++ b/src/Core/Components/AppBar/FluentAppBar.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
@@ -46,7 +46,8 @@ public partial class FluentAppBar : FluentComponentBase
public Orientation Orientation
{
get => _orientation;
- set {
+ set
+ {
_orientation = value;
InvokeAsync(InitializeOverflowAsync);
}
@@ -140,7 +141,7 @@ private async Task InitializeOverflowAsync()
if (_jsModuleOverflow is not null)
{
await _jsModuleOverflow.InvokeVoidAsync("fluentOverflowInitialize", _dotNetHelper, Id, _orientation == Orientation.Horizontal, OVERFLOW_SELECTOR, 0);
- await _jsModuleOverflow.InvokeVoidAsync("fluentOverflowRefresh", _dotNetHelper,Id, _orientation == Orientation.Horizontal, OVERFLOW_SELECTOR, 0);
+ await _jsModuleOverflow.InvokeVoidAsync("fluentOverflowRefresh", _dotNetHelper, Id, _orientation == Orientation.Horizontal, OVERFLOW_SELECTOR, 0);
}
}
diff --git a/src/Core/Components/AppBar/FluentAppBarItem.razor.cs b/src/Core/Components/AppBar/FluentAppBarItem.razor.cs
index 5654db1337..ca0c5d1d36 100644
--- a/src/Core/Components/AppBar/FluentAppBarItem.razor.cs
+++ b/src/Core/Components/AppBar/FluentAppBarItem.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Routing;
diff --git a/src/Core/Components/AppBar/IAppBarItem.cs b/src/Core/Components/AppBar/IAppBarItem.cs
index efdb90a627..e6ef4a868f 100644
--- a/src/Core/Components/AppBar/IAppBarItem.cs
+++ b/src/Core/Components/AppBar/IAppBarItem.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Routing;
diff --git a/src/Core/Components/AppBar/InternalAppBarContext.cs b/src/Core/Components/AppBar/InternalAppBarContext.cs
index 4ae902ea63..be76813504 100644
--- a/src/Core/Components/AppBar/InternalAppBarContext.cs
+++ b/src/Core/Components/AppBar/InternalAppBarContext.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Badge/FluentBadge.razor.cs b/src/Core/Components/Badge/FluentBadge.razor.cs
index 0c950fa63b..94ecd5e294 100644
--- a/src/Core/Components/Badge/FluentBadge.razor.cs
+++ b/src/Core/Components/Badge/FluentBadge.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/Base/FluentComponentBase.cs b/src/Core/Components/Base/FluentComponentBase.cs
index 842657df63..1f1b881267 100644
--- a/src/Core/Components/Base/FluentComponentBase.cs
+++ b/src/Core/Components/Base/FluentComponentBase.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
@@ -7,7 +11,7 @@ public abstract class FluentComponentBase : ComponentBase
private ElementReference _ref;
///
- /// Gets or sets the associated web component.
+ /// Gets or sets the associated web component.
/// May be if accessed before the component is rendered.
///
public ElementReference Element
diff --git a/src/Core/Components/Base/FluentInputBase.cs b/src/Core/Components/Base/FluentInputBase.cs
index 9622a11e5f..5f469683eb 100644
--- a/src/Core/Components/Base/FluentInputBase.cs
+++ b/src/Core/Components/Base/FluentInputBase.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/Base/FluentInputBaseHandlers.cs b/src/Core/Components/Base/FluentInputBaseHandlers.cs
index 3e76ac4ea8..d5e8624e77 100644
--- a/src/Core/Components/Base/FluentInputBaseHandlers.cs
+++ b/src/Core/Components/Base/FluentInputBaseHandlers.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Forms;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
@@ -35,7 +39,7 @@ protected virtual async Task ChangeHandlerAsync(ChangeEventArgs e)
await SetCurrentValueAsync(result ?? default);
_notifyCalled = true;
- if(FieldBound && CascadedEditContext != null)
+ if (FieldBound && CascadedEditContext != null)
{
_parsingValidationMessages?.Clear(); // Clear any previous errors
}
diff --git a/src/Core/Components/Base/InputHelpers.cs b/src/Core/Components/Base/InputHelpers.cs
index 827e8aeb38..8260cadb40 100644
--- a/src/Core/Components/Base/InputHelpers.cs
+++ b/src/Core/Components/Base/InputHelpers.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Globalization;
namespace Microsoft.FluentUI.AspNetCore.Components;
@@ -193,7 +197,7 @@ internal static void ValidateInputParameters(string? max, string? min)
ValidateULongInputs(max, min);
}
- if(typeof(TValue) == typeof(byte))
+ if (typeof(TValue) == typeof(byte))
{
ValidateUShortInputs(max, min);
}
diff --git a/src/Core/Components/BodyContent/FluentBodyContent.razor.cs b/src/Core/Components/BodyContent/FluentBodyContent.razor.cs
index 6491750b4f..ba5acbc972 100644
--- a/src/Core/Components/BodyContent/FluentBodyContent.razor.cs
+++ b/src/Core/Components/BodyContent/FluentBodyContent.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/Breadcrumb/FluentBreadcrumb.razor.cs b/src/Core/Components/Breadcrumb/FluentBreadcrumb.razor.cs
index ec696f53a2..5b9f233caf 100644
--- a/src/Core/Components/Breadcrumb/FluentBreadcrumb.razor.cs
+++ b/src/Core/Components/Breadcrumb/FluentBreadcrumb.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Breadcrumb/FluentBreadcrumbItem.razor.cs b/src/Core/Components/Breadcrumb/FluentBreadcrumbItem.razor.cs
index 42f4719909..25f121a8a7 100644
--- a/src/Core/Components/Breadcrumb/FluentBreadcrumbItem.razor.cs
+++ b/src/Core/Components/Breadcrumb/FluentBreadcrumbItem.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
@@ -41,7 +45,7 @@ public partial class FluentBreadcrumbItem : FluentComponentBase
public string? Rel { get; set; }
///
- /// Gets or sets the target attribute that specifies where to open the link, if Href is specified.
+ /// Gets or sets the target attribute that specifies where to open the link, if Href is specified.
/// See a element for more information.
/// Possible values: _blank | _self | _parent | _top.
///
diff --git a/src/Core/Components/Button/FluentButton.razor.cs b/src/Core/Components/Button/FluentButton.razor.cs
index 70b2fb1f3d..c7eeccd3be 100644
--- a/src/Core/Components/Button/FluentButton.razor.cs
+++ b/src/Core/Components/Button/FluentButton.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/Card/FluentCard.razor.cs b/src/Core/Components/Card/FluentCard.razor.cs
index fe34821b39..ac9a9590c3 100644
--- a/src/Core/Components/Card/FluentCard.razor.cs
+++ b/src/Core/Components/Card/FluentCard.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/Checkbox/FluentCheckbox.razor.cs b/src/Core/Components/Checkbox/FluentCheckbox.razor.cs
index 1ed21d2391..4cda52dab7 100644
--- a/src/Core/Components/Checkbox/FluentCheckbox.razor.cs
+++ b/src/Core/Components/Checkbox/FluentCheckbox.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Extensions;
diff --git a/src/Core/Components/CollapsibleRegion/FluentCollapsibleRegion.razor.cs b/src/Core/Components/CollapsibleRegion/FluentCollapsibleRegion.razor.cs
index bf02a3a895..c1acacdcca 100644
--- a/src/Core/Components/CollapsibleRegion/FluentCollapsibleRegion.razor.cs
+++ b/src/Core/Components/CollapsibleRegion/FluentCollapsibleRegion.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/CounterBadge/FluentCounterBadge.razor.cs b/src/Core/Components/CounterBadge/FluentCounterBadge.razor.cs
index fa2d2957e3..caaded07e9 100644
--- a/src/Core/Components/CounterBadge/FluentCounterBadge.razor.cs
+++ b/src/Core/Components/CounterBadge/FluentCounterBadge.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using System.Globalization;
diff --git a/src/Core/Components/DataGrid/Columns/ColumnBase.razor.cs b/src/Core/Components/DataGrid/Columns/ColumnBase.razor.cs
index 482122a8ed..ef4d2272e5 100644
--- a/src/Core/Components/DataGrid/Columns/ColumnBase.razor.cs
+++ b/src/Core/Components/DataGrid/Columns/ColumnBase.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/Columns/ColumnKeyGridSort.cs b/src/Core/Components/DataGrid/Columns/ColumnKeyGridSort.cs
index c48f4b79bb..d7588ff257 100644
--- a/src/Core/Components/DataGrid/Columns/ColumnKeyGridSort.cs
+++ b/src/Core/Components/DataGrid/Columns/ColumnKeyGridSort.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/Columns/ColumnOptionsLabels.cs b/src/Core/Components/DataGrid/Columns/ColumnOptionsLabels.cs
index fcaa2f0f0e..60b0be9b4f 100644
--- a/src/Core/Components/DataGrid/Columns/ColumnOptionsLabels.cs
+++ b/src/Core/Components/DataGrid/Columns/ColumnOptionsLabels.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/Columns/ColumnResizeLabels.cs b/src/Core/Components/DataGrid/Columns/ColumnResizeLabels.cs
index 5bf9f51d7d..0d2d0de58f 100644
--- a/src/Core/Components/DataGrid/Columns/ColumnResizeLabels.cs
+++ b/src/Core/Components/DataGrid/Columns/ColumnResizeLabels.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/Columns/ColumnResizeOptions.razor.cs b/src/Core/Components/DataGrid/Columns/ColumnResizeOptions.razor.cs
index f50f02e35a..f355b8b541 100644
--- a/src/Core/Components/DataGrid/Columns/ColumnResizeOptions.razor.cs
+++ b/src/Core/Components/DataGrid/Columns/ColumnResizeOptions.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
using Microsoft.FluentUI.AspNetCore.Components.DataGrid.Infrastructure;
diff --git a/src/Core/Components/DataGrid/Columns/ColumnSortLabels.cs b/src/Core/Components/DataGrid/Columns/ColumnSortLabels.cs
index b454a225e0..c6d95edfe0 100644
--- a/src/Core/Components/DataGrid/Columns/ColumnSortLabels.cs
+++ b/src/Core/Components/DataGrid/Columns/ColumnSortLabels.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/Columns/GridSort.cs b/src/Core/Components/DataGrid/Columns/GridSort.cs
index 312c87bc60..726fd4e1f5 100644
--- a/src/Core/Components/DataGrid/Columns/GridSort.cs
+++ b/src/Core/Components/DataGrid/Columns/GridSort.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Linq.Expressions;
namespace Microsoft.FluentUI.AspNetCore.Components;
@@ -38,7 +42,7 @@ public static GridSort ByAscending(Expression>
(expression, true));
///
- /// Produces a instance that sorts according to the specified
+ /// Produces a instance that sorts according to the specified
/// using the specified , ascending.
///
/// The type of the expression's value.
@@ -60,7 +64,7 @@ public static GridSort ByDescending(Expression>
(expression, false));
///
- /// Produces a instance that sorts according to the specified
+ /// Produces a instance that sorts according to the specified
/// using the specified , descending.
///
/// The type of the expression's value.
diff --git a/src/Core/Components/DataGrid/Columns/IGridSort.cs b/src/Core/Components/DataGrid/Columns/IGridSort.cs
index 4512404004..c12a360a36 100644
--- a/src/Core/Components/DataGrid/Columns/IGridSort.cs
+++ b/src/Core/Components/DataGrid/Columns/IGridSort.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/Columns/PropertyColumn.cs b/src/Core/Components/DataGrid/Columns/PropertyColumn.cs
index f3a44c9616..f791a84e35 100644
--- a/src/Core/Components/DataGrid/Columns/PropertyColumn.cs
+++ b/src/Core/Components/DataGrid/Columns/PropertyColumn.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/Columns/SelectColumn.cs b/src/Core/Components/DataGrid/Columns/SelectColumn.cs
index 5ab898a0ce..6a2217ba52 100644
--- a/src/Core/Components/DataGrid/Columns/SelectColumn.cs
+++ b/src/Core/Components/DataGrid/Columns/SelectColumn.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/Columns/SortedProperty.cs b/src/Core/Components/DataGrid/Columns/SortedProperty.cs
index 2afc60eb7b..5721fd170d 100644
--- a/src/Core/Components/DataGrid/Columns/SortedProperty.cs
+++ b/src/Core/Components/DataGrid/Columns/SortedProperty.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace Microsoft.FluentUI.AspNetCore.Components;
///
diff --git a/src/Core/Components/DataGrid/Columns/TemplateColumn.cs b/src/Core/Components/DataGrid/Columns/TemplateColumn.cs
index 8a3b43e954..62da691ec0 100644
--- a/src/Core/Components/DataGrid/Columns/TemplateColumn.cs
+++ b/src/Core/Components/DataGrid/Columns/TemplateColumn.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
diff --git a/src/Core/Components/DataGrid/FluentDataGrid.razor.cs b/src/Core/Components/DataGrid/FluentDataGrid.razor.cs
index 24784ddd9e..d69e357fe8 100644
--- a/src/Core/Components/DataGrid/FluentDataGrid.razor.cs
+++ b/src/Core/Components/DataGrid/FluentDataGrid.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using System.Diagnostics.CodeAnalysis;
diff --git a/src/Core/Components/DataGrid/FluentDataGridCell.razor.cs b/src/Core/Components/DataGrid/FluentDataGridCell.razor.cs
index b6344436b8..8c2e54b15e 100644
--- a/src/Core/Components/DataGrid/FluentDataGridCell.razor.cs
+++ b/src/Core/Components/DataGrid/FluentDataGridCell.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/FluentDataGridRow.razor.cs b/src/Core/Components/DataGrid/FluentDataGridRow.razor.cs
index f3d3a0af59..a7ca7791dc 100644
--- a/src/Core/Components/DataGrid/FluentDataGridRow.razor.cs
+++ b/src/Core/Components/DataGrid/FluentDataGridRow.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/GridItemsProvider.cs b/src/Core/Components/DataGrid/GridItemsProvider.cs
index 09bb754e6e..d7376a73c3 100644
--- a/src/Core/Components/DataGrid/GridItemsProvider.cs
+++ b/src/Core/Components/DataGrid/GridItemsProvider.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace Microsoft.FluentUI.AspNetCore.Components;
///
diff --git a/src/Core/Components/DataGrid/GridItemsProviderRequest.cs b/src/Core/Components/DataGrid/GridItemsProviderRequest.cs
index 3ca5ccbb3e..0efc6db035 100644
--- a/src/Core/Components/DataGrid/GridItemsProviderRequest.cs
+++ b/src/Core/Components/DataGrid/GridItemsProviderRequest.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace Microsoft.FluentUI.AspNetCore.Components;
///
diff --git a/src/Core/Components/DataGrid/GridItemsProviderResult.cs b/src/Core/Components/DataGrid/GridItemsProviderResult.cs
index 42b8214b4f..3dfd03e3ab 100644
--- a/src/Core/Components/DataGrid/GridItemsProviderResult.cs
+++ b/src/Core/Components/DataGrid/GridItemsProviderResult.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace Microsoft.FluentUI.AspNetCore.Components;
///
diff --git a/src/Core/Components/DataGrid/Infrastructure/AsyncQueryExecutorSupplier.cs b/src/Core/Components/DataGrid/Infrastructure/AsyncQueryExecutorSupplier.cs
index 331f75700d..02066c349b 100644
--- a/src/Core/Components/DataGrid/Infrastructure/AsyncQueryExecutorSupplier.cs
+++ b/src/Core/Components/DataGrid/Infrastructure/AsyncQueryExecutorSupplier.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Collections.Concurrent;
using System.Diagnostics.CodeAnalysis;
using Microsoft.Extensions.DependencyInjection;
diff --git a/src/Core/Components/DataGrid/Infrastructure/ColumnsCollectedNotifier.cs b/src/Core/Components/DataGrid/Infrastructure/ColumnsCollectedNotifier.cs
index 161892eb90..23023a5ad1 100644
--- a/src/Core/Components/DataGrid/Infrastructure/ColumnsCollectedNotifier.cs
+++ b/src/Core/Components/DataGrid/Infrastructure/ColumnsCollectedNotifier.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.ComponentModel;
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/DataGrid/Infrastructure/Defer.cs b/src/Core/Components/DataGrid/Infrastructure/Defer.cs
index 245482be6c..c6500f5371 100644
--- a/src/Core/Components/DataGrid/Infrastructure/Defer.cs
+++ b/src/Core/Components/DataGrid/Infrastructure/Defer.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.ComponentModel;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Rendering;
diff --git a/src/Core/Components/DataGrid/Infrastructure/DisplayAttributeExtensions.cs b/src/Core/Components/DataGrid/Infrastructure/DisplayAttributeExtensions.cs
index 0d69a8e0f3..966dd141d9 100644
--- a/src/Core/Components/DataGrid/Infrastructure/DisplayAttributeExtensions.cs
+++ b/src/Core/Components/DataGrid/Infrastructure/DisplayAttributeExtensions.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;
using System.Reflection;
diff --git a/src/Core/Components/DataGrid/Infrastructure/IAsyncQueryExecutor.cs b/src/Core/Components/DataGrid/Infrastructure/IAsyncQueryExecutor.cs
index 5e6f17d7fb..971c3e17c3 100644
--- a/src/Core/Components/DataGrid/Infrastructure/IAsyncQueryExecutor.cs
+++ b/src/Core/Components/DataGrid/Infrastructure/IAsyncQueryExecutor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace Microsoft.FluentUI.AspNetCore.Components.DataGrid.Infrastructure;
///
diff --git a/src/Core/Components/DataGrid/Infrastructure/IBindableColumn.cs b/src/Core/Components/DataGrid/Infrastructure/IBindableColumn.cs
index 8978d1ce2a..0ad275de8b 100644
--- a/src/Core/Components/DataGrid/Infrastructure/IBindableColumn.cs
+++ b/src/Core/Components/DataGrid/Infrastructure/IBindableColumn.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Linq.Expressions;
using System.Reflection;
diff --git a/src/Core/Components/DateTime/CalendarExtended.cs b/src/Core/Components/DateTime/CalendarExtended.cs
index faf6accca9..32f157480e 100644
--- a/src/Core/Components/DateTime/CalendarExtended.cs
+++ b/src/Core/Components/DateTime/CalendarExtended.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Globalization;
using Microsoft.FluentUI.AspNetCore.Components.Extensions;
diff --git a/src/Core/Components/DateTime/CalendarTitles.cs b/src/Core/Components/DateTime/CalendarTitles.cs
index 6959654c53..3c241b42ae 100644
--- a/src/Core/Components/DateTime/CalendarTitles.cs
+++ b/src/Core/Components/DateTime/CalendarTitles.cs
@@ -1,3 +1,6 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
using Microsoft.FluentUI.AspNetCore.Components.Extensions;
diff --git a/src/Core/Components/DateTime/FluentCalendar.razor.cs b/src/Core/Components/DateTime/FluentCalendar.razor.cs
index fa477e0076..97d578f29c 100644
--- a/src/Core/Components/DateTime/FluentCalendar.razor.cs
+++ b/src/Core/Components/DateTime/FluentCalendar.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
diff --git a/src/Core/Components/DateTime/FluentCalendarBase.cs b/src/Core/Components/DateTime/FluentCalendarBase.cs
index 7086caa75b..df0ae1ff8b 100644
--- a/src/Core/Components/DateTime/FluentCalendarBase.cs
+++ b/src/Core/Components/DateTime/FluentCalendarBase.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Globalization;
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/DateTime/FluentCalendarDay.cs b/src/Core/Components/DateTime/FluentCalendarDay.cs
index f69249d6ef..2d51494464 100644
--- a/src/Core/Components/DateTime/FluentCalendarDay.cs
+++ b/src/Core/Components/DateTime/FluentCalendarDay.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Globalization;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DateTime/FluentCalendarMonth.cs b/src/Core/Components/DateTime/FluentCalendarMonth.cs
index 43c6898889..0ca0d47c8f 100644
--- a/src/Core/Components/DateTime/FluentCalendarMonth.cs
+++ b/src/Core/Components/DateTime/FluentCalendarMonth.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.FluentUI.AspNetCore.Components.Extensions;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DateTime/FluentCalendarYear.cs b/src/Core/Components/DateTime/FluentCalendarYear.cs
index 7438fe186e..40fd9228f9 100644
--- a/src/Core/Components/DateTime/FluentCalendarYear.cs
+++ b/src/Core/Components/DateTime/FluentCalendarYear.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.FluentUI.AspNetCore.Components.Extensions;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DateTime/FluentDatePicker.razor.cs b/src/Core/Components/DateTime/FluentDatePicker.razor.cs
index cf53826c65..3e55f78bcb 100644
--- a/src/Core/Components/DateTime/FluentDatePicker.razor.cs
+++ b/src/Core/Components/DateTime/FluentDatePicker.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Web;
diff --git a/src/Core/Components/DateTime/FluentTimePicker.razor.cs b/src/Core/Components/DateTime/FluentTimePicker.razor.cs
index b44e6f7a22..c65a6eadd7 100644
--- a/src/Core/Components/DateTime/FluentTimePicker.razor.cs
+++ b/src/Core/Components/DateTime/FluentTimePicker.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/DateTime/KeyDown.cs b/src/Core/Components/DateTime/KeyDown.cs
index 17026c3df9..e930448624 100644
--- a/src/Core/Components/DateTime/KeyDown.cs
+++ b/src/Core/Components/DateTime/KeyDown.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components.Web;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DateTime/RangeOfDates.cs b/src/Core/Components/DateTime/RangeOfDates.cs
index 016216c54c..266ae6c826 100644
--- a/src/Core/Components/DateTime/RangeOfDates.cs
+++ b/src/Core/Components/DateTime/RangeOfDates.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/DateTime/SelectDatesHoverEventArgs.cs b/src/Core/Components/DateTime/SelectDatesHoverEventArgs.cs
index cabdaae9ed..e796c22a19 100644
--- a/src/Core/Components/DateTime/SelectDatesHoverEventArgs.cs
+++ b/src/Core/Components/DateTime/SelectDatesHoverEventArgs.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DateTime/TimeAgoOptions.cs b/src/Core/Components/DateTime/TimeAgoOptions.cs
index a95816e187..de1f020ec1 100644
--- a/src/Core/Components/DateTime/TimeAgoOptions.cs
+++ b/src/Core/Components/DateTime/TimeAgoOptions.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.FluentUI.AspNetCore.Components.Resources;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DesignSystemProvider/FluentDesignSystemProvider.razor.cs b/src/Core/Components/DesignSystemProvider/FluentDesignSystemProvider.razor.cs
index c769771307..a5851c7386 100644
--- a/src/Core/Components/DesignSystemProvider/FluentDesignSystemProvider.razor.cs
+++ b/src/Core/Components/DesignSystemProvider/FluentDesignSystemProvider.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/DesignSystemProvider/FluentDesignTheme.razor.cs b/src/Core/Components/DesignSystemProvider/FluentDesignTheme.razor.cs
index 1b0574f0cf..636dc3d697 100644
--- a/src/Core/Components/DesignSystemProvider/FluentDesignTheme.razor.cs
+++ b/src/Core/Components/DesignSystemProvider/FluentDesignTheme.razor.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using System.Globalization;
diff --git a/src/Core/Components/Dialog/ContentComponents/FluentSplashScreen.razor.cs b/src/Core/Components/Dialog/ContentComponents/FluentSplashScreen.razor.cs
index a1c60e81b8..6003dc9362 100644
--- a/src/Core/Components/Dialog/ContentComponents/FluentSplashScreen.razor.cs
+++ b/src/Core/Components/Dialog/ContentComponents/FluentSplashScreen.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Dialog/ContentComponents/IDialogContentComponent.cs b/src/Core/Components/Dialog/ContentComponents/IDialogContentComponent.cs
index 223673238e..e895c2b200 100644
--- a/src/Core/Components/Dialog/ContentComponents/IDialogContentComponent.cs
+++ b/src/Core/Components/Dialog/ContentComponents/IDialogContentComponent.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace Microsoft.FluentUI.AspNetCore.Components;
///
diff --git a/src/Core/Components/Dialog/ContentComponents/MessageBox.razor.cs b/src/Core/Components/Dialog/ContentComponents/MessageBox.razor.cs
index 1e66e2eefc..064bf0f82e 100644
--- a/src/Core/Components/Dialog/ContentComponents/MessageBox.razor.cs
+++ b/src/Core/Components/Dialog/ContentComponents/MessageBox.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Dialog/FluentDialog.razor.cs b/src/Core/Components/Dialog/FluentDialog.razor.cs
index f4caa3cd03..32a045ee60 100644
--- a/src/Core/Components/Dialog/FluentDialog.razor.cs
+++ b/src/Core/Components/Dialog/FluentDialog.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/Dialog/FluentDialogBody.razor.cs b/src/Core/Components/Dialog/FluentDialogBody.razor.cs
index fdf7d79dc1..b550326876 100644
--- a/src/Core/Components/Dialog/FluentDialogBody.razor.cs
+++ b/src/Core/Components/Dialog/FluentDialogBody.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/Dialog/FluentDialogFooter.razor.cs b/src/Core/Components/Dialog/FluentDialogFooter.razor.cs
index cb6a9188b7..a50decc08d 100644
--- a/src/Core/Components/Dialog/FluentDialogFooter.razor.cs
+++ b/src/Core/Components/Dialog/FluentDialogFooter.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/Dialog/FluentDialogHeader.razor.cs b/src/Core/Components/Dialog/FluentDialogHeader.razor.cs
index 09c562e3d7..0bd24930a9 100644
--- a/src/Core/Components/Dialog/FluentDialogHeader.razor.cs
+++ b/src/Core/Components/Dialog/FluentDialogHeader.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.FluentUI.AspNetCore.Components.Utilities;
diff --git a/src/Core/Components/Dialog/FluentDialogProvider.razor.cs b/src/Core/Components/Dialog/FluentDialogProvider.razor.cs
index 5a74052aa1..822f024604 100644
--- a/src/Core/Components/Dialog/FluentDialogProvider.razor.cs
+++ b/src/Core/Components/Dialog/FluentDialogProvider.razor.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.Routing;
@@ -69,7 +73,8 @@ private void UpdateDialog(string? dialogId, DialogParameters parameters)
dialogInstance.Parameters = parameters;
InvokeAsync(StateHasChanged);
- };
+ }
+ ;
}
private async Task UpdateDialogAsync(string? dialogId, DialogParameters parameters)
diff --git a/src/Core/Components/Dialog/Parameters/DialogParameters.cs b/src/Core/Components/Dialog/Parameters/DialogParameters.cs
index 78aee66286..048f2d523d 100644
--- a/src/Core/Components/Dialog/Parameters/DialogParameters.cs
+++ b/src/Core/Components/Dialog/Parameters/DialogParameters.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
@@ -29,7 +33,7 @@ public virtual HorizontalAlignment Alignment
return _alignment;
}
}
-
+
///
/// Gets or sets the title of the dialog.
///
diff --git a/src/Core/Components/Dialog/Parameters/IDialogParameters.cs b/src/Core/Components/Dialog/Parameters/IDialogParameters.cs
index 48d313dc82..675d339988 100644
--- a/src/Core/Components/Dialog/Parameters/IDialogParameters.cs
+++ b/src/Core/Components/Dialog/Parameters/IDialogParameters.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Dialog/Parameters/MessageBoxContent.cs b/src/Core/Components/Dialog/Parameters/MessageBoxContent.cs
index 358b3469f8..3acc1bc90e 100644
--- a/src/Core/Components/Dialog/Parameters/MessageBoxContent.cs
+++ b/src/Core/Components/Dialog/Parameters/MessageBoxContent.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Dialog/Parameters/SplashScreenContent.cs b/src/Core/Components/Dialog/Parameters/SplashScreenContent.cs
index 960d1452a2..438e0a3af9 100644
--- a/src/Core/Components/Dialog/Parameters/SplashScreenContent.cs
+++ b/src/Core/Components/Dialog/Parameters/SplashScreenContent.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
@@ -25,7 +29,7 @@ public class SplashScreenContent
public string? LoadingText { get; set; }
///
- /// Gets or sets an extra message. Can contain HTML.
+ /// Gets or sets an extra message. Can contain HTML.
///
public MarkupString? Message { get; set; }
diff --git a/src/Core/Components/Dialog/Services/DialogHelper.cs b/src/Core/Components/Dialog/Services/DialogHelper.cs
index 610948af43..5146ae9c5c 100644
--- a/src/Core/Components/Dialog/Services/DialogHelper.cs
+++ b/src/Core/Components/Dialog/Services/DialogHelper.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Dialog/Services/DialogInstance.cs b/src/Core/Components/Dialog/Services/DialogInstance.cs
index ed31a4c794..f7b6ff7762 100644
--- a/src/Core/Components/Dialog/Services/DialogInstance.cs
+++ b/src/Core/Components/Dialog/Services/DialogInstance.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace Microsoft.FluentUI.AspNetCore.Components;
public sealed class DialogInstance
diff --git a/src/Core/Components/Dialog/Services/DialogReference.cs b/src/Core/Components/Dialog/Services/DialogReference.cs
index dee060b891..82bc3ac419 100644
--- a/src/Core/Components/Dialog/Services/DialogReference.cs
+++ b/src/Core/Components/Dialog/Services/DialogReference.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace Microsoft.FluentUI.AspNetCore.Components;
public class DialogReference : IDialogReference
diff --git a/src/Core/Components/Dialog/Services/DialogResult.cs b/src/Core/Components/Dialog/Services/DialogResult.cs
index 7c0c659f4d..5381acb7c2 100644
--- a/src/Core/Components/Dialog/Services/DialogResult.cs
+++ b/src/Core/Components/Dialog/Services/DialogResult.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
namespace Microsoft.FluentUI.AspNetCore.Components;
///
diff --git a/src/Core/Components/Dialog/Services/DialogService-Dialog.cs b/src/Core/Components/Dialog/Services/DialogService-Dialog.cs
index ca91e080dc..991122ec49 100644
--- a/src/Core/Components/Dialog/Services/DialogService-Dialog.cs
+++ b/src/Core/Components/Dialog/Services/DialogService-Dialog.cs
@@ -1,5 +1,5 @@
// ------------------------------------------------------------------------
-// MIT License - Copyright (c) Microsoft Corporation. All rights reserved.
+// This file is licensed to you under the MIT License.
// ------------------------------------------------------------------------
using Microsoft.AspNetCore.Components;
diff --git a/src/Core/Components/Dialog/Services/DialogService-MessageBox.cs b/src/Core/Components/Dialog/Services/DialogService-MessageBox.cs
index a083f16c05..6515a6805f 100644
--- a/src/Core/Components/Dialog/Services/DialogService-MessageBox.cs
+++ b/src/Core/Components/Dialog/Services/DialogService-MessageBox.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
@@ -89,7 +93,7 @@ public void ShowInfo(string message, string? title = null, string? primaryAction
});
///
- /// Shows a confirmation message box. Has a callback function which returns boolean
+ /// Shows a confirmation message box. Has a callback function which returns boolean
/// (true=PrimaryAction clicked, false=SecondaryAction clicked).
///
/// The component that receives the callback function.
@@ -231,7 +235,7 @@ public async Task ShowInfoAsync(string message, string? title
});
///
- /// Shows a confirmation message box. Has a callback function which returns boolean
+ /// Shows a confirmation message box. Has a callback function which returns boolean
/// (true=PrimaryAction clicked, false=SecondaryAction clicked).
///
/// The component that receives the callback function.
diff --git a/src/Core/Components/Dialog/Services/DialogService-SplashScreen.cs b/src/Core/Components/Dialog/Services/DialogService-SplashScreen.cs
index a1a6bfaf6b..58c109ca5a 100644
--- a/src/Core/Components/Dialog/Services/DialogService-SplashScreen.cs
+++ b/src/Core/Components/Dialog/Services/DialogService-SplashScreen.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using Microsoft.AspNetCore.Components;
namespace Microsoft.FluentUI.AspNetCore.Components;
diff --git a/src/Core/Components/Dialog/Services/DialogService.cs b/src/Core/Components/Dialog/Services/DialogService.cs
index 4274dc3ead..b7add4f7d0 100644
--- a/src/Core/Components/Dialog/Services/DialogService.cs
+++ b/src/Core/Components/Dialog/Services/DialogService.cs
@@ -1,3 +1,7 @@
+// ------------------------------------------------------------------------
+// This file is licensed to you under the MIT License.
+// ------------------------------------------------------------------------
+
using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNetCore.Components;
@@ -10,7 +14,7 @@ public partial class DialogService : IDialogService
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(MessageBoxContent))]
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(MessageBox))]
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(SplashScreenContent))]
- [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(FluentSplashScreen))]
+ [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(FluentSplashScreen))]
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(DialogParameters))]
[DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(DialogParameters