From f0da95d773448f9298c886e8e462ac2c0510ad0e Mon Sep 17 00:00:00 2001 From: Vincent Baaij Date: Tue, 17 Jun 2025 22:25:36 +0200 Subject: [PATCH] Add file header to all .cs files --- .editorconfig | 2 +- examples/Demo/Client/Program.cs | 2 +- .../DocGenerator/CodeCommentsGenerator.cs | 4 + examples/Demo/Server/Pages/Error.cshtml.cs | 4 + examples/Demo/Server/Program.cs | 2 +- examples/Demo/Shared/App.razor.cs | 2 +- .../Components/ApiDocumentation.razor.cs | 9 +- .../Shared/Components/CodeSnippet.razor.cs | 6 +- .../Components/Cookies/CookieConsent.razor.cs | 2 +- .../Cookies/CookieConsentService.cs | 2 +- .../Shared/Components/Cookies/CookieState.cs | 2 +- .../Shared/Components/DemoSection.razor.cs | 10 +- .../Components/MarkdownSection.razor.cs | 8 +- .../MarkdownSectionPreCodeExtension.cs | 4 + .../MarkdownSectionPreCodeRenderer.cs | 4 +- .../MarkdownSectionPreCodeRendererOptions.cs | 4 + .../Shared/Components/SiteSettings.razor.cs | 4 + .../Components/SiteSettingsPanel.razor.cs | 2 +- .../Components/TableOfContents.razor.cs | 4 + examples/Demo/Shared/DemoLogger.cs | 4 + .../Infrastructure/AppVersionService.cs | 2 +- .../Infrastructure/CacheStorageAccessor.cs | 4 + .../Demo/Shared/Infrastructure/DemoIcons.cs | 6 +- .../HttpBasedStaticAssetService.cs | 2 +- .../Infrastructure/IAppVersionService.cs | 2 +- .../Infrastructure/IStaticAssetService.cs | 4 + .../ServerStaticAssetService.cs | 2 +- .../ServiceCollectionExtensions.cs | 2 +- ...crosoft.FluentUI.AspNetCore.Components.xml | 78 ++++++------ .../Shared/Pages/Emoji/EmojiPage.razor.cs | 4 + examples/Demo/Shared/Pages/Home/Home.razor.cs | 4 + .../Shared/Pages/Icon/Examples/MyCircle.cs | 4 + .../MessageBar/Examples/MessageBarSamples.cs | 3 + .../Pages/Panel/Examples/DialogPanel.razor.cs | 4 + .../Panel/Examples/DialogPanelAsync.razor.cs | 4 + .../DialogPanelWithValidation.razor.cs | 2 +- .../DialogSplashScreenCustom.razor.cs | 4 + .../DialogSplashScreenDefault.razor.cs | 4 + .../Pages/Toast/Examples/MyToastData.cs | 4 + examples/Demo/Shared/ReflectionExtensions.cs | 116 +++++++++--------- examples/Demo/Shared/SampleData/DataSource.cs | 7 +- .../Shared/SampleData/DataSourceExtensions.cs | 4 + examples/Demo/Shared/SampleData/FoodRecall.cs | 4 + examples/Demo/Shared/SampleData/Olympics.cs | 4 + examples/Demo/Shared/SampleData/Person.cs | 4 + examples/Demo/Shared/SampleData/Starship.cs | 2 +- .../Shared/Shared/DemoMainLayout.razor.cs | 2 +- .../Demo/Shared/Shared/DemoNavProvider.cs | 2 +- .../Demo/Shared/Shared/DemoSearch.razor.cs | 2 +- examples/Demo/Shared/Shared/NavItem.cs | 2 +- src/Core/BindAttributes.cs | 2 +- .../FluentAccessibilityStatus.razor.cs | 4 + .../Accordion/FluentAccordion.razor.cs | 2 +- .../Accordion/FluentAccordionItem.razor.cs | 4 + .../Components/Anchor/FluentAnchor.razor.cs | 4 + .../FluentAnchoredRegion.razor.cs | 10 +- .../Components/AppBar/FluentAppBar.razor.cs | 7 +- .../AppBar/FluentAppBarItem.razor.cs | 2 +- src/Core/Components/AppBar/IAppBarItem.cs | 2 +- .../AppBar/InternalAppBarContext.cs | 2 +- .../Components/Badge/FluentBadge.razor.cs | 4 + .../Components/Base/FluentComponentBase.cs | 6 +- src/Core/Components/Base/FluentInputBase.cs | 2 +- .../Base/FluentInputBaseHandlers.cs | 6 +- src/Core/Components/Base/InputHelpers.cs | 6 +- .../BodyContent/FluentBodyContent.razor.cs | 4 + .../Breadcrumb/FluentBreadcrumb.razor.cs | 4 + .../Breadcrumb/FluentBreadcrumbItem.razor.cs | 6 +- .../Components/Button/FluentButton.razor.cs | 2 +- src/Core/Components/Card/FluentCard.razor.cs | 4 + .../Checkbox/FluentCheckbox.razor.cs | 4 + .../FluentCollapsibleRegion.razor.cs | 4 + .../CounterBadge/FluentCounterBadge.razor.cs | 2 +- .../DataGrid/Columns/ColumnBase.razor.cs | 2 +- .../DataGrid/Columns/ColumnKeyGridSort.cs | 2 +- .../DataGrid/Columns/ColumnOptionsLabels.cs | 2 +- .../DataGrid/Columns/ColumnResizeLabels.cs | 2 +- .../Columns/ColumnResizeOptions.razor.cs | 4 + .../DataGrid/Columns/ColumnSortLabels.cs | 2 +- .../Components/DataGrid/Columns/GridSort.cs | 8 +- .../Components/DataGrid/Columns/IGridSort.cs | 2 +- .../DataGrid/Columns/PropertyColumn.cs | 2 +- .../DataGrid/Columns/SelectColumn.cs | 2 +- .../DataGrid/Columns/SortedProperty.cs | 4 + .../DataGrid/Columns/TemplateColumn.cs | 4 + .../DataGrid/FluentDataGrid.razor.cs | 2 +- .../DataGrid/FluentDataGridCell.razor.cs | 2 +- .../DataGrid/FluentDataGridRow.razor.cs | 2 +- .../Components/DataGrid/GridItemsProvider.cs | 4 + .../DataGrid/GridItemsProviderRequest.cs | 4 + .../DataGrid/GridItemsProviderResult.cs | 4 + .../AsyncQueryExecutorSupplier.cs | 4 + .../ColumnsCollectedNotifier.cs | 4 + .../DataGrid/Infrastructure/Defer.cs | 4 + .../DisplayAttributeExtensions.cs | 4 + .../Infrastructure/IAsyncQueryExecutor.cs | 4 + .../Infrastructure/IBindableColumn.cs | 4 + .../Components/DateTime/CalendarExtended.cs | 4 + .../Components/DateTime/CalendarTitles.cs | 3 + .../DateTime/FluentCalendar.razor.cs | 4 + .../Components/DateTime/FluentCalendarBase.cs | 4 + .../Components/DateTime/FluentCalendarDay.cs | 4 + .../DateTime/FluentCalendarMonth.cs | 4 + .../Components/DateTime/FluentCalendarYear.cs | 4 + .../DateTime/FluentDatePicker.razor.cs | 4 + .../DateTime/FluentTimePicker.razor.cs | 4 + src/Core/Components/DateTime/KeyDown.cs | 4 + src/Core/Components/DateTime/RangeOfDates.cs | 2 +- .../DateTime/SelectDatesHoverEventArgs.cs | 2 +- .../Components/DateTime/TimeAgoOptions.cs | 4 + .../FluentDesignSystemProvider.razor.cs | 4 + .../FluentDesignTheme.razor.cs | 2 +- .../FluentSplashScreen.razor.cs | 4 + .../IDialogContentComponent.cs | 4 + .../ContentComponents/MessageBox.razor.cs | 4 + .../Components/Dialog/FluentDialog.razor.cs | 4 + .../Dialog/FluentDialogBody.razor.cs | 4 + .../Dialog/FluentDialogFooter.razor.cs | 4 + .../Dialog/FluentDialogHeader.razor.cs | 4 + .../Dialog/FluentDialogProvider.razor.cs | 7 +- .../Dialog/Parameters/DialogParameters.cs | 6 +- .../Dialog/Parameters/IDialogParameters.cs | 4 + .../Dialog/Parameters/MessageBoxContent.cs | 4 + .../Dialog/Parameters/SplashScreenContent.cs | 6 +- .../Dialog/Services/DialogHelper.cs | 2 +- .../Dialog/Services/DialogInstance.cs | 4 + .../Dialog/Services/DialogReference.cs | 4 + .../Dialog/Services/DialogResult.cs | 4 + .../Dialog/Services/DialogService-Dialog.cs | 2 +- .../Services/DialogService-MessageBox.cs | 8 +- .../Services/DialogService-SplashScreen.cs | 4 + .../Dialog/Services/DialogService.cs | 6 +- .../Dialog/Services/IDialogReference.cs | 4 + .../Dialog/Services/IDialogService-Dialog.cs | 2 +- .../Services/IDialogService-MessageBox.cs | 4 + .../Services/IDialogService-SplashScreen.cs | 4 + .../Dialog/Services/IDialogService.cs | 4 + .../Dialog/Services/InternalDialogContext.cs | 4 + .../Components/Divider/FluentDivider.razor.cs | 4 + .../Drag/FluentDragContainer.razor.cs | 6 +- .../Components/Drag/FluentDropZone.razor.cs | 6 +- .../Components/EditForm/FluentEditForm.cs | 2 +- src/Core/Components/Emojis/CustomEmoji.cs | 2 +- src/Core/Components/Emojis/Emoji.cs | 6 +- src/Core/Components/Emojis/EmojiCompress.cs | 4 + src/Core/Components/Emojis/EmojiExtensions.cs | 2 +- src/Core/Components/Emojis/EmojiInfo.cs | 4 + .../Components/Emojis/FluentEmoji.razor.cs | 4 + .../Components/Flipper/FluentFlipper.razor.cs | 4 + .../Components/Footer/FluentFooter.razor.cs | 4 + .../Forms/FluentValidationMessage.razor.cs | 4 + .../Forms/FluentValidationSummary.razor.cs | 4 + src/Core/Components/Grid/FluentGrid.razor.cs | 7 +- .../Components/Grid/FluentGridItem.razor.cs | 8 +- .../Components/Header/FluentHeader.razor.cs | 4 + .../Highlighter/FluentHighlighter.razor.cs | 4 + .../FluentHorizontalScroll.razor.cs | 4 + src/Core/Components/Icons/CoreIcons.cs | 2 +- src/Core/Components/Icons/CustomIcon.cs | 2 +- src/Core/Components/Icons/FluentIcon.razor.cs | 6 +- src/Core/Components/Icons/Icon.cs | 4 + src/Core/Components/Icons/IconFromImage.cs | 4 + src/Core/Components/Icons/IconInfo.cs | 4 + src/Core/Components/Icons/IconsExtensions.cs | 2 +- .../InputFile/FluentInputFile.razor.cs | 4 + .../InputFile/FluentInputFileBuffer.cs | 4 + .../InputFile/FluentInputFileEventArgs.cs | 4 + .../InputFile/ProgressFileDetails.cs | 4 + .../InputFile/UploadedFileDetails.cs | 4 + .../Components/KeyCode/FluentKeyCode.razor.cs | 4 + .../KeyCode/FluentKeyCodeEventArgs.cs | 4 + .../KeyCode/FluentKeyCodeProvider.razor.cs | 2 +- .../KeyCode/Services/IKeyCodeListener.cs | 2 +- .../KeyCode/Services/IKeyCodeService.cs | 2 +- .../KeyCode/Services/KeyCodeService.cs | 2 +- .../Label/FluentInputLabel.razor.cs | 2 +- .../Components/Layout/FluentLayout.razor.cs | 4 + .../List/FluentAutocomplete.razor.cs | 4 + .../Components/List/FluentCombobox.razor.cs | 2 +- .../Components/List/FluentListbox.razor.cs | 4 + .../Components/List/FluentOption.razor.cs | 2 +- .../Components/List/FluentPersona.razor.cs | 6 +- .../Components/List/FluentSelect.razor.cs | 2 +- src/Core/Components/List/IOptionIcon.cs | 2 +- .../Components/List/InternalListContext.cs | 4 + .../List/ListComponentBase.razor.cs | 2 +- src/Core/Components/List/Option.cs | 4 + .../Components/List/OptionsSearchEventArgs.cs | 4 + src/Core/Components/Main/FluentMain.razor.cs | 4 + .../MainLayout/FluentMainLayout.razor.cs | 4 + src/Core/Components/Menu/FluentMenu.razor.cs | 2 +- .../Components/Menu/FluentMenuItem.razor.cs | 6 +- .../Menu/FluentMenuProvider.razor.cs | 2 +- .../Components/Menu/Services/IMenuService.cs | 2 +- .../Components/Menu/Services/MenuService.cs | 2 +- .../MenuButton/FluentMenuButton.razor.cs | 4 + .../MessageBar/FluentMessageBar.razor.cs | 2 +- .../FluentMessageBarProvider.razor.cs | 6 +- src/Core/Components/MessageBar/Message.cs | 2 +- .../MessageBar/Services/IMessageService.cs | 4 + .../MessageBar/Services/MessageOptions.cs | 8 +- .../MessageBar/Services/MessageService.cs | 4 + src/Core/Components/NavMenu/FluentNavBase.cs | 4 + .../NavMenu/FluentNavGroup.razor.cs | 2 +- .../Components/NavMenu/FluentNavLink.razor.cs | 4 + .../Components/NavMenu/FluentNavMenu.razor.cs | 4 + .../NavMenuTree/FluentNavMenuGroup.razor.cs | 4 + .../NavMenuTree/FluentNavMenuItemBase.cs | 12 +- .../NavMenuTree/FluentNavMenuLink.razor.cs | 4 + .../NavMenuTree/FluentNavMenuTree.razor.cs | 10 +- .../NavMenuTree/INavMenuItemsOwner.cs | 4 + .../NumberField/FluentNumberField.razor.cs | 2 +- .../Overflow/FluentOverflow.razor.cs | 2 +- .../Overflow/FluentOverflowItem.razor.cs | 2 +- src/Core/Components/Overflow/OverflowItem.cs | 2 +- .../Components/Overlay/FluentOverlay.razor.cs | 2 +- .../Pagination/FluentPaginator.razor.cs | 2 +- .../Components/Pagination/PaginationState.cs | 2 +- .../Components/Popover/FluentPopover.razor.cs | 4 + .../FluentPresenceBadge.razor.cs | 8 +- .../ProfileMenu/FluentProfileMenu.razor.cs | 2 +- .../Progress/FluentProgress.razor.cs | 4 + .../Progress/FluentProgressRing.razor.cs | 8 +- .../FluentPullToRefresh.razor.cs | 2 +- .../Components/Radio/FluentRadio.razor.cs | 4 + .../Components/Radio/FluentRadioContext.cs | 6 +- .../Radio/FluentRadioGroup.razor.cs | 4 + .../Components/Rating/FluentRating.razor.cs | 2 +- .../Components/Search/FluentSearch.razor.cs | 2 +- .../Skeleton/FluentSkeleton.razor.cs | 4 + .../Components/Slider/FluentSlider.razor.cs | 2 +- .../Slider/FluentSliderLabel.razor.cs | 4 + .../SortableList/FluentSortableList.razor.cs | 6 +- .../FluentSortableListEventArgs.cs | 4 + .../Components/Spacer/FluentSpacer.razor.cs | 4 + .../Splitter/FluentSplitter.razor.cs | 16 ++- .../Components/Stack/FluentStack.razor.cs | 4 + .../Components/Switch/FluentSwitch.razor.cs | 4 + src/Core/Components/Tabs/FluentTab.razor.cs | 2 +- src/Core/Components/Tabs/FluentTabs.razor.cs | 2 +- .../TextArea/FluentTextArea.razor.cs | 4 + .../TextField/FluentTextField.razor.cs | 4 + .../CommunicationToast.razor.cs | 4 + .../IToastContentComponent.cs | 4 + .../ContentComponents/ProgressToast.razor.cs | 4 + .../Components/Toast/FluentToast.razor.cs | 4 + .../Toast/FluentToastProvider.razor.cs | 7 +- .../Parameters/CommunicationToastContent.cs | 4 + .../Parameters/ConfirmationToastContent.cs | 4 + .../Toast/Parameters/IToastParameters.cs | 4 + .../Toast/Parameters/ProgressToastContent.cs | 4 + .../Toast/Parameters/ToastParameters.cs | 4 + .../Toast/Services/CountdownTimer.cs | 4 + .../Toast/Services/IToastService.cs | 4 + .../Toast/Services/InternalToastContext.cs | 4 + .../Toast/Services/ToastInstance.cs | 4 + .../Components/Toast/Services/ToastResult.cs | 4 + .../Components/Toast/Services/ToastService.cs | 10 +- .../Components/Toolbar/FluentToolbar.razor.cs | 4 + .../Components/Tooltip/FluentTooltip.razor.cs | 2 +- .../Tooltip/FluentTooltipProvider.razor.cs | 4 + .../Tooltip/Services/ITooltipService.cs | 4 + .../Tooltip/Services/TooltipGlobalOptions.cs | 4 + .../Tooltip/Services/TooltipOptions.cs | 2 +- .../Tooltip/Services/TooltipService.cs | 2 +- .../TreeView/FluentTreeItem.razor.cs | 4 + .../TreeView/FluentTreeView.razor.cs | 4 + src/Core/Components/TreeView/ITreeViewItem.cs | 2 +- src/Core/Components/TreeView/TreeViewItem.cs | 2 +- .../TreeView/TreeViewItemExpandedEventArgs.cs | 2 +- .../Components/Wizard/FluentWizard.razor.cs | 4 + .../Wizard/FluentWizardStep.razor.cs | 4 + .../Components/Wizard/FluentWizardStepArgs.cs | 4 + .../Wizard/FluentWizardStepChangeEventArgs.cs | 4 + src/Core/DesignTokens/DesignToken.razor.cs | 2 +- src/Core/DesignTokens/DesignTokenHelpers.cs | 2 +- src/Core/DesignTokens/IDesignToken.cs | 6 +- src/Core/DesignTokens/Reference.cs | 4 + src/Core/DesignTokens/Swatch.cs | 2 +- src/Core/DesignTokens/SwatchExtensions.cs | 2 +- src/Core/DesignTokens/Z-Index.cs | 2 +- src/Core/Enums/AccordionExpandMode.cs | 4 + src/Core/Enums/Align.cs | 6 +- src/Core/Enums/Appearance.cs | 4 + src/Core/Enums/AutoUpdateMode.cs | 4 + src/Core/Enums/AxisPositioningMode.cs | 4 + src/Core/Enums/AxisScalingMode.cs | 4 + src/Core/Enums/BlazorHostingModel.cs | 4 + src/Core/Enums/ButtonType.cs | 4 + src/Core/Enums/CalendarFormats.cs | 4 + src/Core/Enums/CalendarSelectMode.cs | 2 +- src/Core/Enums/Color.cs | 4 + src/Core/Enums/ComboboxAutocomplete.cs | 4 + src/Core/Enums/DataGridCellType.cs | 4 + src/Core/Enums/DataGridDisplayMode.cs | 2 +- src/Core/Enums/DataGridResizeType.cs | 4 + src/Core/Enums/DataGridRowSize.cs | 4 + src/Core/Enums/DataGridRowType.cs | 4 + src/Core/Enums/DataGridSelectMode.cs | 2 +- src/Core/Enums/DesignThemeModes.cs | 4 + src/Core/Enums/DialogType.cs | 4 + src/Core/Enums/DividerRole.cs | 4 + src/Core/Enums/ElevationShadow.cs | 4 + src/Core/Enums/EmojiGroup.cs | 4 + src/Core/Enums/EmojiSize.cs | 4 + src/Core/Enums/EmojiSkinTone.cs | 4 + src/Core/Enums/EmojiStyle.cs | 4 + src/Core/Enums/FlipperDirection.cs | 4 + src/Core/Enums/FluentInputAppearance.cs | 4 + src/Core/Enums/FontWeight.cs | 4 + src/Core/Enums/GenerateHeaderOption.cs | 4 + src/Core/Enums/GridItemHidden.cs | 4 + src/Core/Enums/GridItemSize.cs | 4 + src/Core/Enums/HorizontalAlignement.cs | 4 + src/Core/Enums/HorizontalPosition.cs | 4 + src/Core/Enums/HorizontalScrollView.cs | 4 + src/Core/Enums/IconSize.cs | 4 + src/Core/Enums/IconVariant.cs | 4 + src/Core/Enums/InputFileMode.cs | 4 + src/Core/Enums/InputMode.cs | 4 + src/Core/Enums/JustifyContent.cs | 4 + src/Core/Enums/KeyCode.cs | 4 + src/Core/Enums/KeyLocation.cs | 4 + src/Core/Enums/LocalizationDirection.cs | 4 + src/Core/Enums/MenuItemRole.cs | 4 + src/Core/Enums/MessageBoxIntent.cs | 4 + src/Core/Enums/MessageIntent.cs | 4 + src/Core/Enums/MessageType.cs | 4 + src/Core/Enums/MouseButton.cs | 4 + src/Core/Enums/OfficeColor.cs | 4 + src/Core/Enums/Orientation.cs | 2 +- src/Core/Enums/OverflowItemFixed.cs | 2 +- src/Core/Enums/PresenceBadgeSize.cs | 4 + src/Core/Enums/PresenceStatus.cs | 4 + src/Core/Enums/ProgressStroke.cs | 4 + src/Core/Enums/PullDirection.cs | 2 +- src/Core/Enums/PullStatus.cs | 2 +- src/Core/Enums/ScrollEasing.cs | 3 + src/Core/Enums/SelectPosition.cs | 4 + src/Core/Enums/SkeletonShape.cs | 4 + src/Core/Enums/SliderMode.cs | 4 + src/Core/Enums/SortDirection.cs | 4 + src/Core/Enums/StandardLuminance.cs | 4 + src/Core/Enums/StepperPosition.cs | 4 + src/Core/Enums/TabSize.cs | 4 + src/Core/Enums/TextAreaResize.cs | 4 + src/Core/Enums/TextFieldType.cs | 4 + src/Core/Enums/TextPosition.cs | 4 + src/Core/Enums/ToastIntent.cs | 16 ++- src/Core/Enums/ToastPosition.cs | 4 + src/Core/Enums/ToastTopCTAType.cs | 6 +- src/Core/Enums/TooltipPosition.cs | 4 + src/Core/Enums/Typography.cs | 4 + src/Core/Enums/VerticalAlignment.cs | 4 + src/Core/Enums/VerticalPosition.cs | 4 + src/Core/Enums/WizardBorder.cs | 4 + src/Core/Enums/WizardStepSequence.cs | 2 +- src/Core/Enums/WizardStepStatus.cs | 4 + src/Core/Events/AccordionChangeEventArgs.cs | 3 + src/Core/Events/CheckboxChangeEventArgs.cs | 3 + src/Core/Events/DataGridCellFocusEventArgs.cs | 3 + src/Core/Events/DataGridRowFocusEventArgs.cs | 3 + src/Core/Events/DialogEventArgs.cs | 3 + src/Core/Events/EventHandlers.cs | 3 + src/Core/Events/HorizontalScrollEventArgs.cs | 3 + src/Core/Events/MenuChangeEventArgs.cs | 3 + src/Core/Events/NavMenuActionArgs.cs | 3 + src/Core/Events/SplitterCollapsedEventArgs.cs | 3 + src/Core/Events/SplitterResizedEventArgs.cs | 3 + src/Core/Events/TabChangeEventArgs.cs | 3 + src/Core/Events/TreeChangeEventArgs.cs | 3 + .../AdditionalAttributesExtensions.cs | 3 + src/Core/Extensions/BooleanExtensions.cs | 3 + src/Core/Extensions/DateTimeExtensions.cs | 3 + src/Core/Extensions/EnumExtensions.cs | 3 + src/Core/Extensions/FluentInputExtensions.cs | 3 + .../Extensions/ServiceCollectionExtensions.cs | 2 +- src/Core/Extensions/UrlFormatterExtensions.cs | 3 + src/Core/GlobalState.cs | 2 +- src/Core/Identifier.cs | 10 +- src/Core/IdentifierContext.cs | 4 + src/Core/Infrastructure/ActionButton.cs | 3 + src/Core/Infrastructure/ActionLink.cs | 3 + .../Infrastructure/ComponentParameters.cs | 3 + .../EventCallbackSubscribable.cs | 3 + .../Infrastructure/EventCallbackSubscriber.cs | 3 + .../Infrastructure/IComponentParameters.cs | 3 + .../Infrastructure/LibraryConfiguration.cs | 3 + .../StaticAssetServiceConfiguration.cs | 3 + src/Core/Utilities/CssBuilder.cs | 4 + src/Core/Utilities/Debounce.cs | 2 +- src/Core/Utilities/InlineStyleBuilder.cs | 4 + .../InternalDebounce/DebounceAction.cs | 2 +- .../InternalDebounce/DebounceTask.cs | 2 +- .../DispatcherTimerExtensions.cs | 2 +- src/Core/Utilities/JSModule.cs | 2 +- src/Core/Utilities/OfficeColorUtilities.cs | 4 + src/Core/Utilities/RangeOf.cs | 2 +- src/Core/Utilities/Splitter.cs | 4 + src/Core/Utilities/StyleBuilder.cs | 4 + ...eworkAdapterServiceCollectionExtensions.cs | 2 +- .../EntityFrameworkAsyncQueryExecutor.cs | 2 +- ...ODataAdapterServiceCollectionExtensions.cs | 2 +- .../ODataAsyncQueryExecutor.cs | 2 +- .../DesignTokenGenerator.cs | 2 +- .../Accordion/FluentAccordionItemTests.cs | 4 + tests/Core/Accordion/FluentAccordionTests.cs | 4 + tests/Core/Anchor/FluentAnchorTests.cs | 6 +- .../FluentAnchoredRegionTests.cs | 4 + tests/Core/Badge/FluentBadgeTests.cs | 4 + .../BodyContent/FluentBodyContentTests.cs | 4 + .../Breadcrumb/FluentBreadcrumbItemTests.cs | 4 + .../Core/Breadcrumb/FluentBreadcrumbTests.cs | 4 + tests/Core/Button/FluentButtonTests.cs | 4 + tests/Core/Card/FluentCardTests.cs | 4 + tests/Core/Checkbox/FluentCheckboxTests.cs | 4 + .../CounterBadge/FluentCounterBadgeTests.cs | 2 +- .../FluentDataGridColumSelectTests.razor.cs | 2 +- tests/Core/DataGrid/GridSortTests.cs | 3 + tests/Core/DateTime/CalendarExtendedTests.cs | 3 + tests/Core/DateTime/FluentCalendarTests.cs | 4 + tests/Core/DateTime/FluentDatePickerTests.cs | 2 +- tests/Core/DateTime/FluentTimePickerTests.cs | 6 +- tests/Core/DateTime/RangeOfTests.cs | 2 +- .../DateTime/ToDateTimeExtensionsTests.cs | 4 + tests/Core/DateTime/ToTimeAgoTests.cs | 4 + tests/Core/Drag/FluentDragTests.cs | 4 + .../AdditionalAttributesExtensionsShould.cs | 3 + tests/Core/Extensions/Customer.cs | 2 +- tests/Core/Extensions/SampleIcons.cs | 4 + tests/Core/FluentAssert.cs | 4 + tests/Core/FluentAssertOptions.cs | 4 + tests/Core/List/FluentComboboxTests.cs | 2 +- tests/Core/List/FluentPersonaTests.cs | 4 + .../Core/MessageBar/FluentMessageBarTests.cs | 2 +- tests/Core/NavMenu/FluentNavGroupTests.cs | 3 + tests/Core/NavMenu/FluentNavLinkTests.cs | 3 + tests/Core/NavMenu/FluentNavMenuTests.cs | 3 + .../NumberField/FluentNumberFieldTests.cs | 4 + tests/Core/Search/FluentSearchTests.cs | 2 +- tests/Core/Slider/FluentSliderLabelTests.cs | 4 + tests/Core/Splitter/FluentSplitterTests.cs | 4 + tests/Core/TestBase.cs | 4 + tests/Core/Tooltip/FluentTooltipTests.cs | 4 + .../FluentTreeViewItemsTests.razor.cs | 2 +- tests/Core/Utilities/CssBuilderTests.cs | 4 + tests/Core/Utilities/DebounceActionTests.cs | 2 +- tests/Core/Utilities/DebounceTaskTests.cs | 2 +- .../Core/Utilities/InlineStyleBuilderTests.cs | 8 +- tests/Core/Utilities/SplitterTests.cs | 4 + tests/Core/Utilities/StyleBuilderTests.cs | 4 + .../FluentDesignSystemProviderTests.cs | 3 + tests/Core/_ToDo/Emoji/FluentEmojisTests.cs | 3 + .../Core/_ToDo/Flipper/FluentFlipperTests.cs | 3 + tests/Core/_ToDo/Footer/FluentFooterTests.cs | 3 + .../Highlighter/FluentHighlighterTests.cs | 3 + .../FluentHorizontalScrollTests.cs | 3 + tests/Core/_ToDo/Main/FluentMainTests.cs | 3 + .../_ToDo/MainLayout/FluentMainLayoutTests.cs | 3 + tests/Core/_ToDo/Menu/FluentMenuItem.cs | 3 + tests/Core/_ToDo/Menu/FluentMenuTests.cs | 3 + .../_ToDo/MenuButton/FluentMenuButtonTests.cs | 2 +- .../Core/_ToDo/Overflow/FluentOverFlowItem.cs | 3 + .../_ToDo/Overflow/FluentOverflowTests.cs | 3 + .../Core/_ToDo/Overlay/FluentOverlayTests.cs | 2 +- .../_ToDo/Pagination/FluentPaginatorTests.cs | 3 + .../Core/_ToDo/Popover/FluentPopoverTests.cs | 3 + .../PresenceBadge/FluentPresenceBadgeTests.cs | 3 + .../Core/_ToDo/Radio/FluentRadioGroupTests.cs | 3 + tests/Core/_ToDo/Radio/FluentRadioTests.cs | 3 + .../_ToDo/Skeleton/FluentSkeletonTests.cs | 3 + tests/Core/_ToDo/Spacer/FluentSpacerTests.cs | 3 + tests/Core/_ToDo/Stack/FluentStackTests.cs | 3 + tests/Core/_ToDo/Switch/FluentSwitchTests.cs | 4 + tests/Core/_ToDo/Tabs/FluentTabTests.cs | 4 + tests/Core/_ToDo/Tabs/FluentTabsTests.cs | 4 + .../_ToDo/TextArea/FluentTextAreaTests.cs | 4 + .../_ToDo/TextField/FluentTextFieldTests.cs | 4 + .../_ToDo/Toast/FluentToastProviderTests.cs | 6 +- tests/Core/_ToDo/Toast/FluentToastTests.cs | 4 + .../Core/_ToDo/Toolbar/FluentToolbarTests.cs | 4 + 481 files changed, 1651 insertions(+), 313 deletions(-) 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 d6a8c91176..2854ba78ca 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))] public DialogService() diff --git a/src/Core/Components/Dialog/Services/IDialogReference.cs b/src/Core/Components/Dialog/Services/IDialogReference.cs index 342ce61fd8..0f0df08903 100644 --- a/src/Core/Components/Dialog/Services/IDialogReference.cs +++ b/src/Core/Components/Dialog/Services/IDialogReference.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public interface IDialogReference diff --git a/src/Core/Components/Dialog/Services/IDialogService-Dialog.cs b/src/Core/Components/Dialog/Services/IDialogService-Dialog.cs index 852adb7cb1..f9a5a85de7 100644 --- a/src/Core/Components/Dialog/Services/IDialogService-Dialog.cs +++ b/src/Core/Components/Dialog/Services/IDialogService-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/IDialogService-MessageBox.cs b/src/Core/Components/Dialog/Services/IDialogService-MessageBox.cs index 9d7f3aa44d..53302c3e26 100644 --- a/src/Core/Components/Dialog/Services/IDialogService-MessageBox.cs +++ b/src/Core/Components/Dialog/Services/IDialogService-MessageBox.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public partial interface IDialogService diff --git a/src/Core/Components/Dialog/Services/IDialogService-SplashScreen.cs b/src/Core/Components/Dialog/Services/IDialogService-SplashScreen.cs index c9d2200f53..a52bf13fa3 100644 --- a/src/Core/Components/Dialog/Services/IDialogService-SplashScreen.cs +++ b/src/Core/Components/Dialog/Services/IDialogService-SplashScreen.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public partial interface IDialogService diff --git a/src/Core/Components/Dialog/Services/IDialogService.cs b/src/Core/Components/Dialog/Services/IDialogService.cs index c7f424fe85..a4201db282 100644 --- a/src/Core/Components/Dialog/Services/IDialogService.cs +++ b/src/Core/Components/Dialog/Services/IDialogService.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/InternalDialogContext.cs b/src/Core/Components/Dialog/Services/InternalDialogContext.cs index 593d227be3..54b06b32a1 100644 --- a/src/Core/Components/Dialog/Services/InternalDialogContext.cs +++ b/src/Core/Components/Dialog/Services/InternalDialogContext.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Collections.ObjectModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Components/Divider/FluentDivider.razor.cs b/src/Core/Components/Divider/FluentDivider.razor.cs index 3ca9f962d1..d890d56437 100644 --- a/src/Core/Components/Divider/FluentDivider.razor.cs +++ b/src/Core/Components/Divider/FluentDivider.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/Drag/FluentDragContainer.razor.cs b/src/Core/Components/Drag/FluentDragContainer.razor.cs index eb3db87d30..20b078ff43 100644 --- a/src/Core/Components/Drag/FluentDragContainer.razor.cs +++ b/src/Core/Components/Drag/FluentDragContainer.razor.cs @@ -1,6 +1,6 @@ -// -------------------------------------------------------------- -// Copyright (c) Microsoft Corporation. All rights reserved. -// -------------------------------------------------------------- +// ------------------------------------------------------------------------ +// 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/Drag/FluentDropZone.razor.cs b/src/Core/Components/Drag/FluentDropZone.razor.cs index 07e4a68406..0acf89cf67 100644 --- a/src/Core/Components/Drag/FluentDropZone.razor.cs +++ b/src/Core/Components/Drag/FluentDropZone.razor.cs @@ -1,6 +1,6 @@ -// -------------------------------------------------------------- -// 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.Web; diff --git a/src/Core/Components/EditForm/FluentEditForm.cs b/src/Core/Components/EditForm/FluentEditForm.cs index ef9159aeca..468cf8f7e5 100644 --- a/src/Core/Components/EditForm/FluentEditForm.cs +++ b/src/Core/Components/EditForm/FluentEditForm.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/Emojis/CustomEmoji.cs b/src/Core/Components/Emojis/CustomEmoji.cs index f48f26bff6..5820fdb770 100644 --- a/src/Core/Components/Emojis/CustomEmoji.cs +++ b/src/Core/Components/Emojis/CustomEmoji.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.IO.Compression; diff --git a/src/Core/Components/Emojis/Emoji.cs b/src/Core/Components/Emojis/Emoji.cs index fcde2612f2..72624295a8 100644 --- a/src/Core/Components/Emojis/Emoji.cs +++ b/src/Core/Components/Emojis/Emoji.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.AspNetCore.Components; namespace Microsoft.FluentUI.AspNetCore.Components; @@ -34,7 +38,7 @@ public Emoji(string name, EmojiSize size, EmojiGroup group, EmojiSkintone skinto Skintone = skintone; Group = group; Style = style; - Data = data; // Zipped SVG content + Data = data; // Zipped SVG content } private byte[] Data { get; } diff --git a/src/Core/Components/Emojis/EmojiCompress.cs b/src/Core/Components/Emojis/EmojiCompress.cs index ab81ab9338..3a39e10259 100644 --- a/src/Core/Components/Emojis/EmojiCompress.cs +++ b/src/Core/Components/Emojis/EmojiCompress.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.IO.Compression; using System.Text; diff --git a/src/Core/Components/Emojis/EmojiExtensions.cs b/src/Core/Components/Emojis/EmojiExtensions.cs index 3ad1d85e91..a39ee3b74c 100644 --- a/src/Core/Components/Emojis/EmojiExtensions.cs +++ b/src/Core/Components/Emojis/EmojiExtensions.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/Emojis/EmojiInfo.cs b/src/Core/Components/Emojis/EmojiInfo.cs index 51f085de81..15fbb83b30 100644 --- a/src/Core/Components/Emojis/EmojiInfo.cs +++ b/src/Core/Components/Emojis/EmojiInfo.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/Emojis/FluentEmoji.razor.cs b/src/Core/Components/Emojis/FluentEmoji.razor.cs index a0b1b1428d..58807fbe36 100644 --- a/src/Core/Components/Emojis/FluentEmoji.razor.cs +++ b/src/Core/Components/Emojis/FluentEmoji.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/Flipper/FluentFlipper.razor.cs b/src/Core/Components/Flipper/FluentFlipper.razor.cs index 86ca339701..d4ff210c6a 100644 --- a/src/Core/Components/Flipper/FluentFlipper.razor.cs +++ b/src/Core/Components/Flipper/FluentFlipper.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/Footer/FluentFooter.razor.cs b/src/Core/Components/Footer/FluentFooter.razor.cs index 99714e6b90..9d29385ad9 100644 --- a/src/Core/Components/Footer/FluentFooter.razor.cs +++ b/src/Core/Components/Footer/FluentFooter.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/Forms/FluentValidationMessage.razor.cs b/src/Core/Components/Forms/FluentValidationMessage.razor.cs index 7b48545c41..5b8904a9b7 100644 --- a/src/Core/Components/Forms/FluentValidationMessage.razor.cs +++ b/src/Core/Components/Forms/FluentValidationMessage.razor.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Linq.Expressions; using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; diff --git a/src/Core/Components/Forms/FluentValidationSummary.razor.cs b/src/Core/Components/Forms/FluentValidationSummary.razor.cs index 6f0cad995b..fa3ccdb966 100644 --- a/src/Core/Components/Forms/FluentValidationSummary.razor.cs +++ b/src/Core/Components/Forms/FluentValidationSummary.razor.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.AspNetCore.Components; using Microsoft.AspNetCore.Components.Forms; diff --git a/src/Core/Components/Grid/FluentGrid.razor.cs b/src/Core/Components/Grid/FluentGrid.razor.cs index cfc18e0156..f5b3fa1344 100644 --- a/src/Core/Components/Grid/FluentGrid.razor.cs +++ b/src/Core/Components/Grid/FluentGrid.razor.cs @@ -1,6 +1,7 @@ -// -------------------------------------------------------------- -// Copyright (c) Microsoft Corporation. All rights reserved. -// -------------------------------------------------------------- +// ------------------------------------------------------------------------ +// 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; diff --git a/src/Core/Components/Grid/FluentGridItem.razor.cs b/src/Core/Components/Grid/FluentGridItem.razor.cs index f94535081c..13a113d96d 100644 --- a/src/Core/Components/Grid/FluentGridItem.razor.cs +++ b/src/Core/Components/Grid/FluentGridItem.razor.cs @@ -1,6 +1,6 @@ -// -------------------------------------------------------------- -// Copyright (c) Microsoft Corporation. All rights reserved. -// -------------------------------------------------------------- +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Microsoft.AspNetCore.Components; using Microsoft.FluentUI.AspNetCore.Components.Extensions; @@ -37,7 +37,7 @@ public partial class FluentGridItem : FluentComponentBase /// /// The number of columns the item should span in the 12-column grid system. /// Large (lg) devices (desktops, less than 1920px wide) - /// + /// [Parameter] public int? lg { get; set; } diff --git a/src/Core/Components/Header/FluentHeader.razor.cs b/src/Core/Components/Header/FluentHeader.razor.cs index 0f5249a963..c683f12236 100644 --- a/src/Core/Components/Header/FluentHeader.razor.cs +++ b/src/Core/Components/Header/FluentHeader.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/Highlighter/FluentHighlighter.razor.cs b/src/Core/Components/Highlighter/FluentHighlighter.razor.cs index 3537cd57a8..91b49fa55c 100644 --- a/src/Core/Components/Highlighter/FluentHighlighter.razor.cs +++ b/src/Core/Components/Highlighter/FluentHighlighter.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/HorizontalScroll/FluentHorizontalScroll.razor.cs b/src/Core/Components/HorizontalScroll/FluentHorizontalScroll.razor.cs index 277d092313..91773ec2bb 100644 --- a/src/Core/Components/HorizontalScroll/FluentHorizontalScroll.razor.cs +++ b/src/Core/Components/HorizontalScroll/FluentHorizontalScroll.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/Icons/CoreIcons.cs b/src/Core/Components/Icons/CoreIcons.cs index 27d998444c..33fb56ccdc 100644 --- a/src/Core/Components/Icons/CoreIcons.cs +++ b/src/Core/Components/Icons/CoreIcons.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/Icons/CustomIcon.cs b/src/Core/Components/Icons/CustomIcon.cs index bda3fe39df..00189b76c1 100644 --- a/src/Core/Components/Icons/CustomIcon.cs +++ b/src/Core/Components/Icons/CustomIcon.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/Icons/FluentIcon.razor.cs b/src/Core/Components/Icons/FluentIcon.razor.cs index d293c544df..968131f517 100644 --- a/src/Core/Components/Icons/FluentIcon.razor.cs +++ b/src/Core/Components/Icons/FluentIcon.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.Extensions; @@ -38,7 +42,7 @@ public partial class FluentIcon : FluentComponentBase public string? Title { get; set; } = null; /// - /// 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. /// [Parameter] diff --git a/src/Core/Components/Icons/Icon.cs b/src/Core/Components/Icons/Icon.cs index 0af7b037e7..5ec698a155 100644 --- a/src/Core/Components/Icons/Icon.cs +++ b/src/Core/Components/Icons/Icon.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; diff --git a/src/Core/Components/Icons/IconFromImage.cs b/src/Core/Components/Icons/IconFromImage.cs index 6b10e3eff5..6c022272fd 100644 --- a/src/Core/Components/Icons/IconFromImage.cs +++ b/src/Core/Components/Icons/IconFromImage.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/Icons/IconInfo.cs b/src/Core/Components/Icons/IconInfo.cs index 12a615e58b..c60933f953 100644 --- a/src/Core/Components/Icons/IconInfo.cs +++ b/src/Core/Components/Icons/IconInfo.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/Icons/IconsExtensions.cs b/src/Core/Components/Icons/IconsExtensions.cs index 6f75f00e2e..090569506d 100644 --- a/src/Core/Components/Icons/IconsExtensions.cs +++ b/src/Core/Components/Icons/IconsExtensions.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/InputFile/FluentInputFile.razor.cs b/src/Core/Components/InputFile/FluentInputFile.razor.cs index d10de1d4c2..260d2025e0 100644 --- a/src/Core/Components/InputFile/FluentInputFile.razor.cs +++ b/src/Core/Components/InputFile/FluentInputFile.razor.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.Extensions; diff --git a/src/Core/Components/InputFile/FluentInputFileBuffer.cs b/src/Core/Components/InputFile/FluentInputFileBuffer.cs index 9f4a049c3f..161d08876d 100644 --- a/src/Core/Components/InputFile/FluentInputFileBuffer.cs +++ b/src/Core/Components/InputFile/FluentInputFileBuffer.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/InputFile/FluentInputFileEventArgs.cs b/src/Core/Components/InputFile/FluentInputFileEventArgs.cs index 6188f32c57..abd1bcce07 100644 --- a/src/Core/Components/InputFile/FluentInputFileEventArgs.cs +++ b/src/Core/Components/InputFile/FluentInputFileEventArgs.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/InputFile/ProgressFileDetails.cs b/src/Core/Components/InputFile/ProgressFileDetails.cs index bdd5dce6ca..cedc231912 100644 --- a/src/Core/Components/InputFile/ProgressFileDetails.cs +++ b/src/Core/Components/InputFile/ProgressFileDetails.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public record struct ProgressFileDetails(int Index, string Name, int Percentage); diff --git a/src/Core/Components/InputFile/UploadedFileDetails.cs b/src/Core/Components/InputFile/UploadedFileDetails.cs index 98df6459f5..9baf45d903 100644 --- a/src/Core/Components/InputFile/UploadedFileDetails.cs +++ b/src/Core/Components/InputFile/UploadedFileDetails.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public record struct UploadedFileDetails(string Name, long Size, string ContentType); diff --git a/src/Core/Components/KeyCode/FluentKeyCode.razor.cs b/src/Core/Components/KeyCode/FluentKeyCode.razor.cs index 4db296506a..83e9d1273e 100644 --- a/src/Core/Components/KeyCode/FluentKeyCode.razor.cs +++ b/src/Core/Components/KeyCode/FluentKeyCode.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/KeyCode/FluentKeyCodeEventArgs.cs b/src/Core/Components/KeyCode/FluentKeyCodeEventArgs.cs index 2f98a34b9b..41dc70d7da 100644 --- a/src/Core/Components/KeyCode/FluentKeyCodeEventArgs.cs +++ b/src/Core/Components/KeyCode/FluentKeyCodeEventArgs.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public class FluentKeyCodeEventArgs diff --git a/src/Core/Components/KeyCode/FluentKeyCodeProvider.razor.cs b/src/Core/Components/KeyCode/FluentKeyCodeProvider.razor.cs index a494887530..a1374dfb4d 100644 --- a/src/Core/Components/KeyCode/FluentKeyCodeProvider.razor.cs +++ b/src/Core/Components/KeyCode/FluentKeyCodeProvider.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/KeyCode/Services/IKeyCodeListener.cs b/src/Core/Components/KeyCode/Services/IKeyCodeListener.cs index b2db8d30da..acc73facb7 100644 --- a/src/Core/Components/KeyCode/Services/IKeyCodeListener.cs +++ b/src/Core/Components/KeyCode/Services/IKeyCodeListener.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/KeyCode/Services/IKeyCodeService.cs b/src/Core/Components/KeyCode/Services/IKeyCodeService.cs index 2489702f35..5a81f39744 100644 --- a/src/Core/Components/KeyCode/Services/IKeyCodeService.cs +++ b/src/Core/Components/KeyCode/Services/IKeyCodeService.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/KeyCode/Services/KeyCodeService.cs b/src/Core/Components/KeyCode/Services/KeyCodeService.cs index bd748347f1..3d6996f0c5 100644 --- a/src/Core/Components/KeyCode/Services/KeyCodeService.cs +++ b/src/Core/Components/KeyCode/Services/KeyCodeService.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/Label/FluentInputLabel.razor.cs b/src/Core/Components/Label/FluentInputLabel.razor.cs index 403eebd146..8faa72477b 100644 --- a/src/Core/Components/Label/FluentInputLabel.razor.cs +++ b/src/Core/Components/Label/FluentInputLabel.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/Layout/FluentLayout.razor.cs b/src/Core/Components/Layout/FluentLayout.razor.cs index 0a257fb802..ac0c73d468 100644 --- a/src/Core/Components/Layout/FluentLayout.razor.cs +++ b/src/Core/Components/Layout/FluentLayout.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; using Microsoft.FluentUI.AspNetCore.Components.Extensions; diff --git a/src/Core/Components/List/FluentAutocomplete.razor.cs b/src/Core/Components/List/FluentAutocomplete.razor.cs index e8ed33feb8..73c4c5dbd5 100644 --- a/src/Core/Components/List/FluentAutocomplete.razor.cs +++ b/src/Core/Components/List/FluentAutocomplete.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.Virtualization; using Microsoft.FluentUI.AspNetCore.Components.Extensions; diff --git a/src/Core/Components/List/FluentCombobox.razor.cs b/src/Core/Components/List/FluentCombobox.razor.cs index 332311a206..45b2b61cd6 100644 --- a/src/Core/Components/List/FluentCombobox.razor.cs +++ b/src/Core/Components/List/FluentCombobox.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/List/FluentListbox.razor.cs b/src/Core/Components/List/FluentListbox.razor.cs index c0f53b708c..fc59456818 100644 --- a/src/Core/Components/List/FluentListbox.razor.cs +++ b/src/Core/Components/List/FluentListbox.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/List/FluentOption.razor.cs b/src/Core/Components/List/FluentOption.razor.cs index 94d15b9c01..e4fa0b1815 100644 --- a/src/Core/Components/List/FluentOption.razor.cs +++ b/src/Core/Components/List/FluentOption.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/List/FluentPersona.razor.cs b/src/Core/Components/List/FluentPersona.razor.cs index dc14c917ce..631e17eed4 100644 --- a/src/Core/Components/List/FluentPersona.razor.cs +++ b/src/Core/Components/List/FluentPersona.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; @@ -95,7 +99,7 @@ public partial class FluentPersona : FluentComponentBase /// private string GetDefaultInitials() => GetDefaultInitials(Name); - + /// internal static string GetDefaultInitials(string? name) { diff --git a/src/Core/Components/List/FluentSelect.razor.cs b/src/Core/Components/List/FluentSelect.razor.cs index ad67199df5..b2936d8b5c 100644 --- a/src/Core/Components/List/FluentSelect.razor.cs +++ b/src/Core/Components/List/FluentSelect.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/List/IOptionIcon.cs b/src/Core/Components/List/IOptionIcon.cs index 65a5c62c8d..7d382e0aa2 100644 --- a/src/Core/Components/List/IOptionIcon.cs +++ b/src/Core/Components/List/IOptionIcon.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; internal interface IOptionIcon diff --git a/src/Core/Components/List/InternalListContext.cs b/src/Core/Components/List/InternalListContext.cs index 62f4b8e41c..d872939ab3 100644 --- a/src/Core/Components/List/InternalListContext.cs +++ b/src/Core/Components/List/InternalListContext.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/List/ListComponentBase.razor.cs b/src/Core/Components/List/ListComponentBase.razor.cs index 46ef70d092..a17d312392 100644 --- a/src/Core/Components/List/ListComponentBase.razor.cs +++ b/src/Core/Components/List/ListComponentBase.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/List/Option.cs b/src/Core/Components/List/Option.cs index f93e08c458..d392aca372 100644 --- a/src/Core/Components/List/Option.cs +++ b/src/Core/Components/List/Option.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public class Option : IOptionIcon diff --git a/src/Core/Components/List/OptionsSearchEventArgs.cs b/src/Core/Components/List/OptionsSearchEventArgs.cs index 1a1cad5735..1b969b32e5 100644 --- a/src/Core/Components/List/OptionsSearchEventArgs.cs +++ b/src/Core/Components/List/OptionsSearchEventArgs.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/Main/FluentMain.razor.cs b/src/Core/Components/Main/FluentMain.razor.cs index 30cda93ab9..d99af9eb6d 100644 --- a/src/Core/Components/Main/FluentMain.razor.cs +++ b/src/Core/Components/Main/FluentMain.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/MainLayout/FluentMainLayout.razor.cs b/src/Core/Components/MainLayout/FluentMainLayout.razor.cs index 179642fba4..b05110ae83 100644 --- a/src/Core/Components/MainLayout/FluentMainLayout.razor.cs +++ b/src/Core/Components/MainLayout/FluentMainLayout.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/Menu/FluentMenu.razor.cs b/src/Core/Components/Menu/FluentMenu.razor.cs index bc667dec02..732df34805 100644 --- a/src/Core/Components/Menu/FluentMenu.razor.cs +++ b/src/Core/Components/Menu/FluentMenu.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/Menu/FluentMenuItem.razor.cs b/src/Core/Components/Menu/FluentMenuItem.razor.cs index f3b5a27c94..07693ff541 100644 --- a/src/Core/Components/Menu/FluentMenuItem.razor.cs +++ b/src/Core/Components/Menu/FluentMenuItem.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.Extensions; @@ -101,7 +105,7 @@ protected async Task OnChangeHandlerAsync(ChangeEventArgs ev) { // fluent-menu-item v2 does not pass the checked state as a parameter when emitting // the change event so we need to capture the state from the html element using javascript. - // The value is passed in v3 so javscript lookup won't be necessary. + // The value is passed in v3 so javscript lookup won't be necessary. if (Owner != null && Role is MenuItemRole.MenuItemCheckbox or MenuItemRole.MenuItemRadio) { var isChecked = await Owner.IsCheckedAsync(this); diff --git a/src/Core/Components/Menu/FluentMenuProvider.razor.cs b/src/Core/Components/Menu/FluentMenuProvider.razor.cs index f0ff8cc4d2..3a171b12f2 100644 --- a/src/Core/Components/Menu/FluentMenuProvider.razor.cs +++ b/src/Core/Components/Menu/FluentMenuProvider.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/Menu/Services/IMenuService.cs b/src/Core/Components/Menu/Services/IMenuService.cs index 93c0198405..65fc64c9d9 100644 --- a/src/Core/Components/Menu/Services/IMenuService.cs +++ b/src/Core/Components/Menu/Services/IMenuService.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/Menu/Services/MenuService.cs b/src/Core/Components/Menu/Services/MenuService.cs index 2de36c747c..2f3c2a4c15 100644 --- a/src/Core/Components/Menu/Services/MenuService.cs +++ b/src/Core/Components/Menu/Services/MenuService.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/MenuButton/FluentMenuButton.razor.cs b/src/Core/Components/MenuButton/FluentMenuButton.razor.cs index eda23ff040..117fa00eac 100644 --- a/src/Core/Components/MenuButton/FluentMenuButton.razor.cs +++ b/src/Core/Components/MenuButton/FluentMenuButton.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/MessageBar/FluentMessageBar.razor.cs b/src/Core/Components/MessageBar/FluentMessageBar.razor.cs index 4c93cf1245..ddcf35a728 100644 --- a/src/Core/Components/MessageBar/FluentMessageBar.razor.cs +++ b/src/Core/Components/MessageBar/FluentMessageBar.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/MessageBar/FluentMessageBarProvider.razor.cs b/src/Core/Components/MessageBar/FluentMessageBarProvider.razor.cs index ddd6b1f1f4..83c3f5a336 100644 --- a/src/Core/Components/MessageBar/FluentMessageBarProvider.razor.cs +++ b/src/Core/Components/MessageBar/FluentMessageBarProvider.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.Utilities; @@ -92,7 +96,7 @@ protected override void OnInitialized() { NavigationManager.LocationChanged += ClearMessages; } - + } /// diff --git a/src/Core/Components/MessageBar/Message.cs b/src/Core/Components/MessageBar/Message.cs index b19c25fc9f..f720c13f24 100644 --- a/src/Core/Components/MessageBar/Message.cs +++ b/src/Core/Components/MessageBar/Message.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/MessageBar/Services/IMessageService.cs b/src/Core/Components/MessageBar/Services/IMessageService.cs index 7c208422be..c1e3169af4 100644 --- a/src/Core/Components/MessageBar/Services/IMessageService.cs +++ b/src/Core/Components/MessageBar/Services/IMessageService.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/MessageBar/Services/MessageOptions.cs b/src/Core/Components/MessageBar/Services/MessageOptions.cs index d604524505..a81bfd169c 100644 --- a/src/Core/Components/MessageBar/Services/MessageOptions.cs +++ b/src/Core/Components/MessageBar/Services/MessageOptions.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; /// @@ -31,7 +35,7 @@ public class MessageOptions public string? Body { get; set; } /// - /// 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. /// public ActionLink? Link { get; set; } @@ -51,7 +55,7 @@ public class MessageOptions public ActionButton? SecondaryAction { get; set; } = new(); /// - /// Gets or sets the intent of the message bar. + /// Gets or sets the intent of the message bar. /// Default is MessageIntent.Info. /// public MessageIntent? Intent { get; set; } diff --git a/src/Core/Components/MessageBar/Services/MessageService.cs b/src/Core/Components/MessageBar/Services/MessageService.cs index 272abe1ca0..9537c51216 100644 --- a/src/Core/Components/MessageBar/Services/MessageService.cs +++ b/src/Core/Components/MessageBar/Services/MessageService.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// 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/NavMenu/FluentNavBase.cs b/src/Core/Components/NavMenu/FluentNavBase.cs index e37e73809d..672de467e7 100644 --- a/src/Core/Components/NavMenu/FluentNavBase.cs +++ b/src/Core/Components/NavMenu/FluentNavBase.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.AspNetCore.Components.Web; diff --git a/src/Core/Components/NavMenu/FluentNavGroup.razor.cs b/src/Core/Components/NavMenu/FluentNavGroup.razor.cs index d643cbf6e2..062c270a0f 100644 --- a/src/Core/Components/NavMenu/FluentNavGroup.razor.cs +++ b/src/Core/Components/NavMenu/FluentNavGroup.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/NavMenu/FluentNavLink.razor.cs b/src/Core/Components/NavMenu/FluentNavLink.razor.cs index be64855a2e..e7d15361df 100644 --- a/src/Core/Components/NavMenu/FluentNavLink.razor.cs +++ b/src/Core/Components/NavMenu/FluentNavLink.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/NavMenu/FluentNavMenu.razor.cs b/src/Core/Components/NavMenu/FluentNavMenu.razor.cs index b5d4aa872d..ae0d086e46 100644 --- a/src/Core/Components/NavMenu/FluentNavMenu.razor.cs +++ b/src/Core/Components/NavMenu/FluentNavMenu.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/NavMenuTree/FluentNavMenuGroup.razor.cs b/src/Core/Components/NavMenuTree/FluentNavMenuGroup.razor.cs index 4f39f1d426..bdfb23cea7 100644 --- a/src/Core/Components/NavMenuTree/FluentNavMenuGroup.razor.cs +++ b/src/Core/Components/NavMenuTree/FluentNavMenuGroup.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/NavMenuTree/FluentNavMenuItemBase.cs b/src/Core/Components/NavMenuTree/FluentNavMenuItemBase.cs index 4fd440d660..df849270db 100644 --- a/src/Core/Components/NavMenuTree/FluentNavMenuItemBase.cs +++ b/src/Core/Components/NavMenuTree/FluentNavMenuItemBase.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 abstract class FluentNavMenuItemBase : FluentComponentBase, IDisposable /// /// Gets or sets the icon to display with the link - /// Use a constant value from the class + /// Use a constant value from the class /// [Parameter] public Icon? Icon { get; set; } @@ -171,9 +175,9 @@ private bool NeedsNavigation() return false; } - // If the local path starts with this Href (with an added "/"), don't navigate - // Example local path: https://.../Panel/Panel2 starts with Href: https://.../Panel + "/" - // Extra "/" is needed to avoid a match on http://.../Panel for https://.../Panels + // If the local path starts with this Href (with an added "/"), don't navigate + // Example local path: https://.../Panel/Panel2 starts with Href: https://.../Panel + "/" + // Extra "/" is needed to avoid a match on http://.../Panel for https://.../Panels if (new Uri(NavigationManager.Uri).LocalPath.StartsWith(Href + "/", StringComparison.InvariantCultureIgnoreCase)) { return false; diff --git a/src/Core/Components/NavMenuTree/FluentNavMenuLink.razor.cs b/src/Core/Components/NavMenuTree/FluentNavMenuLink.razor.cs index 01e0d2e75e..785d47652c 100644 --- a/src/Core/Components/NavMenuTree/FluentNavMenuLink.razor.cs +++ b/src/Core/Components/NavMenuTree/FluentNavMenuLink.razor.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.FluentUI.AspNetCore.Components.Utilities; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Components/NavMenuTree/FluentNavMenuTree.razor.cs b/src/Core/Components/NavMenuTree/FluentNavMenuTree.razor.cs index 6fd1565e60..41aa274594 100644 --- a/src/Core/Components/NavMenuTree/FluentNavMenuTree.razor.cs +++ b/src/Core/Components/NavMenuTree/FluentNavMenuTree.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.AspNetCore.Components.Web; @@ -36,7 +40,7 @@ public partial class FluentNavMenuTree : FluentComponentBase, INavMenuItemsOwner public RenderFragment? ChildContent { get; set; } /// - /// 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. /// [Parameter] @@ -218,8 +222,8 @@ private async void HandleNavigationManagerLocationChanged(object? sender, Locati .Where(x => !string.IsNullOrEmpty(x.Href)) .FirstOrDefault(x => x.Href != "/" && localPath.Equals(x.Href!, StringComparison.InvariantCultureIgnoreCase)); - // If not found, try to match the first item that has a Href (ending in a "/") that starts with the current URL - // URL: https://.../Panel/Panel2 starts with Href: https://.../Panel + "/" + // If not found, try to match the first item that has a Href (ending in a "/") that starts with the current URL + // URL: https://.../Panel/Panel2 starts with Href: https://.../Panel + "/" // Extra "/" is needed to avoid matching https://.../Panels with https://.../Panel menuItem ??= _allItems.Values .Where(x => !string.IsNullOrEmpty(x.Href)) diff --git a/src/Core/Components/NavMenuTree/INavMenuItemsOwner.cs b/src/Core/Components/NavMenuTree/INavMenuItemsOwner.cs index 88cad04b17..650b39bd61 100644 --- a/src/Core/Components/NavMenuTree/INavMenuItemsOwner.cs +++ b/src/Core/Components/NavMenuTree/INavMenuItemsOwner.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/NumberField/FluentNumberField.razor.cs b/src/Core/Components/NumberField/FluentNumberField.razor.cs index b31f7ad861..3c2014fa49 100644 --- a/src/Core/Components/NumberField/FluentNumberField.razor.cs +++ b/src/Core/Components/NumberField/FluentNumberField.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/Overflow/FluentOverflow.razor.cs b/src/Core/Components/Overflow/FluentOverflow.razor.cs index faf93ff4f5..16746dd771 100644 --- a/src/Core/Components/Overflow/FluentOverflow.razor.cs +++ b/src/Core/Components/Overflow/FluentOverflow.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/Overflow/FluentOverflowItem.razor.cs b/src/Core/Components/Overflow/FluentOverflowItem.razor.cs index ac2a29ba09..1c2fe60bbc 100644 --- a/src/Core/Components/Overflow/FluentOverflowItem.razor.cs +++ b/src/Core/Components/Overflow/FluentOverflowItem.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/Overflow/OverflowItem.cs b/src/Core/Components/Overflow/OverflowItem.cs index ac309a7610..27c3692d08 100644 --- a/src/Core/Components/Overflow/OverflowItem.cs +++ b/src/Core/Components/Overflow/OverflowItem.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/Overlay/FluentOverlay.razor.cs b/src/Core/Components/Overlay/FluentOverlay.razor.cs index d9fb4e68f9..4d9b3b9b39 100644 --- a/src/Core/Components/Overlay/FluentOverlay.razor.cs +++ b/src/Core/Components/Overlay/FluentOverlay.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/Pagination/FluentPaginator.razor.cs b/src/Core/Components/Pagination/FluentPaginator.razor.cs index e81b831fa8..ed3f38126e 100644 --- a/src/Core/Components/Pagination/FluentPaginator.razor.cs +++ b/src/Core/Components/Pagination/FluentPaginator.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/Pagination/PaginationState.cs b/src/Core/Components/Pagination/PaginationState.cs index 0bddcc03ab..ced1a92367 100644 --- a/src/Core/Components/Pagination/PaginationState.cs +++ b/src/Core/Components/Pagination/PaginationState.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.Infrastructure; diff --git a/src/Core/Components/Popover/FluentPopover.razor.cs b/src/Core/Components/Popover/FluentPopover.razor.cs index 30c3f912de..d1b9bf678c 100644 --- a/src/Core/Components/Popover/FluentPopover.razor.cs +++ b/src/Core/Components/Popover/FluentPopover.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/PresenceBadge/FluentPresenceBadge.razor.cs b/src/Core/Components/PresenceBadge/FluentPresenceBadge.razor.cs index 1121e27b49..3afc6829a8 100644 --- a/src/Core/Components/PresenceBadge/FluentPresenceBadge.razor.cs +++ b/src/Core/Components/PresenceBadge/FluentPresenceBadge.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; @@ -5,7 +9,7 @@ namespace Microsoft.FluentUI.AspNetCore.Components; /// /// A presence badge is a badge that displays a status indicator such as available, away, or busy. -/// +/// public partial class FluentPresenceBadge : FluentComponentBase, IDisposable { [Inject] @@ -46,7 +50,7 @@ public partial class FluentPresenceBadge : FluentComponentBase, IDisposable public string? StatusTitle { get; set; } /// - /// 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. /// [Parameter] diff --git a/src/Core/Components/ProfileMenu/FluentProfileMenu.razor.cs b/src/Core/Components/ProfileMenu/FluentProfileMenu.razor.cs index f9c8f0c1ad..b2d72c26be 100644 --- a/src/Core/Components/ProfileMenu/FluentProfileMenu.razor.cs +++ b/src/Core/Components/ProfileMenu/FluentProfileMenu.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/Progress/FluentProgress.razor.cs b/src/Core/Components/Progress/FluentProgress.razor.cs index e7a751d557..9187c53e72 100644 --- a/src/Core/Components/Progress/FluentProgress.razor.cs +++ b/src/Core/Components/Progress/FluentProgress.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; using System.Globalization; diff --git a/src/Core/Components/Progress/FluentProgressRing.razor.cs b/src/Core/Components/Progress/FluentProgressRing.razor.cs index 4ae138b060..626ff941cc 100644 --- a/src/Core/Components/Progress/FluentProgressRing.razor.cs +++ b/src/Core/Components/Progress/FluentProgressRing.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; @@ -19,13 +23,13 @@ public FluentProgressRing() } /// - /// Gets or sets the minimum value + /// Gets or sets the minimum value /// [Parameter] public int? Min { get; set; } /// - /// Gets or sets the maximum value + /// Gets or sets the maximum value /// [Parameter] public int? Max { get; set; } diff --git a/src/Core/Components/PullToRefresh/FluentPullToRefresh.razor.cs b/src/Core/Components/PullToRefresh/FluentPullToRefresh.razor.cs index 3265bc6d87..0b662ecd1f 100644 --- a/src/Core/Components/PullToRefresh/FluentPullToRefresh.razor.cs +++ b/src/Core/Components/PullToRefresh/FluentPullToRefresh.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/Radio/FluentRadio.razor.cs b/src/Core/Components/Radio/FluentRadio.razor.cs index a574120024..6c30b9189f 100644 --- a/src/Core/Components/Radio/FluentRadio.razor.cs +++ b/src/Core/Components/Radio/FluentRadio.razor.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Diagnostics.CodeAnalysis; using Microsoft.AspNetCore.Components; diff --git a/src/Core/Components/Radio/FluentRadioContext.cs b/src/Core/Components/Radio/FluentRadioContext.cs index aa890ffc85..3d7d28d8ac 100644 --- a/src/Core/Components/Radio/FluentRadioContext.cs +++ b/src/Core/Components/Radio/FluentRadioContext.cs @@ -1,9 +1,13 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.AspNetCore.Components; namespace Microsoft.FluentUI.AspNetCore.Components; /// -/// Describes context for an component. +/// Describes context for an component. /// internal sealed class FluentRadioContext { diff --git a/src/Core/Components/Radio/FluentRadioGroup.razor.cs b/src/Core/Components/Radio/FluentRadioGroup.razor.cs index e7eb280777..3fdaa59322 100644 --- a/src/Core/Components/Radio/FluentRadioGroup.razor.cs +++ b/src/Core/Components/Radio/FluentRadioGroup.razor.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Diagnostics.CodeAnalysis; //using System.Globalization; using Microsoft.AspNetCore.Components; diff --git a/src/Core/Components/Rating/FluentRating.razor.cs b/src/Core/Components/Rating/FluentRating.razor.cs index 57de194ae5..538a28e28b 100644 --- a/src/Core/Components/Rating/FluentRating.razor.cs +++ b/src/Core/Components/Rating/FluentRating.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/Search/FluentSearch.razor.cs b/src/Core/Components/Search/FluentSearch.razor.cs index 07c998c8b1..321bafc23a 100644 --- a/src/Core/Components/Search/FluentSearch.razor.cs +++ b/src/Core/Components/Search/FluentSearch.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/Skeleton/FluentSkeleton.razor.cs b/src/Core/Components/Skeleton/FluentSkeleton.razor.cs index c04abcb008..c382217f3f 100644 --- a/src/Core/Components/Skeleton/FluentSkeleton.razor.cs +++ b/src/Core/Components/Skeleton/FluentSkeleton.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/Slider/FluentSlider.razor.cs b/src/Core/Components/Slider/FluentSlider.razor.cs index 5c7765f65a..3c8311201d 100644 --- a/src/Core/Components/Slider/FluentSlider.razor.cs +++ b/src/Core/Components/Slider/FluentSlider.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/Slider/FluentSliderLabel.razor.cs b/src/Core/Components/Slider/FluentSliderLabel.razor.cs index b020bfc3c0..a5b0bf0cbf 100644 --- a/src/Core/Components/Slider/FluentSliderLabel.razor.cs +++ b/src/Core/Components/Slider/FluentSliderLabel.razor.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Globalization; using Microsoft.AspNetCore.Components; using Microsoft.FluentUI.AspNetCore.Components.Extensions; diff --git a/src/Core/Components/SortableList/FluentSortableList.razor.cs b/src/Core/Components/SortableList/FluentSortableList.razor.cs index d0155524ec..031cd64f18 100644 --- a/src/Core/Components/SortableList/FluentSortableList.razor.cs +++ b/src/Core/Components/SortableList/FluentSortableList.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; @@ -119,7 +123,7 @@ public partial class FluentSortableList : FluentComponentBase /// Gets or sets the background color of the list items. /// [Parameter] - public string? ListItemBackgroundColor {get; set;} + public string? ListItemBackgroundColor { get; set; } /// /// Gets or sets the height of the list items. Must be a valid CSS measurement. diff --git a/src/Core/Components/SortableList/FluentSortableListEventArgs.cs b/src/Core/Components/SortableList/FluentSortableListEventArgs.cs index 483ed3e23f..39191a55db 100644 --- a/src/Core/Components/SortableList/FluentSortableListEventArgs.cs +++ b/src/Core/Components/SortableList/FluentSortableListEventArgs.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public class FluentSortableListEventArgs diff --git a/src/Core/Components/Spacer/FluentSpacer.razor.cs b/src/Core/Components/Spacer/FluentSpacer.razor.cs index 6bdb971beb..ddb5e71046 100644 --- a/src/Core/Components/Spacer/FluentSpacer.razor.cs +++ b/src/Core/Components/Spacer/FluentSpacer.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/Splitter/FluentSplitter.razor.cs b/src/Core/Components/Splitter/FluentSplitter.razor.cs index 1a1ee10f8e..c3e2df6564 100644 --- a/src/Core/Components/Splitter/FluentSplitter.razor.cs +++ b/src/Core/Components/Splitter/FluentSplitter.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; using System.Diagnostics.CodeAnalysis; @@ -43,17 +47,17 @@ public partial class FluentSplitter : FluentComponentBase public RenderFragment? Panel2 { get; set; } /// - /// 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'. /// [Parameter] public string? Panel1Size { get; set; } /// - /// 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 /// [Parameter] public string? Panel2Size { get; set; } @@ -68,7 +72,7 @@ public partial class FluentSplitter : FluentComponentBase /// /// Gets or sets the minimum size for the right/bottom panel. /// Needs to be a valid css size like '50%' or '250px'. - /// + /// [Parameter] public string? Panel2MinSize { get; set; } @@ -101,7 +105,7 @@ public partial class FluentSplitter : FluentComponentBase [Parameter] public EventCallback OnResized { get; set; } - + [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(SplitterResizedEventArgs))] [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(SplitterCollapsedEventArgs))] public FluentSplitter() diff --git a/src/Core/Components/Stack/FluentStack.razor.cs b/src/Core/Components/Stack/FluentStack.razor.cs index 031aaf03c1..0db686f42a 100644 --- a/src/Core/Components/Stack/FluentStack.razor.cs +++ b/src/Core/Components/Stack/FluentStack.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/Switch/FluentSwitch.razor.cs b/src/Core/Components/Switch/FluentSwitch.razor.cs index 042d77f8e3..7f9489e74e 100644 --- a/src/Core/Components/Switch/FluentSwitch.razor.cs +++ b/src/Core/Components/Switch/FluentSwitch.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/Tabs/FluentTab.razor.cs b/src/Core/Components/Tabs/FluentTab.razor.cs index 22d8134ecc..05527c8914 100644 --- a/src/Core/Components/Tabs/FluentTab.razor.cs +++ b/src/Core/Components/Tabs/FluentTab.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/Tabs/FluentTabs.razor.cs b/src/Core/Components/Tabs/FluentTabs.razor.cs index 752dfb42cf..9dd440648c 100644 --- a/src/Core/Components/Tabs/FluentTabs.razor.cs +++ b/src/Core/Components/Tabs/FluentTabs.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/TextArea/FluentTextArea.razor.cs b/src/Core/Components/TextArea/FluentTextArea.razor.cs index bf2fd33537..0dd74e306e 100644 --- a/src/Core/Components/TextArea/FluentTextArea.razor.cs +++ b/src/Core/Components/TextArea/FluentTextArea.razor.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Diagnostics.CodeAnalysis; using Microsoft.AspNetCore.Components; diff --git a/src/Core/Components/TextField/FluentTextField.razor.cs b/src/Core/Components/TextField/FluentTextField.razor.cs index ae44adf6f8..b8c256f71b 100644 --- a/src/Core/Components/TextField/FluentTextField.razor.cs +++ b/src/Core/Components/TextField/FluentTextField.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/Toast/ContentComponents/CommunicationToast.razor.cs b/src/Core/Components/Toast/ContentComponents/CommunicationToast.razor.cs index 08c7499029..6a984c383c 100644 --- a/src/Core/Components/Toast/ContentComponents/CommunicationToast.razor.cs +++ b/src/Core/Components/Toast/ContentComponents/CommunicationToast.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/Toast/ContentComponents/IToastContentComponent.cs b/src/Core/Components/Toast/ContentComponents/IToastContentComponent.cs index 9e2efa23a4..dd81399627 100644 --- a/src/Core/Components/Toast/ContentComponents/IToastContentComponent.cs +++ b/src/Core/Components/Toast/ContentComponents/IToastContentComponent.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/Toast/ContentComponents/ProgressToast.razor.cs b/src/Core/Components/Toast/ContentComponents/ProgressToast.razor.cs index 65dee0fe2f..fdc5b269e3 100644 --- a/src/Core/Components/Toast/ContentComponents/ProgressToast.razor.cs +++ b/src/Core/Components/Toast/ContentComponents/ProgressToast.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/Toast/FluentToast.razor.cs b/src/Core/Components/Toast/FluentToast.razor.cs index 7346f03b19..5bd94f983a 100644 --- a/src/Core/Components/Toast/FluentToast.razor.cs +++ b/src/Core/Components/Toast/FluentToast.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/Toast/FluentToastProvider.razor.cs b/src/Core/Components/Toast/FluentToastProvider.razor.cs index cd2264521a..5dd85c5a68 100644 --- a/src/Core/Components/Toast/FluentToastProvider.razor.cs +++ b/src/Core/Components/Toast/FluentToastProvider.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; @@ -112,7 +116,8 @@ private void UpdateToast(string? toastId, ToastParameters parameters) { toastInstance.Parameters = parameters; InvokeAsync(StateHasChanged); - }; + } + ; } diff --git a/src/Core/Components/Toast/Parameters/CommunicationToastContent.cs b/src/Core/Components/Toast/Parameters/CommunicationToastContent.cs index faa3b3e9fc..87f64b731e 100644 --- a/src/Core/Components/Toast/Parameters/CommunicationToastContent.cs +++ b/src/Core/Components/Toast/Parameters/CommunicationToastContent.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public class CommunicationToastContent diff --git a/src/Core/Components/Toast/Parameters/ConfirmationToastContent.cs b/src/Core/Components/Toast/Parameters/ConfirmationToastContent.cs index b587d2fa46..3b29b9dc19 100644 --- a/src/Core/Components/Toast/Parameters/ConfirmationToastContent.cs +++ b/src/Core/Components/Toast/Parameters/ConfirmationToastContent.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public class ConfirmationToastContent { } diff --git a/src/Core/Components/Toast/Parameters/IToastParameters.cs b/src/Core/Components/Toast/Parameters/IToastParameters.cs index 5cec0b6c5c..637df2650c 100644 --- a/src/Core/Components/Toast/Parameters/IToastParameters.cs +++ b/src/Core/Components/Toast/Parameters/IToastParameters.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/Toast/Parameters/ProgressToastContent.cs b/src/Core/Components/Toast/Parameters/ProgressToastContent.cs index 8731b29851..7fe65eb0d7 100644 --- a/src/Core/Components/Toast/Parameters/ProgressToastContent.cs +++ b/src/Core/Components/Toast/Parameters/ProgressToastContent.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/Toast/Parameters/ToastParameters.cs b/src/Core/Components/Toast/Parameters/ToastParameters.cs index ff6a062516..b3837bbc18 100644 --- a/src/Core/Components/Toast/Parameters/ToastParameters.cs +++ b/src/Core/Components/Toast/Parameters/ToastParameters.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/Toast/Services/CountdownTimer.cs b/src/Core/Components/Toast/Services/CountdownTimer.cs index a849e140d5..ccf6db8135 100644 --- a/src/Core/Components/Toast/Services/CountdownTimer.cs +++ b/src/Core/Components/Toast/Services/CountdownTimer.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; internal class CountdownTimer : IDisposable diff --git a/src/Core/Components/Toast/Services/IToastService.cs b/src/Core/Components/Toast/Services/IToastService.cs index 7a43ddd0b0..67c8acd2af 100644 --- a/src/Core/Components/Toast/Services/IToastService.cs +++ b/src/Core/Components/Toast/Services/IToastService.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/Toast/Services/InternalToastContext.cs b/src/Core/Components/Toast/Services/InternalToastContext.cs index 5e20f12831..46c144d0f6 100644 --- a/src/Core/Components/Toast/Services/InternalToastContext.cs +++ b/src/Core/Components/Toast/Services/InternalToastContext.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; internal sealed class InternalToastContext diff --git a/src/Core/Components/Toast/Services/ToastInstance.cs b/src/Core/Components/Toast/Services/ToastInstance.cs index d4f3d98f1b..75a9e055f4 100644 --- a/src/Core/Components/Toast/Services/ToastInstance.cs +++ b/src/Core/Components/Toast/Services/ToastInstance.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public sealed class ToastInstance diff --git a/src/Core/Components/Toast/Services/ToastResult.cs b/src/Core/Components/Toast/Services/ToastResult.cs index 702b59d594..908ecbd4de 100644 --- a/src/Core/Components/Toast/Services/ToastResult.cs +++ b/src/Core/Components/Toast/Services/ToastResult.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/Toast/Services/ToastService.cs b/src/Core/Components/Toast/Services/ToastService.cs index 62ba501d8e..f0f5694a41 100644 --- a/src/Core/Components/Toast/Services/ToastService.cs +++ b/src/Core/Components/Toast/Services/ToastService.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.AspNetCore.Components; namespace Microsoft.FluentUI.AspNetCore.Components; @@ -206,7 +210,7 @@ public void ShowToast(ToastParameters parameters) /// /// 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. @@ -240,7 +244,7 @@ public void ShowToast(Type? component, ToastParameters parameters, TCo } /// - /// Updates a toast + /// Updates a toast /// /// Id of the toast to update. /// Parameters to configure the toast component. @@ -329,7 +333,7 @@ public void ClearCustomIntentToasts(bool includeQueue = true) /// /// Removes all queued toasts /// - /// + /// public void ClearQueue() => OnClearQueue?.Invoke(); diff --git a/src/Core/Components/Toolbar/FluentToolbar.razor.cs b/src/Core/Components/Toolbar/FluentToolbar.razor.cs index b67b646c06..30b9e0280e 100644 --- a/src/Core/Components/Toolbar/FluentToolbar.razor.cs +++ b/src/Core/Components/Toolbar/FluentToolbar.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/Tooltip/FluentTooltip.razor.cs b/src/Core/Components/Tooltip/FluentTooltip.razor.cs index c4e79fd0d9..096ad1a09b 100644 --- a/src/Core/Components/Tooltip/FluentTooltip.razor.cs +++ b/src/Core/Components/Tooltip/FluentTooltip.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/Tooltip/FluentTooltipProvider.razor.cs b/src/Core/Components/Tooltip/FluentTooltipProvider.razor.cs index 13b3e970ec..276e991a70 100644 --- a/src/Core/Components/Tooltip/FluentTooltipProvider.razor.cs +++ b/src/Core/Components/Tooltip/FluentTooltipProvider.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.Components.Tooltip; using Microsoft.FluentUI.AspNetCore.Components.Utilities; diff --git a/src/Core/Components/Tooltip/Services/ITooltipService.cs b/src/Core/Components/Tooltip/Services/ITooltipService.cs index 8cc1ca4986..08fd411829 100644 --- a/src/Core/Components/Tooltip/Services/ITooltipService.cs +++ b/src/Core/Components/Tooltip/Services/ITooltipService.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components.Components.Tooltip; /// diff --git a/src/Core/Components/Tooltip/Services/TooltipGlobalOptions.cs b/src/Core/Components/Tooltip/Services/TooltipGlobalOptions.cs index b76d6bd6fd..6b618f83b5 100644 --- a/src/Core/Components/Tooltip/Services/TooltipGlobalOptions.cs +++ b/src/Core/Components/Tooltip/Services/TooltipGlobalOptions.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components.Components.Tooltip; /// diff --git a/src/Core/Components/Tooltip/Services/TooltipOptions.cs b/src/Core/Components/Tooltip/Services/TooltipOptions.cs index 526fbe5a2c..f19362f351 100644 --- a/src/Core/Components/Tooltip/Services/TooltipOptions.cs +++ b/src/Core/Components/Tooltip/Services/TooltipOptions.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/Tooltip/Services/TooltipService.cs b/src/Core/Components/Tooltip/Services/TooltipService.cs index c26cf20554..8d92b9bda8 100644 --- a/src/Core/Components/Tooltip/Services/TooltipService.cs +++ b/src/Core/Components/Tooltip/Services/TooltipService.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.Components.Tooltip; diff --git a/src/Core/Components/TreeView/FluentTreeItem.razor.cs b/src/Core/Components/TreeView/FluentTreeItem.razor.cs index 0cbcf66192..148050455d 100644 --- a/src/Core/Components/TreeView/FluentTreeItem.razor.cs +++ b/src/Core/Components/TreeView/FluentTreeItem.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/TreeView/FluentTreeView.razor.cs b/src/Core/Components/TreeView/FluentTreeView.razor.cs index 4e71afd721..3211340575 100644 --- a/src/Core/Components/TreeView/FluentTreeView.razor.cs +++ b/src/Core/Components/TreeView/FluentTreeView.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/TreeView/ITreeViewItem.cs b/src/Core/Components/TreeView/ITreeViewItem.cs index 8b885c7484..b5a0d69e8a 100644 --- a/src/Core/Components/TreeView/ITreeViewItem.cs +++ b/src/Core/Components/TreeView/ITreeViewItem.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/TreeView/TreeViewItem.cs b/src/Core/Components/TreeView/TreeViewItem.cs index aea8e1be23..2d82e266b7 100644 --- a/src/Core/Components/TreeView/TreeViewItem.cs +++ b/src/Core/Components/TreeView/TreeViewItem.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/TreeView/TreeViewItemExpandedEventArgs.cs b/src/Core/Components/TreeView/TreeViewItemExpandedEventArgs.cs index 95ffa88ad2..031c960a68 100644 --- a/src/Core/Components/TreeView/TreeViewItemExpandedEventArgs.cs +++ b/src/Core/Components/TreeView/TreeViewItemExpandedEventArgs.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/Wizard/FluentWizard.razor.cs b/src/Core/Components/Wizard/FluentWizard.razor.cs index 79c58c8126..99e4fed551 100644 --- a/src/Core/Components/Wizard/FluentWizard.razor.cs +++ b/src/Core/Components/Wizard/FluentWizard.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/Wizard/FluentWizardStep.razor.cs b/src/Core/Components/Wizard/FluentWizardStep.razor.cs index a6aea01124..a2361fb015 100644 --- a/src/Core/Components/Wizard/FluentWizardStep.razor.cs +++ b/src/Core/Components/Wizard/FluentWizardStep.razor.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; diff --git a/src/Core/Components/Wizard/FluentWizardStepArgs.cs b/src/Core/Components/Wizard/FluentWizardStepArgs.cs index 1bda71bdc3..b60534e78c 100644 --- a/src/Core/Components/Wizard/FluentWizardStepArgs.cs +++ b/src/Core/Components/Wizard/FluentWizardStepArgs.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public class FluentWizardStepArgs diff --git a/src/Core/Components/Wizard/FluentWizardStepChangeEventArgs.cs b/src/Core/Components/Wizard/FluentWizardStepChangeEventArgs.cs index 7a3b28df9f..b012ac3de6 100644 --- a/src/Core/Components/Wizard/FluentWizardStepChangeEventArgs.cs +++ b/src/Core/Components/Wizard/FluentWizardStepChangeEventArgs.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public class FluentWizardStepChangeEventArgs diff --git a/src/Core/DesignTokens/DesignToken.razor.cs b/src/Core/DesignTokens/DesignToken.razor.cs index 15cdd41d57..03c0cb09c0 100644 --- a/src/Core/DesignTokens/DesignToken.razor.cs +++ b/src/Core/DesignTokens/DesignToken.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/DesignTokens/DesignTokenHelpers.cs b/src/Core/DesignTokens/DesignTokenHelpers.cs index d3295373dc..2fd69b5321 100644 --- a/src/Core/DesignTokens/DesignTokenHelpers.cs +++ b/src/Core/DesignTokens/DesignTokenHelpers.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.Drawing; diff --git a/src/Core/DesignTokens/IDesignToken.cs b/src/Core/DesignTokens/IDesignToken.cs index 2a0dacca2f..fb61830c78 100644 --- a/src/Core/DesignTokens/IDesignToken.cs +++ b/src/Core/DesignTokens/IDesignToken.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.AspNetCore.Components; namespace Microsoft.FluentUI.AspNetCore.Components.DesignTokens; @@ -6,7 +10,7 @@ namespace Microsoft.FluentUI.AspNetCore.Components.DesignTokens; public interface IDesignToken { string? Name { get; init; } - + ValueTask DeleteValueFor(ElementReference element); ValueTask GetValueFor(ElementReference element); diff --git a/src/Core/DesignTokens/Reference.cs b/src/Core/DesignTokens/Reference.cs index 1ab5085915..2747c0d5a9 100644 --- a/src/Core/DesignTokens/Reference.cs +++ b/src/Core/DesignTokens/Reference.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.AspNetCore.Components; namespace Microsoft.FluentUI.AspNetCore.Components.DesignTokens; diff --git a/src/Core/DesignTokens/Swatch.cs b/src/Core/DesignTokens/Swatch.cs index b726fb5a32..552c2c0e76 100644 --- a/src/Core/DesignTokens/Swatch.cs +++ b/src/Core/DesignTokens/Swatch.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.Drawing; diff --git a/src/Core/DesignTokens/SwatchExtensions.cs b/src/Core/DesignTokens/SwatchExtensions.cs index c366380e58..92625c28bf 100644 --- a/src/Core/DesignTokens/SwatchExtensions.cs +++ b/src/Core/DesignTokens/SwatchExtensions.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.DesignTokens; diff --git a/src/Core/DesignTokens/Z-Index.cs b/src/Core/DesignTokens/Z-Index.cs index 010e682f68..b4ddb557fd 100644 --- a/src/Core/DesignTokens/Z-Index.cs +++ b/src/Core/DesignTokens/Z-Index.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/Enums/AccordionExpandMode.cs b/src/Core/Enums/AccordionExpandMode.cs index 39760877f0..c6c0c16c0c 100644 --- a/src/Core/Enums/AccordionExpandMode.cs +++ b/src/Core/Enums/AccordionExpandMode.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/Enums/Align.cs b/src/Core/Enums/Align.cs index c57a636c23..1296cbf7fa 100644 --- a/src/Core/Enums/Align.cs +++ b/src/Core/Enums/Align.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; @@ -26,7 +30,7 @@ public enum Align End, /// - /// Aligns content to strech to the container. + /// Aligns content to stretch to the container. /// [Description("stretch")] Stretch, diff --git a/src/Core/Enums/Appearance.cs b/src/Core/Enums/Appearance.cs index 73327c202c..8c8aac0067 100644 --- a/src/Core/Enums/Appearance.cs +++ b/src/Core/Enums/Appearance.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/Enums/AutoUpdateMode.cs b/src/Core/Enums/AutoUpdateMode.cs index 84dfac2fbf..4707509b19 100644 --- a/src/Core/Enums/AutoUpdateMode.cs +++ b/src/Core/Enums/AutoUpdateMode.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/Enums/AxisPositioningMode.cs b/src/Core/Enums/AxisPositioningMode.cs index 1b2729e100..802aa559fd 100644 --- a/src/Core/Enums/AxisPositioningMode.cs +++ b/src/Core/Enums/AxisPositioningMode.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/Enums/AxisScalingMode.cs b/src/Core/Enums/AxisScalingMode.cs index 579a3f640e..d77df840e3 100644 --- a/src/Core/Enums/AxisScalingMode.cs +++ b/src/Core/Enums/AxisScalingMode.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/Enums/BlazorHostingModel.cs b/src/Core/Enums/BlazorHostingModel.cs index 8b0a8d2dd7..8d69bc62fa 100644 --- a/src/Core/Enums/BlazorHostingModel.cs +++ b/src/Core/Enums/BlazorHostingModel.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/Enums/ButtonType.cs b/src/Core/Enums/ButtonType.cs index b550683489..505e0163f0 100644 --- a/src/Core/Enums/ButtonType.cs +++ b/src/Core/Enums/ButtonType.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/Enums/CalendarFormats.cs b/src/Core/Enums/CalendarFormats.cs index c05e0faa6b..83afd2de62 100644 --- a/src/Core/Enums/CalendarFormats.cs +++ b/src/Core/Enums/CalendarFormats.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/CalendarSelectMode.cs b/src/Core/Enums/CalendarSelectMode.cs index e97789b80b..e0b4c74de1 100644 --- a/src/Core/Enums/CalendarSelectMode.cs +++ b/src/Core/Enums/CalendarSelectMode.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/Enums/Color.cs b/src/Core/Enums/Color.cs index 613b06950f..3459b0fffd 100644 --- a/src/Core/Enums/Color.cs +++ b/src/Core/Enums/Color.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/ComboboxAutocomplete.cs b/src/Core/Enums/ComboboxAutocomplete.cs index b94d289d4c..931c4afe81 100644 --- a/src/Core/Enums/ComboboxAutocomplete.cs +++ b/src/Core/Enums/ComboboxAutocomplete.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/Enums/DataGridCellType.cs b/src/Core/Enums/DataGridCellType.cs index d3ef668e55..af7004e918 100644 --- a/src/Core/Enums/DataGridCellType.cs +++ b/src/Core/Enums/DataGridCellType.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/DataGridDisplayMode.cs b/src/Core/Enums/DataGridDisplayMode.cs index e24867d5b1..0783c30a7b 100644 --- a/src/Core/Enums/DataGridDisplayMode.cs +++ b/src/Core/Enums/DataGridDisplayMode.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/Enums/DataGridResizeType.cs b/src/Core/Enums/DataGridResizeType.cs index 769deb7993..1269a9ba17 100644 --- a/src/Core/Enums/DataGridResizeType.cs +++ b/src/Core/Enums/DataGridResizeType.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/Enums/DataGridRowSize.cs b/src/Core/Enums/DataGridRowSize.cs index ed4b9e62ad..f07042e23a 100644 --- a/src/Core/Enums/DataGridRowSize.cs +++ b/src/Core/Enums/DataGridRowSize.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/Enums/DataGridRowType.cs b/src/Core/Enums/DataGridRowType.cs index eb8d44e3c3..9ba0d5fb38 100644 --- a/src/Core/Enums/DataGridRowType.cs +++ b/src/Core/Enums/DataGridRowType.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/DataGridSelectMode.cs b/src/Core/Enums/DataGridSelectMode.cs index dcc89844cd..92840e2cfb 100644 --- a/src/Core/Enums/DataGridSelectMode.cs +++ b/src/Core/Enums/DataGridSelectMode.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/Enums/DesignThemeModes.cs b/src/Core/Enums/DesignThemeModes.cs index 1c6a724728..083c67d0a5 100644 --- a/src/Core/Enums/DesignThemeModes.cs +++ b/src/Core/Enums/DesignThemeModes.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/Enums/DialogType.cs b/src/Core/Enums/DialogType.cs index 53ffd66f9a..03140cf200 100644 --- a/src/Core/Enums/DialogType.cs +++ b/src/Core/Enums/DialogType.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/Enums/DividerRole.cs b/src/Core/Enums/DividerRole.cs index 794b2667ad..f5f01fe92f 100644 --- a/src/Core/Enums/DividerRole.cs +++ b/src/Core/Enums/DividerRole.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/Enums/ElevationShadow.cs b/src/Core/Enums/ElevationShadow.cs index 8348c2f100..5e2c6db884 100644 --- a/src/Core/Enums/ElevationShadow.cs +++ b/src/Core/Enums/ElevationShadow.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/Enums/EmojiGroup.cs b/src/Core/Enums/EmojiGroup.cs index 1d4e9f2706..518c726348 100644 --- a/src/Core/Enums/EmojiGroup.cs +++ b/src/Core/Enums/EmojiGroup.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/EmojiSize.cs b/src/Core/Enums/EmojiSize.cs index f39db1120b..faaff81eeb 100644 --- a/src/Core/Enums/EmojiSize.cs +++ b/src/Core/Enums/EmojiSize.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/Enums/EmojiSkinTone.cs b/src/Core/Enums/EmojiSkinTone.cs index c475e387cf..953a0d7c05 100644 --- a/src/Core/Enums/EmojiSkinTone.cs +++ b/src/Core/Enums/EmojiSkinTone.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/EmojiStyle.cs b/src/Core/Enums/EmojiStyle.cs index af4d4b1ac0..f804988ed3 100644 --- a/src/Core/Enums/EmojiStyle.cs +++ b/src/Core/Enums/EmojiStyle.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/FlipperDirection.cs b/src/Core/Enums/FlipperDirection.cs index 38e12b3e0b..e96974686b 100644 --- a/src/Core/Enums/FlipperDirection.cs +++ b/src/Core/Enums/FlipperDirection.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/Enums/FluentInputAppearance.cs b/src/Core/Enums/FluentInputAppearance.cs index 24fcc58939..5d4c08188d 100644 --- a/src/Core/Enums/FluentInputAppearance.cs +++ b/src/Core/Enums/FluentInputAppearance.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/Enums/FontWeight.cs b/src/Core/Enums/FontWeight.cs index 83bf21ca9d..6c4ac84db8 100644 --- a/src/Core/Enums/FontWeight.cs +++ b/src/Core/Enums/FontWeight.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/Enums/GenerateHeaderOption.cs b/src/Core/Enums/GenerateHeaderOption.cs index 571809dd39..e6bd866715 100644 --- a/src/Core/Enums/GenerateHeaderOption.cs +++ b/src/Core/Enums/GenerateHeaderOption.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/Enums/GridItemHidden.cs b/src/Core/Enums/GridItemHidden.cs index 4ce36b4d61..62af79893b 100644 --- a/src/Core/Enums/GridItemHidden.cs +++ b/src/Core/Enums/GridItemHidden.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/Enums/GridItemSize.cs b/src/Core/Enums/GridItemSize.cs index 5261f80ab5..032fc155a1 100644 --- a/src/Core/Enums/GridItemSize.cs +++ b/src/Core/Enums/GridItemSize.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/Enums/HorizontalAlignement.cs b/src/Core/Enums/HorizontalAlignement.cs index 4a4b0d989a..81efd8663a 100644 --- a/src/Core/Enums/HorizontalAlignement.cs +++ b/src/Core/Enums/HorizontalAlignement.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/Enums/HorizontalPosition.cs b/src/Core/Enums/HorizontalPosition.cs index 9a2a51e2c2..fad1b0eca0 100644 --- a/src/Core/Enums/HorizontalPosition.cs +++ b/src/Core/Enums/HorizontalPosition.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/Enums/HorizontalScrollView.cs b/src/Core/Enums/HorizontalScrollView.cs index d9573d4cde..181d161b02 100644 --- a/src/Core/Enums/HorizontalScrollView.cs +++ b/src/Core/Enums/HorizontalScrollView.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/Enums/IconSize.cs b/src/Core/Enums/IconSize.cs index 9df06731a5..600522d9b3 100644 --- a/src/Core/Enums/IconSize.cs +++ b/src/Core/Enums/IconSize.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/Enums/IconVariant.cs b/src/Core/Enums/IconVariant.cs index 851d12f4d4..59ed9e9cf2 100644 --- a/src/Core/Enums/IconVariant.cs +++ b/src/Core/Enums/IconVariant.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/Enums/InputFileMode.cs b/src/Core/Enums/InputFileMode.cs index 11369a1f33..d4e42a59a5 100644 --- a/src/Core/Enums/InputFileMode.cs +++ b/src/Core/Enums/InputFileMode.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/Enums/InputMode.cs b/src/Core/Enums/InputMode.cs index 96598dd689..3e0f91bc79 100644 --- a/src/Core/Enums/InputMode.cs +++ b/src/Core/Enums/InputMode.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/JustifyContent.cs b/src/Core/Enums/JustifyContent.cs index ab61a1aa67..b692450a29 100644 --- a/src/Core/Enums/JustifyContent.cs +++ b/src/Core/Enums/JustifyContent.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/KeyCode.cs b/src/Core/Enums/KeyCode.cs index 032f7ccc67..ae101145cf 100644 --- a/src/Core/Enums/KeyCode.cs +++ b/src/Core/Enums/KeyCode.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public enum KeyCode diff --git a/src/Core/Enums/KeyLocation.cs b/src/Core/Enums/KeyLocation.cs index aeacdfbdbe..9b4a77aedc 100644 --- a/src/Core/Enums/KeyLocation.cs +++ b/src/Core/Enums/KeyLocation.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; // See https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/location diff --git a/src/Core/Enums/LocalizationDirection.cs b/src/Core/Enums/LocalizationDirection.cs index 13b02d14ce..9fc3876c31 100644 --- a/src/Core/Enums/LocalizationDirection.cs +++ b/src/Core/Enums/LocalizationDirection.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/MenuItemRole.cs b/src/Core/Enums/MenuItemRole.cs index 133fdd88d6..bd87abc6ff 100644 --- a/src/Core/Enums/MenuItemRole.cs +++ b/src/Core/Enums/MenuItemRole.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/Enums/MessageBoxIntent.cs b/src/Core/Enums/MessageBoxIntent.cs index 96019f7bd0..f6edc82464 100644 --- a/src/Core/Enums/MessageBoxIntent.cs +++ b/src/Core/Enums/MessageBoxIntent.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/Enums/MessageIntent.cs b/src/Core/Enums/MessageIntent.cs index ee3c1b9332..679f75770f 100644 --- a/src/Core/Enums/MessageIntent.cs +++ b/src/Core/Enums/MessageIntent.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/MessageType.cs b/src/Core/Enums/MessageType.cs index cdc2daf668..4a745751ed 100644 --- a/src/Core/Enums/MessageType.cs +++ b/src/Core/Enums/MessageType.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/Enums/MouseButton.cs b/src/Core/Enums/MouseButton.cs index c2ff2d2560..a37d67c1be 100644 --- a/src/Core/Enums/MouseButton.cs +++ b/src/Core/Enums/MouseButton.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/Enums/OfficeColor.cs b/src/Core/Enums/OfficeColor.cs index de98e17489..aaaecddf87 100644 --- a/src/Core/Enums/OfficeColor.cs +++ b/src/Core/Enums/OfficeColor.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/Orientation.cs b/src/Core/Enums/Orientation.cs index 1ace8aef8d..5939822814 100644 --- a/src/Core/Enums/Orientation.cs +++ b/src/Core/Enums/Orientation.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; diff --git a/src/Core/Enums/OverflowItemFixed.cs b/src/Core/Enums/OverflowItemFixed.cs index 5b5b710d1e..ea0539dcac 100644 --- a/src/Core/Enums/OverflowItemFixed.cs +++ b/src/Core/Enums/OverflowItemFixed.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; diff --git a/src/Core/Enums/PresenceBadgeSize.cs b/src/Core/Enums/PresenceBadgeSize.cs index f5f1760d73..5abaa9eece 100644 --- a/src/Core/Enums/PresenceBadgeSize.cs +++ b/src/Core/Enums/PresenceBadgeSize.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/Enums/PresenceStatus.cs b/src/Core/Enums/PresenceStatus.cs index db82a135f6..dbe0388a99 100644 --- a/src/Core/Enums/PresenceStatus.cs +++ b/src/Core/Enums/PresenceStatus.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/ProgressStroke.cs b/src/Core/Enums/ProgressStroke.cs index fe335bca10..bf4d18c765 100644 --- a/src/Core/Enums/ProgressStroke.cs +++ b/src/Core/Enums/ProgressStroke.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public enum ProgressStroke diff --git a/src/Core/Enums/PullDirection.cs b/src/Core/Enums/PullDirection.cs index 3c02922151..567ac67786 100644 --- a/src/Core/Enums/PullDirection.cs +++ b/src/Core/Enums/PullDirection.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/Enums/PullStatus.cs b/src/Core/Enums/PullStatus.cs index b5612649b7..8dd58a9c0d 100644 --- a/src/Core/Enums/PullStatus.cs +++ b/src/Core/Enums/PullStatus.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/Enums/ScrollEasing.cs b/src/Core/Enums/ScrollEasing.cs index 395c119485..18449eabdc 100644 --- a/src/Core/Enums/ScrollEasing.cs +++ b/src/Core/Enums/ScrollEasing.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/SelectPosition.cs b/src/Core/Enums/SelectPosition.cs index 145579dc54..7c4e99a650 100644 --- a/src/Core/Enums/SelectPosition.cs +++ b/src/Core/Enums/SelectPosition.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/Enums/SkeletonShape.cs b/src/Core/Enums/SkeletonShape.cs index 388d271bee..866da1af25 100644 --- a/src/Core/Enums/SkeletonShape.cs +++ b/src/Core/Enums/SkeletonShape.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/Enums/SliderMode.cs b/src/Core/Enums/SliderMode.cs index 2750fbfb45..b4462fd4cc 100644 --- a/src/Core/Enums/SliderMode.cs +++ b/src/Core/Enums/SliderMode.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/SortDirection.cs b/src/Core/Enums/SortDirection.cs index 981db499de..7cc371b11a 100644 --- a/src/Core/Enums/SortDirection.cs +++ b/src/Core/Enums/SortDirection.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/Enums/StandardLuminance.cs b/src/Core/Enums/StandardLuminance.cs index ff262bd41d..ca67d1ac5d 100644 --- a/src/Core/Enums/StandardLuminance.cs +++ b/src/Core/Enums/StandardLuminance.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/Enums/StepperPosition.cs b/src/Core/Enums/StepperPosition.cs index 0d0d5b3b34..f0870057b5 100644 --- a/src/Core/Enums/StepperPosition.cs +++ b/src/Core/Enums/StepperPosition.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/Enums/TabSize.cs b/src/Core/Enums/TabSize.cs index 961765a9a7..4dc8beea16 100644 --- a/src/Core/Enums/TabSize.cs +++ b/src/Core/Enums/TabSize.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/Enums/TextAreaResize.cs b/src/Core/Enums/TextAreaResize.cs index 01ca0de194..a8c6e98943 100644 --- a/src/Core/Enums/TextAreaResize.cs +++ b/src/Core/Enums/TextAreaResize.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/Enums/TextFieldType.cs b/src/Core/Enums/TextFieldType.cs index 41c89c2d80..27ace14766 100644 --- a/src/Core/Enums/TextFieldType.cs +++ b/src/Core/Enums/TextFieldType.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/Enums/TextPosition.cs b/src/Core/Enums/TextPosition.cs index 641824f389..2598ccb4b1 100644 --- a/src/Core/Enums/TextPosition.cs +++ b/src/Core/Enums/TextPosition.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/Enums/ToastIntent.cs b/src/Core/Enums/ToastIntent.cs index 84e7b88b8c..6367dc35f1 100644 --- a/src/Core/Enums/ToastIntent.cs +++ b/src/Core/Enums/ToastIntent.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; /// @@ -9,14 +13,14 @@ public enum ToastIntent Success, /// - /// 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. /// Warning, /// - /// 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. /// Error, @@ -45,18 +49,18 @@ public enum ToastIntent Download, /// - /// Informs about an operation concerning an event. + /// Informs about an operation concerning an event. /// 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. /// Mention, /// - /// Informs about a custom event or operation. + /// Informs about a custom event or operation. /// Custom } diff --git a/src/Core/Enums/ToastPosition.cs b/src/Core/Enums/ToastPosition.cs index bf571a51ef..b9ad3b329c 100644 --- a/src/Core/Enums/ToastPosition.cs +++ b/src/Core/Enums/ToastPosition.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/ToastTopCTAType.cs b/src/Core/Enums/ToastTopCTAType.cs index 95bdb63526..090b2d8783 100644 --- a/src/Core/Enums/ToastTopCTAType.cs +++ b/src/Core/Enums/ToastTopCTAType.cs @@ -1,8 +1,12 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; /// /// Call To Action type for the top action of the toast. -/// +/// public enum ToastTopCTAType { /// diff --git a/src/Core/Enums/TooltipPosition.cs b/src/Core/Enums/TooltipPosition.cs index b79df1fadc..01f85ebe5e 100644 --- a/src/Core/Enums/TooltipPosition.cs +++ b/src/Core/Enums/TooltipPosition.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/Enums/Typography.cs b/src/Core/Enums/Typography.cs index 0547660d61..9c1470e7d9 100644 --- a/src/Core/Enums/Typography.cs +++ b/src/Core/Enums/Typography.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.ComponentModel; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Enums/VerticalAlignment.cs b/src/Core/Enums/VerticalAlignment.cs index a61c7bbc79..eae921d6b7 100644 --- a/src/Core/Enums/VerticalAlignment.cs +++ b/src/Core/Enums/VerticalAlignment.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/Enums/VerticalPosition.cs b/src/Core/Enums/VerticalPosition.cs index 6a57d062db..ac5e793f8a 100644 --- a/src/Core/Enums/VerticalPosition.cs +++ b/src/Core/Enums/VerticalPosition.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/Enums/WizardBorder.cs b/src/Core/Enums/WizardBorder.cs index 83aaaf2d6d..bec0f863ab 100644 --- a/src/Core/Enums/WizardBorder.cs +++ b/src/Core/Enums/WizardBorder.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/Enums/WizardStepSequence.cs b/src/Core/Enums/WizardStepSequence.cs index 5996f4d273..926d026568 100644 --- a/src/Core/Enums/WizardStepSequence.cs +++ b/src/Core/Enums/WizardStepSequence.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/Enums/WizardStepStatus.cs b/src/Core/Enums/WizardStepStatus.cs index f0c5693c7c..c0677cb053 100644 --- a/src/Core/Enums/WizardStepStatus.cs +++ b/src/Core/Enums/WizardStepStatus.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/Events/AccordionChangeEventArgs.cs b/src/Core/Events/AccordionChangeEventArgs.cs index edc498b6f5..7a1d0b8a40 100644 --- a/src/Core/Events/AccordionChangeEventArgs.cs +++ b/src/Core/Events/AccordionChangeEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class AccordionChangeEventArgs : EventArgs diff --git a/src/Core/Events/CheckboxChangeEventArgs.cs b/src/Core/Events/CheckboxChangeEventArgs.cs index a674b9738f..706537e064 100644 --- a/src/Core/Events/CheckboxChangeEventArgs.cs +++ b/src/Core/Events/CheckboxChangeEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class CheckboxChangeEventArgs : EventArgs diff --git a/src/Core/Events/DataGridCellFocusEventArgs.cs b/src/Core/Events/DataGridCellFocusEventArgs.cs index f6759ff44e..29319e2e22 100644 --- a/src/Core/Events/DataGridCellFocusEventArgs.cs +++ b/src/Core/Events/DataGridCellFocusEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class DataGridCellFocusEventArgs : EventArgs diff --git a/src/Core/Events/DataGridRowFocusEventArgs.cs b/src/Core/Events/DataGridRowFocusEventArgs.cs index c469801e94..4e5b7ce871 100644 --- a/src/Core/Events/DataGridRowFocusEventArgs.cs +++ b/src/Core/Events/DataGridRowFocusEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class DataGridRowFocusEventArgs : EventArgs diff --git a/src/Core/Events/DialogEventArgs.cs b/src/Core/Events/DialogEventArgs.cs index 4e3cf2b9fb..402f37646b 100644 --- a/src/Core/Events/DialogEventArgs.cs +++ b/src/Core/Events/DialogEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class DialogEventArgs : EventArgs diff --git a/src/Core/Events/EventHandlers.cs b/src/Core/Events/EventHandlers.cs index a499690ae2..d17c9be7f4 100644 --- a/src/Core/Events/EventHandlers.cs +++ b/src/Core/Events/EventHandlers.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Microsoft.AspNetCore.Components; namespace Microsoft.FluentUI.AspNetCore.Components; diff --git a/src/Core/Events/HorizontalScrollEventArgs.cs b/src/Core/Events/HorizontalScrollEventArgs.cs index c7a6faaec2..7e76b5e986 100644 --- a/src/Core/Events/HorizontalScrollEventArgs.cs +++ b/src/Core/Events/HorizontalScrollEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class HorizontalScrollEventArgs : EventArgs diff --git a/src/Core/Events/MenuChangeEventArgs.cs b/src/Core/Events/MenuChangeEventArgs.cs index 82c8e54957..99400e8b15 100644 --- a/src/Core/Events/MenuChangeEventArgs.cs +++ b/src/Core/Events/MenuChangeEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class MenuChangeEventArgs : EventArgs diff --git a/src/Core/Events/NavMenuActionArgs.cs b/src/Core/Events/NavMenuActionArgs.cs index 54173f8b0c..6ab75f108a 100644 --- a/src/Core/Events/NavMenuActionArgs.cs +++ b/src/Core/Events/NavMenuActionArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; /// diff --git a/src/Core/Events/SplitterCollapsedEventArgs.cs b/src/Core/Events/SplitterCollapsedEventArgs.cs index 0a20c34604..e2c2c80e92 100644 --- a/src/Core/Events/SplitterCollapsedEventArgs.cs +++ b/src/Core/Events/SplitterCollapsedEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class SplitterCollapsedEventArgs : EventArgs diff --git a/src/Core/Events/SplitterResizedEventArgs.cs b/src/Core/Events/SplitterResizedEventArgs.cs index 54a9104562..8de40fa8ab 100644 --- a/src/Core/Events/SplitterResizedEventArgs.cs +++ b/src/Core/Events/SplitterResizedEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class SplitterResizedEventArgs : EventArgs diff --git a/src/Core/Events/TabChangeEventArgs.cs b/src/Core/Events/TabChangeEventArgs.cs index b71fa1d574..e43ab5b405 100644 --- a/src/Core/Events/TabChangeEventArgs.cs +++ b/src/Core/Events/TabChangeEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class TabChangeEventArgs : EventArgs diff --git a/src/Core/Events/TreeChangeEventArgs.cs b/src/Core/Events/TreeChangeEventArgs.cs index 28fd3ab121..1294f73c8e 100644 --- a/src/Core/Events/TreeChangeEventArgs.cs +++ b/src/Core/Events/TreeChangeEventArgs.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class TreeChangeEventArgs : EventArgs diff --git a/src/Core/Extensions/AdditionalAttributesExtensions.cs b/src/Core/Extensions/AdditionalAttributesExtensions.cs index b7fefabe81..796c053e10 100644 --- a/src/Core/Extensions/AdditionalAttributesExtensions.cs +++ b/src/Core/Extensions/AdditionalAttributesExtensions.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components.Extensions; internal static class AdditionalAttributesExtensions diff --git a/src/Core/Extensions/BooleanExtensions.cs b/src/Core/Extensions/BooleanExtensions.cs index ab4ee545cb..0c8f845991 100644 --- a/src/Core/Extensions/BooleanExtensions.cs +++ b/src/Core/Extensions/BooleanExtensions.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components.Extensions; internal static class BooleanExtensions diff --git a/src/Core/Extensions/DateTimeExtensions.cs b/src/Core/Extensions/DateTimeExtensions.cs index f6f572db94..0a5cf16794 100644 --- a/src/Core/Extensions/DateTimeExtensions.cs +++ b/src/Core/Extensions/DateTimeExtensions.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using System.Globalization; namespace Microsoft.FluentUI.AspNetCore.Components.Extensions; diff --git a/src/Core/Extensions/EnumExtensions.cs b/src/Core/Extensions/EnumExtensions.cs index 2171ae58c4..fc850645b0 100644 --- a/src/Core/Extensions/EnumExtensions.cs +++ b/src/Core/Extensions/EnumExtensions.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using System.ComponentModel; using System.ComponentModel.DataAnnotations; using System.Reflection; diff --git a/src/Core/Extensions/FluentInputExtensions.cs b/src/Core/Extensions/FluentInputExtensions.cs index 82978fc5c8..893e7353dc 100644 --- a/src/Core/Extensions/FluentInputExtensions.cs +++ b/src/Core/Extensions/FluentInputExtensions.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using System.Diagnostics.CodeAnalysis; using System.Globalization; using Microsoft.AspNetCore.Components; diff --git a/src/Core/Extensions/ServiceCollectionExtensions.cs b/src/Core/Extensions/ServiceCollectionExtensions.cs index d608fa88de..3353dd472f 100644 --- a/src/Core/Extensions/ServiceCollectionExtensions.cs +++ b/src/Core/Extensions/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 Microsoft.Extensions.DependencyInjection; diff --git a/src/Core/Extensions/UrlFormatterExtensions.cs b/src/Core/Extensions/UrlFormatterExtensions.cs index a233734c2d..3d1cbc6619 100644 --- a/src/Core/Extensions/UrlFormatterExtensions.cs +++ b/src/Core/Extensions/UrlFormatterExtensions.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components.Extensions; internal static class UrlFormatterExtensions diff --git a/src/Core/GlobalState.cs b/src/Core/GlobalState.cs index 0c83adf269..d5f61210df 100644 --- a/src/Core/GlobalState.cs +++ b/src/Core/GlobalState.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/Identifier.cs b/src/Core/Identifier.cs index d03986afe6..9da8e00303 100644 --- a/src/Core/Identifier.cs +++ b/src/Core/Identifier.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; /// @@ -48,7 +52,7 @@ Here you will find examples and time estimates. BenchmarkDotNet=v0.13.1, OS=Windows 11 Intel Core i7-1065G7 CPU 1.30GHz, 1 CPU, 8 logical and 4 physical cores DefaultJob : .NET 6.0.3 (6.0.322.12309), X64 RyuJIT - + | Method | Example | Mean | |------------------|--------------------------------------|-----------| | From Rnd Long: 10aad4a0 51.14 ns | @@ -57,8 +61,8 @@ Here you will find examples and time estimates. | From Ticks: 8da188a929219fab 174.41 ns | | From Guid Base64: aRk3NU0b0ka04Oqc 206.67 ns | | From Guid: 25ee3842-0c33-4a63-9b83-a7d1c0266809 224.59 ns | - | From Guid Shorted: 6ee0e232196b4a9 237.51 ns | - + | From Guid Shorted: 6ee0e232196b4a9 237.51 ns | + PS: Ticks does not always generate unique values in WASM apps. */ diff --git a/src/Core/IdentifierContext.cs b/src/Core/IdentifierContext.cs index 7bd7ef9252..c8cf607a08 100644 --- a/src/Core/IdentifierContext.cs +++ b/src/Core/IdentifierContext.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; // Inspiration: https://dvoituron.com/2020/01/22/UnitTest-DateTime/ diff --git a/src/Core/Infrastructure/ActionButton.cs b/src/Core/Infrastructure/ActionButton.cs index 48601c5310..5c6805a07a 100644 --- a/src/Core/Infrastructure/ActionButton.cs +++ b/src/Core/Infrastructure/ActionButton.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class ActionButton { diff --git a/src/Core/Infrastructure/ActionLink.cs b/src/Core/Infrastructure/ActionLink.cs index f6ab54fe57..29dabd05ec 100644 --- a/src/Core/Infrastructure/ActionLink.cs +++ b/src/Core/Infrastructure/ActionLink.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class ActionLink diff --git a/src/Core/Infrastructure/ComponentParameters.cs b/src/Core/Infrastructure/ComponentParameters.cs index 8600e97c4d..36cc7fa318 100644 --- a/src/Core/Infrastructure/ComponentParameters.cs +++ b/src/Core/Infrastructure/ComponentParameters.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using System.Collections; using System.Reflection; diff --git a/src/Core/Infrastructure/EventCallbackSubscribable.cs b/src/Core/Infrastructure/EventCallbackSubscribable.cs index de2eb415bf..197846aca9 100644 --- a/src/Core/Infrastructure/EventCallbackSubscribable.cs +++ b/src/Core/Infrastructure/EventCallbackSubscribable.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Microsoft.AspNetCore.Components; namespace Microsoft.FluentUI.AspNetCore.Components.Infrastructure; diff --git a/src/Core/Infrastructure/EventCallbackSubscriber.cs b/src/Core/Infrastructure/EventCallbackSubscriber.cs index f8feaba410..d6d34dbb8d 100644 --- a/src/Core/Infrastructure/EventCallbackSubscriber.cs +++ b/src/Core/Infrastructure/EventCallbackSubscriber.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Microsoft.AspNetCore.Components; namespace Microsoft.FluentUI.AspNetCore.Components.Infrastructure; diff --git a/src/Core/Infrastructure/IComponentParameters.cs b/src/Core/Infrastructure/IComponentParameters.cs index b5772735e2..34331f7730 100644 --- a/src/Core/Infrastructure/IComponentParameters.cs +++ b/src/Core/Infrastructure/IComponentParameters.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public interface IComponentParameters : IEnumerable> diff --git a/src/Core/Infrastructure/LibraryConfiguration.cs b/src/Core/Infrastructure/LibraryConfiguration.cs index bee9b6bdc6..8c774a0692 100644 --- a/src/Core/Infrastructure/LibraryConfiguration.cs +++ b/src/Core/Infrastructure/LibraryConfiguration.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Microsoft.AspNetCore.Components; using Microsoft.Extensions.DependencyInjection; diff --git a/src/Core/Infrastructure/StaticAssetServiceConfiguration.cs b/src/Core/Infrastructure/StaticAssetServiceConfiguration.cs index 85a85e185a..2853c9b357 100644 --- a/src/Core/Infrastructure/StaticAssetServiceConfiguration.cs +++ b/src/Core/Infrastructure/StaticAssetServiceConfiguration.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components; public class StaticAssetServiceConfiguration diff --git a/src/Core/Utilities/CssBuilder.cs b/src/Core/Utilities/CssBuilder.cs index 5e116e9a9b..174886a6a4 100644 --- a/src/Core/Utilities/CssBuilder.cs +++ b/src/Core/Utilities/CssBuilder.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Text.RegularExpressions; namespace Microsoft.FluentUI.AspNetCore.Components.Utilities; diff --git a/src/Core/Utilities/Debounce.cs b/src/Core/Utilities/Debounce.cs index cbd3d11b47..7ef5709be8 100644 --- a/src/Core/Utilities/Debounce.cs +++ b/src/Core/Utilities/Debounce.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.Utilities; diff --git a/src/Core/Utilities/InlineStyleBuilder.cs b/src/Core/Utilities/InlineStyleBuilder.cs index fd4edf8ca8..076c8849e5 100644 --- a/src/Core/Utilities/InlineStyleBuilder.cs +++ b/src/Core/Utilities/InlineStyleBuilder.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.AspNetCore.Components; namespace Microsoft.FluentUI.AspNetCore.Components.Utilities; diff --git a/src/Core/Utilities/InternalDebounce/DebounceAction.cs b/src/Core/Utilities/InternalDebounce/DebounceAction.cs index 2dded28c37..fd5508ee26 100644 --- a/src/Core/Utilities/InternalDebounce/DebounceAction.cs +++ b/src/Core/Utilities/InternalDebounce/DebounceAction.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.Utilities.InternalDebounce; diff --git a/src/Core/Utilities/InternalDebounce/DebounceTask.cs b/src/Core/Utilities/InternalDebounce/DebounceTask.cs index 5d6dc737f0..5c80ae52b7 100644 --- a/src/Core/Utilities/InternalDebounce/DebounceTask.cs +++ b/src/Core/Utilities/InternalDebounce/DebounceTask.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.Utilities.InternalDebounce; diff --git a/src/Core/Utilities/InternalDebounce/DispatcherTimerExtensions.cs b/src/Core/Utilities/InternalDebounce/DispatcherTimerExtensions.cs index d6fde830b9..c7cd988d00 100644 --- a/src/Core/Utilities/InternalDebounce/DispatcherTimerExtensions.cs +++ b/src/Core/Utilities/InternalDebounce/DispatcherTimerExtensions.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.Collections.Concurrent; diff --git a/src/Core/Utilities/JSModule.cs b/src/Core/Utilities/JSModule.cs index 2a31a68b71..e3ea03f3ed 100644 --- a/src/Core/Utilities/JSModule.cs +++ b/src/Core/Utilities/JSModule.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/Utilities/OfficeColorUtilities.cs b/src/Core/Utilities/OfficeColorUtilities.cs index 793d95135d..e7a7011499 100644 --- a/src/Core/Utilities/OfficeColorUtilities.cs +++ b/src/Core/Utilities/OfficeColorUtilities.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components; public static class OfficeColorUtilities diff --git a/src/Core/Utilities/RangeOf.cs b/src/Core/Utilities/RangeOf.cs index 5c1796acca..b5f91adf67 100644 --- a/src/Core/Utilities/RangeOf.cs +++ b/src/Core/Utilities/RangeOf.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.Utilities; diff --git a/src/Core/Utilities/Splitter.cs b/src/Core/Utilities/Splitter.cs index 177a439592..4a08f174ac 100644 --- a/src/Core/Utilities/Splitter.cs +++ b/src/Core/Utilities/Splitter.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Text; using System.Text.RegularExpressions; diff --git a/src/Core/Utilities/StyleBuilder.cs b/src/Core/Utilities/StyleBuilder.cs index d345c37991..104f97b066 100644 --- a/src/Core/Utilities/StyleBuilder.cs +++ b/src/Core/Utilities/StyleBuilder.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components.Utilities; public readonly struct StyleBuilder diff --git a/src/Extensions/DataGrid.EntityFrameworkAdapter/EntityFrameworkAdapterServiceCollectionExtensions.cs b/src/Extensions/DataGrid.EntityFrameworkAdapter/EntityFrameworkAdapterServiceCollectionExtensions.cs index 536e832413..4f3b711d4d 100644 --- a/src/Extensions/DataGrid.EntityFrameworkAdapter/EntityFrameworkAdapterServiceCollectionExtensions.cs +++ b/src/Extensions/DataGrid.EntityFrameworkAdapter/EntityFrameworkAdapterServiceCollectionExtensions.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.DataGrid.EntityFrameworkAdapter; diff --git a/src/Extensions/DataGrid.EntityFrameworkAdapter/EntityFrameworkAsyncQueryExecutor.cs b/src/Extensions/DataGrid.EntityFrameworkAdapter/EntityFrameworkAsyncQueryExecutor.cs index e99ab9d97e..8c545eb21e 100644 --- a/src/Extensions/DataGrid.EntityFrameworkAdapter/EntityFrameworkAsyncQueryExecutor.cs +++ b/src/Extensions/DataGrid.EntityFrameworkAdapter/EntityFrameworkAsyncQueryExecutor.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.EntityFrameworkCore; diff --git a/src/Extensions/DataGrid.ODataAdapter/ODataAdapterServiceCollectionExtensions.cs b/src/Extensions/DataGrid.ODataAdapter/ODataAdapterServiceCollectionExtensions.cs index 08acd41336..ce5f274fe5 100644 --- a/src/Extensions/DataGrid.ODataAdapter/ODataAdapterServiceCollectionExtensions.cs +++ b/src/Extensions/DataGrid.ODataAdapter/ODataAdapterServiceCollectionExtensions.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.DataGrid.Infrastructure; diff --git a/src/Extensions/DataGrid.ODataAdapter/ODataAsyncQueryExecutor.cs b/src/Extensions/DataGrid.ODataAdapter/ODataAsyncQueryExecutor.cs index 433e791757..1abaf61398 100644 --- a/src/Extensions/DataGrid.ODataAdapter/ODataAsyncQueryExecutor.cs +++ b/src/Extensions/DataGrid.ODataAdapter/ODataAsyncQueryExecutor.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.DataGrid.Infrastructure; diff --git a/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs b/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs index ce51e458e9..8cf8bda4d0 100644 --- a/src/Extensions/DesignToken.Generator/DesignTokenGenerator.cs +++ b/src/Extensions/DesignToken.Generator/DesignTokenGenerator.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; diff --git a/tests/Core/Accordion/FluentAccordionItemTests.cs b/tests/Core/Accordion/FluentAccordionItemTests.cs index 06a32fd99f..cc8c934efe 100644 --- a/tests/Core/Accordion/FluentAccordionItemTests.cs +++ b/tests/Core/Accordion/FluentAccordionItemTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/Accordion/FluentAccordionTests.cs b/tests/Core/Accordion/FluentAccordionTests.cs index 4807f9d01e..55eb87cf7a 100644 --- a/tests/Core/Accordion/FluentAccordionTests.cs +++ b/tests/Core/Accordion/FluentAccordionTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/Anchor/FluentAnchorTests.cs b/tests/Core/Anchor/FluentAnchorTests.cs index 717a485ff7..ddcb6c4b2f 100644 --- a/tests/Core/Anchor/FluentAnchorTests.cs +++ b/tests/Core/Anchor/FluentAnchorTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Microsoft.Extensions.DependencyInjection; using Xunit; @@ -147,7 +151,7 @@ public void FluentAnchor_TargetAttribute(string target) // Assert if (target == "invalid") { - Assert.Throws< ArgumentException>(action); + Assert.Throws(action); } else { diff --git a/tests/Core/AnchoredRegion/FluentAnchoredRegionTests.cs b/tests/Core/AnchoredRegion/FluentAnchoredRegionTests.cs index a2eb4d405e..5be1cfab51 100644 --- a/tests/Core/AnchoredRegion/FluentAnchoredRegionTests.cs +++ b/tests/Core/AnchoredRegion/FluentAnchoredRegionTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/tests/Core/Badge/FluentBadgeTests.cs b/tests/Core/Badge/FluentBadgeTests.cs index 0bd659ec27..5aa4c870ff 100644 --- a/tests/Core/Badge/FluentBadgeTests.cs +++ b/tests/Core/Badge/FluentBadgeTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/BodyContent/FluentBodyContentTests.cs b/tests/Core/BodyContent/FluentBodyContentTests.cs index e7388dc299..f5fc70a763 100644 --- a/tests/Core/BodyContent/FluentBodyContentTests.cs +++ b/tests/Core/BodyContent/FluentBodyContentTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Xunit; namespace Microsoft.FluentUI.AspNetCore.Components.Tests.BodyContent; diff --git a/tests/Core/Breadcrumb/FluentBreadcrumbItemTests.cs b/tests/Core/Breadcrumb/FluentBreadcrumbItemTests.cs index f6bb1d6638..959b3b6acd 100644 --- a/tests/Core/Breadcrumb/FluentBreadcrumbItemTests.cs +++ b/tests/Core/Breadcrumb/FluentBreadcrumbItemTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/Breadcrumb/FluentBreadcrumbTests.cs b/tests/Core/Breadcrumb/FluentBreadcrumbTests.cs index 83e539782e..92bb02c9ac 100644 --- a/tests/Core/Breadcrumb/FluentBreadcrumbTests.cs +++ b/tests/Core/Breadcrumb/FluentBreadcrumbTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/Button/FluentButtonTests.cs b/tests/Core/Button/FluentButtonTests.cs index f5cf3d4bfd..0c3f913b02 100644 --- a/tests/Core/Button/FluentButtonTests.cs +++ b/tests/Core/Button/FluentButtonTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Microsoft.Extensions.DependencyInjection; diff --git a/tests/Core/Card/FluentCardTests.cs b/tests/Core/Card/FluentCardTests.cs index ad18112590..b592922ddc 100644 --- a/tests/Core/Card/FluentCardTests.cs +++ b/tests/Core/Card/FluentCardTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/Checkbox/FluentCheckboxTests.cs b/tests/Core/Checkbox/FluentCheckboxTests.cs index 8e040bc426..961b744d89 100644 --- a/tests/Core/Checkbox/FluentCheckboxTests.cs +++ b/tests/Core/Checkbox/FluentCheckboxTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/tests/Core/CounterBadge/FluentCounterBadgeTests.cs b/tests/Core/CounterBadge/FluentCounterBadgeTests.cs index 2c405d12f3..b27a51769e 100644 --- a/tests/Core/CounterBadge/FluentCounterBadgeTests.cs +++ b/tests/Core/CounterBadge/FluentCounterBadgeTests.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 Bunit; diff --git a/tests/Core/DataGrid/FluentDataGridColumSelectTests.razor.cs b/tests/Core/DataGrid/FluentDataGridColumSelectTests.razor.cs index 5c866db616..a241b1fe11 100644 --- a/tests/Core/DataGrid/FluentDataGridColumSelectTests.razor.cs +++ b/tests/Core/DataGrid/FluentDataGridColumSelectTests.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 Bunit; diff --git a/tests/Core/DataGrid/GridSortTests.cs b/tests/Core/DataGrid/GridSortTests.cs index 5bacbc3212..5f0f093306 100644 --- a/tests/Core/DataGrid/GridSortTests.cs +++ b/tests/Core/DataGrid/GridSortTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Xunit; diff --git a/tests/Core/DateTime/CalendarExtendedTests.cs b/tests/Core/DateTime/CalendarExtendedTests.cs index 9f8eca5e1f..12175c0fe1 100644 --- a/tests/Core/DateTime/CalendarExtendedTests.cs +++ b/tests/Core/DateTime/CalendarExtendedTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Xunit; namespace Microsoft.FluentUI.AspNetCore.Components.Tests.DateTime; diff --git a/tests/Core/DateTime/FluentCalendarTests.cs b/tests/Core/DateTime/FluentCalendarTests.cs index 4f4128a43c..cba6f4c719 100644 --- a/tests/Core/DateTime/FluentCalendarTests.cs +++ b/tests/Core/DateTime/FluentCalendarTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Globalization; using Bunit; using Xunit; diff --git a/tests/Core/DateTime/FluentDatePickerTests.cs b/tests/Core/DateTime/FluentDatePickerTests.cs index 7639705001..b0b06383eb 100644 --- a/tests/Core/DateTime/FluentDatePickerTests.cs +++ b/tests/Core/DateTime/FluentDatePickerTests.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/tests/Core/DateTime/FluentTimePickerTests.cs b/tests/Core/DateTime/FluentTimePickerTests.cs index 1ab68747f1..cc6603fd19 100644 --- a/tests/Core/DateTime/FluentTimePickerTests.cs +++ b/tests/Core/DateTime/FluentTimePickerTests.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.Extensions.DependencyInjection; @@ -61,7 +65,7 @@ public void FluentTimePicker_EmptyStringToNull() // Arrange var picker = new TestTimePicker() { - Value = System.DateTime.Today, // Default date + Value = System.DateTime.Today, // Default date }; // Set a value diff --git a/tests/Core/DateTime/RangeOfTests.cs b/tests/Core/DateTime/RangeOfTests.cs index 700c4924e3..0941f27544 100644 --- a/tests/Core/DateTime/RangeOfTests.cs +++ b/tests/Core/DateTime/RangeOfTests.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.Components.DateTime; diff --git a/tests/Core/DateTime/ToDateTimeExtensionsTests.cs b/tests/Core/DateTime/ToDateTimeExtensionsTests.cs index 24b710add7..be4b50c016 100644 --- a/tests/Core/DateTime/ToDateTimeExtensionsTests.cs +++ b/tests/Core/DateTime/ToDateTimeExtensionsTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.FluentUI.AspNetCore.Components.Extensions; using Xunit; diff --git a/tests/Core/DateTime/ToTimeAgoTests.cs b/tests/Core/DateTime/ToTimeAgoTests.cs index 1417cd7802..5c0f9b728f 100644 --- a/tests/Core/DateTime/ToTimeAgoTests.cs +++ b/tests/Core/DateTime/ToTimeAgoTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.FluentUI.AspNetCore.Components.Extensions; using Xunit; diff --git a/tests/Core/Drag/FluentDragTests.cs b/tests/Core/Drag/FluentDragTests.cs index 8a0d818501..2237628205 100644 --- a/tests/Core/Drag/FluentDragTests.cs +++ b/tests/Core/Drag/FluentDragTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/Extensions/AdditionalAttributesExtensionsShould.cs b/tests/Core/Extensions/AdditionalAttributesExtensionsShould.cs index c9d8ab0ff6..0c5163f43f 100644 --- a/tests/Core/Extensions/AdditionalAttributesExtensionsShould.cs +++ b/tests/Core/Extensions/AdditionalAttributesExtensionsShould.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using System.Collections; using Microsoft.FluentUI.AspNetCore.Components.Extensions; using Xunit; diff --git a/tests/Core/Extensions/Customer.cs b/tests/Core/Extensions/Customer.cs index 85ed228d1c..d41d3ebc52 100644 --- a/tests/Core/Extensions/Customer.cs +++ b/tests/Core/Extensions/Customer.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.Tests.Extensions; diff --git a/tests/Core/Extensions/SampleIcons.cs b/tests/Core/Extensions/SampleIcons.cs index f9e412fbe4..77fe611ef2 100644 --- a/tests/Core/Extensions/SampleIcons.cs +++ b/tests/Core/Extensions/SampleIcons.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components.Tests.Extensions; public static class SampleIcons diff --git a/tests/Core/FluentAssert.cs b/tests/Core/FluentAssert.cs index a17b38e87c..1e1a41e913 100644 --- a/tests/Core/FluentAssert.cs +++ b/tests/Core/FluentAssert.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using System.Runtime.CompilerServices; using System.Text.RegularExpressions; using AngleSharp.Dom; diff --git a/tests/Core/FluentAssertOptions.cs b/tests/Core/FluentAssertOptions.cs index 6cc99f0463..7d941238e3 100644 --- a/tests/Core/FluentAssertOptions.cs +++ b/tests/Core/FluentAssertOptions.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using AngleSharp.Diffing.Core; using AngleSharp.Dom; diff --git a/tests/Core/List/FluentComboboxTests.cs b/tests/Core/List/FluentComboboxTests.cs index 19019dd9bf..7576a709fb 100644 --- a/tests/Core/List/FluentComboboxTests.cs +++ b/tests/Core/List/FluentComboboxTests.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 Bunit; diff --git a/tests/Core/List/FluentPersonaTests.cs b/tests/Core/List/FluentPersonaTests.cs index 4ec08ce4ef..815e8ddcf3 100644 --- a/tests/Core/List/FluentPersonaTests.cs +++ b/tests/Core/List/FluentPersonaTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/tests/Core/MessageBar/FluentMessageBarTests.cs b/tests/Core/MessageBar/FluentMessageBarTests.cs index 5bd784343f..f718d1600a 100644 --- a/tests/Core/MessageBar/FluentMessageBarTests.cs +++ b/tests/Core/MessageBar/FluentMessageBarTests.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 Bunit; diff --git a/tests/Core/NavMenu/FluentNavGroupTests.cs b/tests/Core/NavMenu/FluentNavGroupTests.cs index d54616df82..258d21023a 100644 --- a/tests/Core/NavMenu/FluentNavGroupTests.cs +++ b/tests/Core/NavMenu/FluentNavGroupTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Microsoft.Extensions.DependencyInjection; using Microsoft.FluentUI.AspNetCore.Components.Tests.Extensions; diff --git a/tests/Core/NavMenu/FluentNavLinkTests.cs b/tests/Core/NavMenu/FluentNavLinkTests.cs index 7637e34c2d..f846c0e2ff 100644 --- a/tests/Core/NavMenu/FluentNavLinkTests.cs +++ b/tests/Core/NavMenu/FluentNavLinkTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Microsoft.AspNetCore.Components.Routing; using Microsoft.AspNetCore.Components.Web; using Microsoft.FluentUI.AspNetCore.Components.Tests.Extensions; diff --git a/tests/Core/NavMenu/FluentNavMenuTests.cs b/tests/Core/NavMenu/FluentNavMenuTests.cs index ac29ed0a2e..77a16ffc39 100644 --- a/tests/Core/NavMenu/FluentNavMenuTests.cs +++ b/tests/Core/NavMenu/FluentNavMenuTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/tests/Core/NumberField/FluentNumberFieldTests.cs b/tests/Core/NumberField/FluentNumberFieldTests.cs index e4800465d2..44e681c3cb 100644 --- a/tests/Core/NumberField/FluentNumberFieldTests.cs +++ b/tests/Core/NumberField/FluentNumberFieldTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Microsoft.AspNetCore.Components; diff --git a/tests/Core/Search/FluentSearchTests.cs b/tests/Core/Search/FluentSearchTests.cs index 766973452f..383212a5c9 100644 --- a/tests/Core/Search/FluentSearchTests.cs +++ b/tests/Core/Search/FluentSearchTests.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 Bunit; diff --git a/tests/Core/Slider/FluentSliderLabelTests.cs b/tests/Core/Slider/FluentSliderLabelTests.cs index 1a9f0c3204..1da9adb7a9 100644 --- a/tests/Core/Slider/FluentSliderLabelTests.cs +++ b/tests/Core/Slider/FluentSliderLabelTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + namespace Microsoft.FluentUI.AspNetCore.Components.Tests.Slider; using Bunit; diff --git a/tests/Core/Splitter/FluentSplitterTests.cs b/tests/Core/Splitter/FluentSplitterTests.cs index 5017397d41..8b2456fffb 100644 --- a/tests/Core/Splitter/FluentSplitterTests.cs +++ b/tests/Core/Splitter/FluentSplitterTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/TestBase.cs b/tests/Core/TestBase.cs index 480eacda50..858a393ee7 100644 --- a/tests/Core/TestBase.cs +++ b/tests/Core/TestBase.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; namespace Microsoft.FluentUI.AspNetCore.Components.Tests; diff --git a/tests/Core/Tooltip/FluentTooltipTests.cs b/tests/Core/Tooltip/FluentTooltipTests.cs index 67f7320ade..5359f24a4b 100644 --- a/tests/Core/Tooltip/FluentTooltipTests.cs +++ b/tests/Core/Tooltip/FluentTooltipTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.AspNetCore.Components; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/tests/Core/TreeView/FluentTreeViewItemsTests.razor.cs b/tests/Core/TreeView/FluentTreeViewItemsTests.razor.cs index 2f14eda7ea..7ef202410d 100644 --- a/tests/Core/TreeView/FluentTreeViewItemsTests.razor.cs +++ b/tests/Core/TreeView/FluentTreeViewItemsTests.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 Microsoft.FluentUI.AspNetCore.Components.Tests.TreeView; diff --git a/tests/Core/Utilities/CssBuilderTests.cs b/tests/Core/Utilities/CssBuilderTests.cs index 3f38b8359c..8b0677b8e7 100644 --- a/tests/Core/Utilities/CssBuilderTests.cs +++ b/tests/Core/Utilities/CssBuilderTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.FluentUI.AspNetCore.Components.Utilities; using Xunit; diff --git a/tests/Core/Utilities/DebounceActionTests.cs b/tests/Core/Utilities/DebounceActionTests.cs index 6ed60adef3..5fd329560f 100644 --- a/tests/Core/Utilities/DebounceActionTests.cs +++ b/tests/Core/Utilities/DebounceActionTests.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/tests/Core/Utilities/DebounceTaskTests.cs b/tests/Core/Utilities/DebounceTaskTests.cs index 6a80f67c74..40cd5de829 100644 --- a/tests/Core/Utilities/DebounceTaskTests.cs +++ b/tests/Core/Utilities/DebounceTaskTests.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/tests/Core/Utilities/InlineStyleBuilderTests.cs b/tests/Core/Utilities/InlineStyleBuilderTests.cs index 8c93467379..bf406eb27b 100644 --- a/tests/Core/Utilities/InlineStyleBuilderTests.cs +++ b/tests/Core/Utilities/InlineStyleBuilderTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.FluentUI.AspNetCore.Components.Utilities; using Xunit; @@ -83,7 +87,7 @@ public void InlineStyleBuilder_When() styleBuilder.AddStyle("div", "color", "red", true); styleBuilder.AddStyle("div", "color", "green", false); - // Assert + // Assert Assert.Equal("", styleBuilder.BuildMarkupString().Value); Assert.Equal(@"", styleBuilder.Build(newLineSeparator: false)); } @@ -98,7 +102,7 @@ public void InlineStyleBuilder_Build() styleBuilder.AddStyle("test1", "test", "", true); styleBuilder.AddStyle("test2", "", "", false); - // Assert + // Assert Assert.Null(styleBuilder.Build()); } } diff --git a/tests/Core/Utilities/SplitterTests.cs b/tests/Core/Utilities/SplitterTests.cs index 69abb4efbd..6f9ac600a4 100644 --- a/tests/Core/Utilities/SplitterTests.cs +++ b/tests/Core/Utilities/SplitterTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Xunit; namespace Microsoft.FluentUI.AspNetCore.Components.Tests.Utilities; diff --git a/tests/Core/Utilities/StyleBuilderTests.cs b/tests/Core/Utilities/StyleBuilderTests.cs index 155bef636a..e0411575a9 100644 --- a/tests/Core/Utilities/StyleBuilderTests.cs +++ b/tests/Core/Utilities/StyleBuilderTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Microsoft.FluentUI.AspNetCore.Components.Utilities; using Xunit; diff --git a/tests/Core/_ToDo/DesignSystemProvider/FluentDesignSystemProviderTests.cs b/tests/Core/_ToDo/DesignSystemProvider/FluentDesignSystemProviderTests.cs index cf2c57a4de..a5d04aa3f2 100644 --- a/tests/Core/_ToDo/DesignSystemProvider/FluentDesignSystemProviderTests.cs +++ b/tests/Core/_ToDo/DesignSystemProvider/FluentDesignSystemProviderTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Emoji/FluentEmojisTests.cs b/tests/Core/_ToDo/Emoji/FluentEmojisTests.cs index df7efc582d..e97813f636 100644 --- a/tests/Core/_ToDo/Emoji/FluentEmojisTests.cs +++ b/tests/Core/_ToDo/Emoji/FluentEmojisTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Microsoft.AspNetCore.Components.Web; using Xunit; diff --git a/tests/Core/_ToDo/Flipper/FluentFlipperTests.cs b/tests/Core/_ToDo/Flipper/FluentFlipperTests.cs index 8e0603a088..4ea3539d4a 100644 --- a/tests/Core/_ToDo/Flipper/FluentFlipperTests.cs +++ b/tests/Core/_ToDo/Flipper/FluentFlipperTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Footer/FluentFooterTests.cs b/tests/Core/_ToDo/Footer/FluentFooterTests.cs index 6627ef5985..ef542a59d7 100644 --- a/tests/Core/_ToDo/Footer/FluentFooterTests.cs +++ b/tests/Core/_ToDo/Footer/FluentFooterTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Highlighter/FluentHighlighterTests.cs b/tests/Core/_ToDo/Highlighter/FluentHighlighterTests.cs index 4be5d30bb6..104d3fcfd0 100644 --- a/tests/Core/_ToDo/Highlighter/FluentHighlighterTests.cs +++ b/tests/Core/_ToDo/Highlighter/FluentHighlighterTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/HorizontalScroll/FluentHorizontalScrollTests.cs b/tests/Core/_ToDo/HorizontalScroll/FluentHorizontalScrollTests.cs index 33db9c4702..4220b7496c 100644 --- a/tests/Core/_ToDo/HorizontalScroll/FluentHorizontalScrollTests.cs +++ b/tests/Core/_ToDo/HorizontalScroll/FluentHorizontalScrollTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/tests/Core/_ToDo/Main/FluentMainTests.cs b/tests/Core/_ToDo/Main/FluentMainTests.cs index 1cf8a74232..416c2eee67 100644 --- a/tests/Core/_ToDo/Main/FluentMainTests.cs +++ b/tests/Core/_ToDo/Main/FluentMainTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/MainLayout/FluentMainLayoutTests.cs b/tests/Core/_ToDo/MainLayout/FluentMainLayoutTests.cs index 8db255bff5..6a88d50956 100644 --- a/tests/Core/_ToDo/MainLayout/FluentMainLayoutTests.cs +++ b/tests/Core/_ToDo/MainLayout/FluentMainLayoutTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/tests/Core/_ToDo/Menu/FluentMenuItem.cs b/tests/Core/_ToDo/Menu/FluentMenuItem.cs index 3f9257d1ea..b635b0b6e3 100644 --- a/tests/Core/_ToDo/Menu/FluentMenuItem.cs +++ b/tests/Core/_ToDo/Menu/FluentMenuItem.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Menu/FluentMenuTests.cs b/tests/Core/_ToDo/Menu/FluentMenuTests.cs index e041a0098e..2743775cd1 100644 --- a/tests/Core/_ToDo/Menu/FluentMenuTests.cs +++ b/tests/Core/_ToDo/Menu/FluentMenuTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Microsoft.Extensions.DependencyInjection; using Xunit; diff --git a/tests/Core/_ToDo/MenuButton/FluentMenuButtonTests.cs b/tests/Core/_ToDo/MenuButton/FluentMenuButtonTests.cs index e522d3c0cc..d3a9927f43 100644 --- a/tests/Core/_ToDo/MenuButton/FluentMenuButtonTests.cs +++ b/tests/Core/_ToDo/MenuButton/FluentMenuButtonTests.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 Bunit; diff --git a/tests/Core/_ToDo/Overflow/FluentOverFlowItem.cs b/tests/Core/_ToDo/Overflow/FluentOverFlowItem.cs index 85a04af6bb..da59199273 100644 --- a/tests/Core/_ToDo/Overflow/FluentOverFlowItem.cs +++ b/tests/Core/_ToDo/Overflow/FluentOverFlowItem.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Overflow/FluentOverflowTests.cs b/tests/Core/_ToDo/Overflow/FluentOverflowTests.cs index 6e5ff92493..11415f3e4d 100644 --- a/tests/Core/_ToDo/Overflow/FluentOverflowTests.cs +++ b/tests/Core/_ToDo/Overflow/FluentOverflowTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Microsoft.AspNetCore.Components; using Xunit; diff --git a/tests/Core/_ToDo/Overlay/FluentOverlayTests.cs b/tests/Core/_ToDo/Overlay/FluentOverlayTests.cs index b066ff70b2..fda104f0c6 100644 --- a/tests/Core/_ToDo/Overlay/FluentOverlayTests.cs +++ b/tests/Core/_ToDo/Overlay/FluentOverlayTests.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 Bunit; diff --git a/tests/Core/_ToDo/Pagination/FluentPaginatorTests.cs b/tests/Core/_ToDo/Pagination/FluentPaginatorTests.cs index 4fe0bf0bda..e484328f55 100644 --- a/tests/Core/_ToDo/Pagination/FluentPaginatorTests.cs +++ b/tests/Core/_ToDo/Pagination/FluentPaginatorTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Popover/FluentPopoverTests.cs b/tests/Core/_ToDo/Popover/FluentPopoverTests.cs index 7da049256b..25381d2da2 100644 --- a/tests/Core/_ToDo/Popover/FluentPopoverTests.cs +++ b/tests/Core/_ToDo/Popover/FluentPopoverTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/PresenceBadge/FluentPresenceBadgeTests.cs b/tests/Core/_ToDo/PresenceBadge/FluentPresenceBadgeTests.cs index 2f58ee15a3..db19e63fdf 100644 --- a/tests/Core/_ToDo/PresenceBadge/FluentPresenceBadgeTests.cs +++ b/tests/Core/_ToDo/PresenceBadge/FluentPresenceBadgeTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Radio/FluentRadioGroupTests.cs b/tests/Core/_ToDo/Radio/FluentRadioGroupTests.cs index 1369b24e3b..b75bdd83b3 100644 --- a/tests/Core/_ToDo/Radio/FluentRadioGroupTests.cs +++ b/tests/Core/_ToDo/Radio/FluentRadioGroupTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components.Tests.Radio; using Bunit; using Microsoft.AspNetCore.Components; diff --git a/tests/Core/_ToDo/Radio/FluentRadioTests.cs b/tests/Core/_ToDo/Radio/FluentRadioTests.cs index a8af120231..19517b6a4b 100644 --- a/tests/Core/_ToDo/Radio/FluentRadioTests.cs +++ b/tests/Core/_ToDo/Radio/FluentRadioTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ namespace Microsoft.FluentUI.AspNetCore.Components.Tests.Radio; using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Skeleton/FluentSkeletonTests.cs b/tests/Core/_ToDo/Skeleton/FluentSkeletonTests.cs index 35fab86a85..bac84257ef 100644 --- a/tests/Core/_ToDo/Skeleton/FluentSkeletonTests.cs +++ b/tests/Core/_ToDo/Skeleton/FluentSkeletonTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Spacer/FluentSpacerTests.cs b/tests/Core/_ToDo/Spacer/FluentSpacerTests.cs index a0bece5f2d..1923df4a4d 100644 --- a/tests/Core/_ToDo/Spacer/FluentSpacerTests.cs +++ b/tests/Core/_ToDo/Spacer/FluentSpacerTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Stack/FluentStackTests.cs b/tests/Core/_ToDo/Stack/FluentStackTests.cs index 7fbb422b05..cd7c149871 100644 --- a/tests/Core/_ToDo/Stack/FluentStackTests.cs +++ b/tests/Core/_ToDo/Stack/FluentStackTests.cs @@ -1,3 +1,6 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Switch/FluentSwitchTests.cs b/tests/Core/_ToDo/Switch/FluentSwitchTests.cs index c86872c6b7..ec1871e5c2 100644 --- a/tests/Core/_ToDo/Switch/FluentSwitchTests.cs +++ b/tests/Core/_ToDo/Switch/FluentSwitchTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Tabs/FluentTabTests.cs b/tests/Core/_ToDo/Tabs/FluentTabTests.cs index 6143debb17..59f70af151 100644 --- a/tests/Core/_ToDo/Tabs/FluentTabTests.cs +++ b/tests/Core/_ToDo/Tabs/FluentTabTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Tabs/FluentTabsTests.cs b/tests/Core/_ToDo/Tabs/FluentTabsTests.cs index 423c6ec9b6..017e7e6436 100644 --- a/tests/Core/_ToDo/Tabs/FluentTabsTests.cs +++ b/tests/Core/_ToDo/Tabs/FluentTabsTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/TextArea/FluentTextAreaTests.cs b/tests/Core/_ToDo/TextArea/FluentTextAreaTests.cs index b64b1b56fd..678cde4854 100644 --- a/tests/Core/_ToDo/TextArea/FluentTextAreaTests.cs +++ b/tests/Core/_ToDo/TextArea/FluentTextAreaTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Microsoft.AspNetCore.Components; using Microsoft.Extensions.DependencyInjection; diff --git a/tests/Core/_ToDo/TextField/FluentTextFieldTests.cs b/tests/Core/_ToDo/TextField/FluentTextFieldTests.cs index 716e81805b..d8ad5ca3ba 100644 --- a/tests/Core/_ToDo/TextField/FluentTextFieldTests.cs +++ b/tests/Core/_ToDo/TextField/FluentTextFieldTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Microsoft.AspNetCore.Components; using Microsoft.Extensions.DependencyInjection; diff --git a/tests/Core/_ToDo/Toast/FluentToastProviderTests.cs b/tests/Core/_ToDo/Toast/FluentToastProviderTests.cs index 14a0f081bf..75a11399e5 100644 --- a/tests/Core/_ToDo/Toast/FluentToastProviderTests.cs +++ b/tests/Core/_ToDo/Toast/FluentToastProviderTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; @@ -19,7 +23,7 @@ public void FluentToastProvider_Default() .Add(p => p.Timeout, timeout) .Add(p => p.MaxToastCount, maxToastCount) .Add(p => p.RemoveToastsOnNavigation, removeToastsOnNavigation) - //.Add(p => p.ShowCloseButton, showCloseButton) + //.Add(p => p.ShowCloseButton, showCloseButton) ); //Act diff --git a/tests/Core/_ToDo/Toast/FluentToastTests.cs b/tests/Core/_ToDo/Toast/FluentToastTests.cs index 765d2d0fab..c671451e95 100644 --- a/tests/Core/_ToDo/Toast/FluentToastTests.cs +++ b/tests/Core/_ToDo/Toast/FluentToastTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Xunit; diff --git a/tests/Core/_ToDo/Toolbar/FluentToolbarTests.cs b/tests/Core/_ToDo/Toolbar/FluentToolbarTests.cs index 983a45fbaf..6ea320960a 100644 --- a/tests/Core/_ToDo/Toolbar/FluentToolbarTests.cs +++ b/tests/Core/_ToDo/Toolbar/FluentToolbarTests.cs @@ -1,3 +1,7 @@ +// ------------------------------------------------------------------------ +// This file is licensed to you under the MIT License. +// ------------------------------------------------------------------------ + using Bunit; using Microsoft.AspNetCore.Components; using Microsoft.Extensions.DependencyInjection;