From 8f24cbc27cf5143632e79decf82524126a7834c9 Mon Sep 17 00:00:00 2001 From: Roel de Bruijn Date: Mon, 6 Jul 2026 12:55:06 +0200 Subject: [PATCH 1/2] @ feat: port reset/override state and instant refresh from upstream Bring the global and channel settings admin pages up to the latest TrueLime.XbyK.ProjectSettings behavior (v1.7.0), scoped to project settings only (custom form settings are out of scope for this fork). Global settings page: - Add "Reset to developer defaults" page action (deletes the global record) with a destructive confirmation dialog - Disable the form with a "Create override" callout whenever no global record exists, previewing the developer defaults - List channels that have their own settings when no global record exists, noting the new global settings will not apply to them Channel settings page: - Add reset page action labeled "Reset to global settings" or "Reset to developer defaults" depending on whether global settings exist, with a destructive confirmation dialog - Disable the form with a "Create override" callout when no channel record exists; seed the override from the global settings and preview the effective (global) values so values do not jump - Base all form state and callouts on record existence instead of serialized-value comparison Both pages reload via NavigateTo(refetch) after create/reset so the form and callouts update immediately without a manual browser refresh. Docs: update the README and Usage Guide admin UI sections accordingly. Co-Authored-By: Claude Opus 4.8 (1M context) @ --- README.md | 8 ++ docs/Usage-Guide.md | 30 +++- .../Pages/ChannelSettingsEditPage.cs | 132 +++++++++++------- .../Pages/GlobalSettingsEditPage.cs | 73 ++++++++-- 4 files changed, 175 insertions(+), 68 deletions(-) diff --git a/README.md b/README.md index b4d6a46..42b4323 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,14 @@ Settings are managed through the Kentico admin interface and retrieved programma **Key Concept:** Whether settings are global or channel-specific is determined by which admin UI page you create. The same settings class can be used for both contexts. +### Admin UI + +- Until you explicitly **create an override**, the form stays disabled and previews the values currently in effect — the developer defaults on the global page, or the global settings (falling back to developer defaults) on a channel page. +- A **Reset** page action removes an override with a destructive confirmation. On the global page it resets to the developer defaults; on a channel page it resets to the global settings, or the developer defaults when none exist. +- Creating or resetting an override refreshes the page immediately, and the global page lists any channels that have their own settings. + +See the [Usage Guide](https://github.com/roeldeb/xperiencecommunity-projectsettings/blob/main/docs/Usage-Guide.md#admin-ui-features) for the full behavior. + ## Requirements ### Library Version Matrix diff --git a/docs/Usage-Guide.md b/docs/Usage-Guide.md index 74d4dbb..9120ae1 100644 --- a/docs/Usage-Guide.md +++ b/docs/Usage-Guide.md @@ -271,18 +271,34 @@ When you inject `IOptions`, settings are resolved automatically based on the ### Admin UI Features +Both admin pages base their state purely on whether a settings **record** exists — not on +whether the stored values happen to match the developer defaults. This means the editable form +only appears once you have explicitly created an override, and the callouts always describe +which values are currently in effect. Creating or resetting an override reloads the page, so the +form and callouts update immediately without a manual browser refresh. + **Global Settings Page:** -- Shows warning when using developer defaults (no saved settings) -- "Create override" button to save initial settings -- Shows links to channels that have overrides +- When no global record exists, the form is **disabled** and previews the developer defaults. A + "Using developer defaults" callout with a **Create override** button lets you store an initial + record so the settings become editable. +- When a global record exists, a **Reset to developer defaults** page action deletes the record + (with a destructive confirmation dialog) so the system falls back to the developer defaults. +- Lists the channels that have their own settings (as links). When creating global settings, it + notes that those channels already override the global values and will not be affected. **Channel Settings Page:** -- Shows warning when overriding global settings -- "Reset to default" button to remove channel-specific settings -- "Create override" button to create channel-specific settings -- Only supports Website channels +- When no channel record exists, the form is **disabled** and previews the effective values — the + global settings when they exist, otherwise the developer defaults. A **Create override** button + seeds a new channel record from those effective values, so creating an override does not change + the values already in effect. +- When a channel record exists, a **Reset** page action removes it (with a destructive + confirmation dialog). It is labeled **Reset to global settings** when global settings exist, + or **Reset to developer defaults** when they do not. +- An "Overriding global settings" callout links back to the global settings page when the channel + record overrides global values. +- Only supports Website channels. ## Key Types diff --git a/src/XperienceCommunity.ProjectSettings/Pages/ChannelSettingsEditPage.cs b/src/XperienceCommunity.ProjectSettings/Pages/ChannelSettingsEditPage.cs index 8a0b74f..d8ac5d3 100644 --- a/src/XperienceCommunity.ProjectSettings/Pages/ChannelSettingsEditPage.cs +++ b/src/XperienceCommunity.ProjectSettings/Pages/ChannelSettingsEditPage.cs @@ -20,6 +20,10 @@ public class ChannelSettingsEditPage(Kentico.Xperience.Admin.Base.Forms.Inter private T model = new(); private ProjectSettingsInfo? currentSetting; + // Resolved via the service locator instead of constructor injection + // to keep the constructor signature backwards compatible for consumers + private static IPageLinkGenerator PageLinkGenerator => Service.Resolve(); + protected override T Model { get @@ -59,47 +63,60 @@ public override Task ConfigurePage() { PopulateData(); - var callouts = new List(); + bool globalSettingsExist = GlobalSettingsExist(); - bool overridesGlobalSettings = CheckIfSettingOverridesGlobal(); - if (overridesGlobalSettings) + if (currentSetting is { ProjectSettingsID: > 0 }) { - if (currentSetting is { ProjectSettingsID: > 0 }) + string resetLabel = globalSettingsExist ? "Reset to global settings" : "Reset to developer defaults"; + + PageConfiguration.AdditionalActions.Add(new ButtonEditTemplateActionComponent(ActionType.Command) { - var callout = new CalloutConfiguration + Label = resetLabel, + Parameter = nameof(ResetToDefault), + ButtonColor = ButtonColor.Secondary, + Destructive = true, + ConfirmationDialog = new ConfirmationDialog { - Headline = "Warning", - Content = $"These settings override global settings", - ContentAsHtml = true, - Type = CalloutType.FriendlyWarning, - ActionButton = new CalloutCommandButtonConfiguration - { - ClickCommandName = nameof(ResetToDefault), - Text = "Reset to default" - } - }; - - callouts.Add(callout); - } - else - { - PageConfiguration.EditMode = FormEditMode.Disabled; + Title = resetLabel, + Detail = globalSettingsExist + ? "The channel-specific settings will be deleted and the global settings will apply." + : "The channel-specific settings will be deleted and the system will use the developer defaults.", + Button = "Reset", + Destructive = true + } + }); + } - var callout = new CalloutConfiguration + var callouts = new List(); + + if (currentSetting is { ProjectSettingsID: 0 }) + { + PageConfiguration.EditMode = FormEditMode.Disabled; + + callouts.Add(new CalloutConfiguration + { + Headline = globalSettingsExist ? "Using global settings" : "Using developer defaults", + Content = globalSettingsExist + ? $"This channel has no settings of its own — the global settings apply and are shown below. Create an override to use different values for this channel." + : "This channel has no settings of its own and no global settings exist — the developer defaults apply and are shown below. Create an override to use different values for this channel.", + ContentAsHtml = true, + Type = CalloutType.FriendlyWarning, + ActionButton = new CalloutCommandButtonConfiguration { - Headline = "Warning", - Content = $"There are global settings available. Do you want to override these settings?", - ContentAsHtml = true, - Type = CalloutType.FriendlyWarning, - ActionButton = new CalloutCommandButtonConfiguration - { - ClickCommandName = nameof(CreateOverride), - Text = "Create override" - } - }; - - callouts.Add(callout); - } + ClickCommandName = nameof(CreateOverride), + Text = "Create override" + } + }); + } + else if (globalSettingsExist) + { + callouts.Add(new CalloutConfiguration + { + Headline = "Overriding global settings", + Content = $"These channel-specific settings override the global settings. Use \"Reset to global settings\" to return to the global values.", + ContentAsHtml = true, + Type = CalloutType.FriendlyWarning + }); } if (!string.IsNullOrEmpty(Model.SettingsExplanation)) @@ -124,14 +141,6 @@ public override Task ConfigurePage() return base.ConfigurePage(); } - [PageCommand] - public async Task LoadData() - { - await ConfigurePage(); - - return Response(); - } - [PageCommand] public async Task ResetToDefault() { @@ -141,8 +150,8 @@ public async Task ResetToDefault() { await ProjectSettingsInfo.Provider.DeleteAsync(currentSetting); - return Response().UseCommand("LoadData") - .AddSuccessMessage("Channel-specific settings removed. Using global defaults."); + // Reload the current page so ConfigurePage reflects the removed override + return NavigateTo(GetCurrentPagePath(), true); } return Response() @@ -164,10 +173,14 @@ public async Task CreateOverride() { if (currentSetting is { ProjectSettingsID: 0 }) { + // Seed the override from the global settings (when available) + // so creating it doesn't change the effective values + currentSetting.ProjectSettingsValue = GetGlobalSettingsValue() ?? string.Empty; + await ProjectSettingsInfo.Provider.SetAsync(currentSetting); - return Response() - .AddSuccessMessage("Channel-specific settings created."); + // Reload the current page so ConfigurePage re-enables the form + return NavigateTo(GetCurrentPagePath(), true); } return Response() @@ -175,19 +188,28 @@ public async Task CreateOverride() } catch (Exception ex) { - EventLogService.LogException(nameof(ChannelSettingsEditPage), nameof(ResetToDefault), ex); + EventLogService.LogException(nameof(ChannelSettingsEditPage), nameof(CreateOverride), ex); return Response() .AddErrorMessage("Unable to create channel-specific settings. Check eventlog for more details!"); } } - private bool CheckIfSettingOverridesGlobal() => ProjectSettingsInfo.Provider.Get() + private string GetCurrentPagePath() => PageLinkGenerator.GetPath(GetType(), new PageParameterValues + { + { typeof(ProjectSettingsChannelEditSection), ObjectId } + }); + + private bool GlobalSettingsExist() => ProjectSettingsInfo.Provider.Get() .WhereEquals(nameof(ProjectSettingsInfo.ProjectSettingsName), Model.SettingsName) .WhereEquals(nameof(ProjectSettingsInfo.ProjectSettingsChannelID), 0) - .WhereNotEquals(nameof(ProjectSettingsInfo.ProjectSettingsValue), JsonSerializer.Serialize(Model)) .Any(); + private string? GetGlobalSettingsValue() => ProjectSettingsInfo.Provider.Get() + .WhereEquals(nameof(ProjectSettingsInfo.ProjectSettingsName), Model.SettingsName) + .WhereEquals(nameof(ProjectSettingsInfo.ProjectSettingsChannelID), 0) + .FirstOrDefault()?.ProjectSettingsValue; + protected override async Task ProcessFormData(T model, ICollection formItems) { try @@ -244,8 +266,14 @@ private void PopulateData() ProjectSettingsDisplayName = Model.SettingsDisplayName }; - model = !string.IsNullOrWhiteSpace(currentSetting.ProjectSettingsValue) - ? JsonSerializer.Deserialize(currentSetting.ProjectSettingsValue) ?? new T() + // Without a channel record, the global settings (when available) are + // the effective values, so show those in the disabled form + string? settingsValue = currentSetting.ProjectSettingsID > 0 + ? currentSetting.ProjectSettingsValue + : GetGlobalSettingsValue(); + + model = !string.IsNullOrWhiteSpace(settingsValue) + ? JsonSerializer.Deserialize(settingsValue) ?? new T() : new T(); } } diff --git a/src/XperienceCommunity.ProjectSettings/Pages/GlobalSettingsEditPage.cs b/src/XperienceCommunity.ProjectSettings/Pages/GlobalSettingsEditPage.cs index 2ed5439..794126a 100644 --- a/src/XperienceCommunity.ProjectSettings/Pages/GlobalSettingsEditPage.cs +++ b/src/XperienceCommunity.ProjectSettings/Pages/GlobalSettingsEditPage.cs @@ -21,6 +21,10 @@ public class GlobalSettingsEditPage( private T model = new(); private ProjectSettingsInfo? currentSetting; + // Resolved via the service locator instead of constructor injection + // to keep the constructor signature backwards compatible for consumers + private static IPageLinkGenerator PageLinkGenerator => Service.Resolve(); + protected override T Model { get @@ -39,14 +43,16 @@ public override Task ConfigurePage() var callouts = new List(); + var overrideChannelNames = GetOverrideChannels(); + if (currentSetting is { ProjectSettingsID: 0 }) { PageConfiguration.EditMode = FormEditMode.Disabled; var callout = new CalloutConfiguration { - Headline = "Warning", - Content = "System is using developer defaults, do you want to change these settings?", + Headline = "Using developer defaults", + Content = "These settings are not stored yet — the values shown below are the developer defaults. Create an override to edit and save them.", ContentAsHtml = true, Type = CalloutType.FriendlyWarning, ActionButton = new CalloutCommandButtonConfiguration @@ -57,16 +63,41 @@ public override Task ConfigurePage() }; callouts.Add(callout); + + if (overrideChannelNames.Count > 0) + { + callouts.Add(new() + { + Headline = "Channel settings exist", + Content = $"Channel(s) {GetChannelSettingLinks(overrideChannelNames)} already have their own settings. Global settings created here will not apply to those channels.", + ContentAsHtml = true, + Type = CalloutType.FriendlyWarning + }); + } } else { - var overrideChannelNames = GetOverrideChannels(); + PageConfiguration.AdditionalActions.Add(new ButtonEditTemplateActionComponent(ActionType.Command) + { + Label = "Reset to developer defaults", + Parameter = nameof(ResetToDeveloperDefaults), + ButtonColor = ButtonColor.Secondary, + Destructive = true, + ConfirmationDialog = new ConfirmationDialog + { + Title = "Reset to developer defaults", + Detail = "The global settings will be deleted and the system will use the developer defaults.", + Button = "Reset", + Destructive = true + } + }); + if (overrideChannelNames.Count > 0) { callouts.Add(new() { - Headline = "Warning", - Content = $"There are overrides for these settings in channel(s): {GetChannelSettingLinks(overrideChannelNames)}", + Headline = "Channel overrides exist", + Content = $"These settings are overridden in channel(s): {GetChannelSettingLinks(overrideChannelNames)}. Changes saved here will not apply to those channels.", ContentAsHtml = true, Type = CalloutType.FriendlyWarning }); @@ -107,8 +138,8 @@ public async Task CreateOverride() { await ProjectSettingsInfo.Provider.SetAsync(currentSetting); - return Response() - .AddSuccessMessage("Project settings created."); + // Reload the current page so ConfigurePage re-enables the form + return NavigateTo(PageLinkGenerator.GetPath(GetType()), true); } return Response() @@ -116,19 +147,43 @@ public async Task CreateOverride() } catch (Exception ex) { - EventLogService.LogException(nameof(ChannelSettingsEditPage), nameof(CreateOverride), ex); + EventLogService.LogException(nameof(GlobalSettingsEditPage), nameof(CreateOverride), ex); return Response() .AddErrorMessage("Unable to create project settings. Check eventlog for more details!"); } } + [PageCommand] + public async Task ResetToDeveloperDefaults() + { + try + { + if (currentSetting is { ProjectSettingsID: > 0 }) + { + await ProjectSettingsInfo.Provider.DeleteAsync(currentSetting); + + // Reload the current page so ConfigurePage reflects the removed settings + return NavigateTo(PageLinkGenerator.GetPath(GetType()), true); + } + + return Response() + .AddWarningMessage("Already using developer defaults."); + } + catch (Exception ex) + { + EventLogService.LogException(nameof(GlobalSettingsEditPage), nameof(ResetToDeveloperDefaults), ex); + + return Response() + .AddErrorMessage("Unable to reset settings. Check eventlog for more details!"); + } + } + private Dictionary GetOverrideChannels() { var channelIdsQuery = ProjectSettingsInfo.Provider.Get() .WhereEquals(nameof(ProjectSettingsInfo.ProjectSettingsName), Model.SettingsName) .WhereGreaterThan(nameof(ProjectSettingsInfo.ProjectSettingsChannelID), 0) - .WhereNotEquals(nameof(ProjectSettingsInfo.ProjectSettingsValue), JsonSerializer.Serialize(Model)) .AsSingleColumn(nameof(ProjectSettingsInfo.ProjectSettingsChannelID)); var channelNames = ChannelInfo.Provider.Get() From 1f55e27d2fb2ccd27c2cc0e412be2506d64c8eff Mon Sep 17 00:00:00 2001 From: Roel de Bruijn Date: Mon, 6 Jul 2026 14:08:52 +0200 Subject: [PATCH 2/2] Refactor channel settings and normalize line endings --- .editorconfig | 2 +- .gitattributes | 9 +- .../SampleDataGeneratorApplication.cs | 2 +- .../UIPages/ProductLinkedOnceRule.cs | 2 +- .../ProductLinkedOnceRuleProperties.cs | 2 +- .../UIPages/UniqueProductSkuValidationRule.cs | 2 +- .../Checkout/DancingGoatCheckoutController.cs | 2 +- .../ProductSkuValidationEventHandler.cs | 2 +- .../Extractors/CoffeeParametersExtractor.cs | 2 +- .../Extractors/GrinderParametersExtractor.cs | 2 +- .../IProductTypeParametersExtractor.cs | 2 +- .../IProductTypeVariantsExtractor.cs | 2 +- .../ProductManufacturerExtractor.cs | 2 +- .../Extractors/ProductParametersExtractor.cs | 2 +- ...uctTemplateAlphaSizeParametersExtractor.cs | 2 +- ...oductTemplateAlphaSizeVariantsExtractor.cs | 2 +- .../Extractors/ProductVariantsExtractor.cs | 2 +- .../DancingGoatPriceCalculationRequest.cs | 2 +- .../DancingGoatPriceCalculationRequestItem.cs | 2 +- .../DancingGoatPriceCalculationResult.cs | 2 +- .../DancingGoatPriceCalculationResultItem.cs | 2 +- .../DancingGoatProductData.cs | 2 +- .../DancingGoatTaxRateConstants.cs | 2 +- .../PriceCalculationTotalsCalculator.cs | 2 +- .../ProductVariantIdentifier.cs | 2 +- .../DancingGoat/Commerce/PriceFormatter.cs | 2 +- .../DancingGoatCatalogPromotionCandidate.cs | 2 +- .../DancingGoatCatalogPromotionRule.cs | 2 +- ...ncingGoatCatalogPromotionRuleProperties.cs | 2 +- .../DancingGoatOrderPromotionRule.cs | 2 +- .../ProductPromotionSchemaFilter.cs | 2 +- .../Promotions/UpsellOrderDiscountService.cs | 2 +- .../Repositories/CountryStateRepository.cs | 2 +- .../Repositories/PaymentRepository.cs | 2 +- .../Repositories/ProductRepository.cs | 2 +- .../Repositories/PromotionCouponRepository.cs | 2 +- .../Repositories/ShippingRepository.cs | 2 +- .../Commerce/Services/CalculationService.cs | 2 +- .../Services/CustomerDataRetriever.cs | 2 +- .../DancingGoatTaxPriceCalculationStep.cs | 2 +- .../Commerce/Services/OrderNumberGenerator.cs | 2 +- .../Commerce/Services/OrderService.cs | 2 +- .../Commerce/Services/ProductDataRetriever.cs | 2 +- .../Commerce/Services/ProductNameProvider.cs | 2 +- .../Commerce/Services/ProductSkuValidator.cs | 2 +- .../Commerce/ShoppingCart/CouponCodeStatus.cs | 2 +- .../ShoppingCart/CouponCodeViewModel.cs | 2 +- .../DancingGoatShoppingCartController.cs | 2 +- .../ShoppingCart/ShoppingCartDataItem.cs | 2 +- .../ShoppingCart/ShoppingCartDataModel.cs | 2 +- .../ShoppingCartDataModelExtensions.cs | 2 +- .../Components/ComponentIdentifiers.cs | 2 +- .../FormBuilderComponentRegister.cs | 2 +- .../TitledSection/TitledSectionProperties.cs | 2 +- .../TitledSection/_TitledSection.cshtml | 2 +- .../ColorPickerEditorViewModel.cs | 2 +- .../_ColorPickerEditor.cshtml | 2 +- .../InlineEditors/InlineEditorViewModel.cs | 2 +- .../TextEditor/TextEditorViewModel.cs | 2 +- .../TextEditor/_TextEditor.cshtml | 2 +- .../PageBuilderComponentRegister.cs | 2 +- .../IsInContactGroupConditionType.cs | 2 +- .../Sections/ThemeSectionProperties.cs | 2 +- .../ThreeColumnSectionProperties.cs | 2 +- .../_DancingGoat_ThreeColumnSection.cshtml | 2 +- .../Components/Sections/ZoneRestrictions.cs | 2 +- .../_DancingGoat_Section_25_75.cshtml | 2 +- .../_DancingGoat_Section_75_25.cshtml | 2 +- .../_DancingGoat_SingleColumnSection.cshtml | 2 +- .../_DancingGoat_TwoColumnSection.cshtml | 2 +- .../Articles/ArticlesViewComponent.cs | 2 +- .../ViewComponents/Articles/Default.cshtml | 2 +- .../Banner/BannerViewComponent.cs | 2 +- .../ViewComponents/Banner/Default.cshtml | 2 +- .../ViewComponents/Cafe/CafeViewComponent.cs | 2 +- .../ViewComponents/Cafe/Default.cshtml | 2 +- .../CafeCardSectionViewComponent.cs | 2 +- .../CafeCardSectionViewModel.cs | 2 +- .../CafeCardSection/Default.cshtml | 2 +- .../CompanyAddressViewComponent.cs | 2 +- .../CompanyAddress/Default.cshtml | 2 +- .../NavigationMenu/Default.cshtml | 2 +- .../NavigationMenuViewComponent.cs | 2 +- .../NavigationMenu/NavigationService.cs | 2 +- .../ViewComponents/SocialLinks/Default.cshtml | 2 +- .../SocialLinks/SocialLinksViewComponent.cs | 2 +- .../TrackingConsent/Default.cshtml | 2 +- .../TrackingConsentViewComponent.cs | 2 +- .../CTAButton/CTAButtonWidgetProperties.cs | 2 +- .../CTAButton/CTAButtonWidgetViewModel.cs | 2 +- ...DancingGoat_General_CTAButtonWidget.cshtml | 2 +- .../CardWidget/CardWidgetProperties.cs | 2 +- .../CardWidget/CardWidgetViewComponent.cs | 2 +- .../Widgets/CardWidget/CardWidgetViewModel.cs | 2 +- .../Widgets/CardWidget/_CardWidget.cshtml | 2 +- .../HeroImageWidgetProperties.cs | 2 +- .../HeroImageWidgetViewComponent.cs | 2 +- .../HeroImageWidgetViewModel.cs | 2 +- .../HeroImageWidget/_HeroImageWidget.cshtml | 2 +- .../ProductCardListViewModel.cs | 2 +- .../ProductCardProperties.cs | 2 +- .../ProductCardSchemaFilter.cs | 2 +- .../ProductCardWidget/ProductCardViewModel.cs | 2 +- .../ProductCardWidgetViewComponent.cs | 2 +- .../_ProductCardWidget.cshtml | 2 +- ...gGoat_LandingPage_TestimonialWidget.cshtml | 2 +- .../Components/_ViewImports.cshtml | 2 +- .../Controllers/AccountController.cs | 2 +- .../Controllers/ConsentController.cs | 2 +- .../DancingGoatArticleController.cs | 2 +- .../DancingGoatConfirmationController.cs | 2 +- .../DancingGoatContactsController.cs | 2 +- .../Controllers/DancingGoatHomeController.cs | 2 +- .../DancingGoatLandingPageController.cs | 2 +- .../DancingGoatPrivacyController.cs | 2 +- .../DancingGoatProductCategoryController.cs | 2 +- .../DancingGoatProductDetailController.cs | 2 +- .../DancingGoatProductSectionController.cs | 2 +- .../Controllers/DancingGoatStoreController.cs | 2 +- .../Controllers/HttpErrorsController.cs | 2 +- .../Controllers/SiteMapController.cs | 2 +- examples/DancingGoat/DancingGoatConstants.cs | 2 +- .../DancingGoatTaxonomyConstants.cs | 2 +- .../DancingGoatFullWidthEmailSection.razor | 2 +- .../DancingGoatFullWidthEmailSection.razor.cs | 2 +- .../DancingGoatTwoColumnEmailSection.razor | 2 +- .../DancingGoatTwoColumnEmailSection.razor.cs | 2 +- .../DancingGoatEmailBuilderTemplate.razor | 2 +- .../DancingGoatEmailBuilderTemplate.razor.cs | 2 +- .../DancingGoatButtonWidget.razor | 2 +- .../DancingGoatButtonWidget.razor.cs | 2 +- .../DancingGoatButtonWidgetProperties.cs | 2 +- .../Widgets/Enums/DancingGoatButtonType.cs | 2 +- .../Enums/DancingGoatHorizontalAlignment.cs | 2 +- .../ImageWidget/DancingGoatImageWidget.razor | 2 +- .../DancingGoatImageWidget.razor.cs | 2 +- .../DancingGoatImageWidgetProperties.cs | 2 +- .../TextWidget/DancingGoatTextWidget.razor | 2 +- .../TextWidget/DancingGoatTextWidget.razor.cs | 2 +- .../DancingGoatTextWidgetProperties.cs | 2 +- examples/DancingGoat/Gruntfile.js | 2 +- .../Helpers/AreaRestrictionHelper.cs | 2 +- .../Helpers/ExpressionExtensions.cs | 2 +- .../FormConsentContactGroupGenerator.cs | 2 +- .../DataProtection/FormConsentGenerator.cs | 2 +- .../TrackingConsentGenerator.cs | 2 +- .../DigitalMarketing/ActivitiesGenerator.cs | 2 +- .../DigitalMarketing/ContactsGenerator.cs | 2 +- .../CustomerJourneyGenerator.cs | 2 +- .../DigitalMarketingGeneratorConstants.cs | 2 +- .../Generators/ForbiddenPasswordGenerator.cs | 2 +- .../Helpers/HtmlHelperExtensions.cs | 2 +- .../ActiveProductCategoryLinkTagHelper.cs | 2 +- .../Helpers/TagHelpers/EmailTagHelper.cs | 2 +- .../TagHelpers/LanguageLinkTagHelper.cs | 2 +- .../Helpers/TagHelpers/PriceTagHelper.cs | 2 +- .../Models/Account/LoginViewModel.cs | 2 +- .../Models/Account/RegisterViewModel.cs | 2 +- .../Models/Consent/ConsentViewModel.cs | 2 +- .../Models/Email/BuilderEmail.generated.cs | 2 +- .../Models/Reusable/Banner/BannerViewModel.cs | 2 +- .../Models/Reusable/Cafe/CafeViewModel.cs | 2 +- .../Reusable/Contact/ContactViewModel.cs | 2 +- .../Models/Reusable/Event/EventViewModel.cs | 2 +- .../ProductAccessory.generated.cs | 2 +- .../ProductBrewer/ProductBrewer.generated.cs | 2 +- .../ProductCoffee/ProductCoffee.generated.cs | 2 +- .../ProductGrinder.generated.cs | 2 +- .../ProductTemplateAlphaSize.generated.cs | 2 +- .../Reusable/Reference/ReferenceViewModel.cs | 2 +- .../SocialLink/SocialLinkViewModel.cs | 2 +- .../Models/Reusable/Tag/TagViewModel.cs | 2 +- .../Reusable/Taxonomy/TaxonomyViewModel.cs | 2 +- .../Models/Schema/IProductFields.generated.cs | 2 +- .../ArticlePage/ArticleDetailViewModel.cs | 2 +- .../WebPage/ArticlePage/ArticleViewModel.cs | 2 +- .../ArticlePage/RelatedPageViewModel.cs | 2 +- .../ArticlesSectionViewModel.cs | 2 +- .../CheckoutPage/CheckoutFormConstants.cs | 2 +- .../WebPage/CheckoutPage/CheckoutStep.cs | 2 +- .../WebPage/CheckoutPage/CheckoutViewModel.cs | 2 +- .../CheckoutPage/ConfirmOrderViewModel.cs | 2 +- .../CheckoutPage/CustomerAddressViewModel.cs | 2 +- .../WebPage/CheckoutPage/CustomerDto.cs | 2 +- .../WebPage/CheckoutPage/CustomerViewModel.cs | 2 +- .../CheckoutPage/PaymentShippingViewModel.cs | 2 +- .../CheckoutPage/ShippingAddressViewModel.cs | 2 +- .../ConfirmationPageViewModel.cs | 2 +- .../ContactsPage/ContactsIndexViewModel.cs | 2 +- .../WebPage/HomePage/HomePageViewModel.cs | 2 +- .../Models/WebPage/IWebPageBasedViewModel.cs | 2 +- .../NavigationItem/NavigationItemViewModel.cs | 2 +- .../PrivacyPage/PrivacyConsentViewModel.cs | 2 +- .../PrivacyPage/PrivacyPageConstants.cs | 2 +- .../WebPage/PrivacyPage/PrivacyViewModel.cs | 2 +- .../ProductListingViewModel.cs | 2 +- .../ProductPage/ProductListItemViewModel.cs | 2 +- .../ProductPage/ProductListViewModel.cs | 2 +- .../ProductSectionListViewModel.cs | 2 +- .../WebPage/ProductPage/ProductViewModel.cs | 2 +- .../Models/WebPage/SEOSchemaDataRetriever.cs | 2 +- .../ShoppingCart/ShoppingCartItemViewModel.cs | 2 +- .../ShoppingCart/ShoppingCartViewModel.cs | 2 +- .../Models/WebPage/Store/StoreViewModel.cs | 2 +- .../PageTemplates/Article/_Article.cshtml | 2 +- .../Article/_ArticleWithSidebar.cshtml | 2 +- .../LandingPageSingleColumnProperties.cs | 2 +- ...DancingGoat_LandingPageSingleColumn.cshtml | 2 +- .../PageTemplates/_ViewImports.cshtml | 2 +- .../ProductTagTaxonomyConstants.cs | 2 +- examples/DancingGoat/Program.cs | 2 +- .../Resources/DancingGoatResources.cs | 2 +- .../Resources/DancingGoatResources.resx | 2 +- .../DancingGoat/Resources/SharedResources.cs | 2 +- .../Resources/SharedResources.es.resx | 2 +- .../DancingGoatSamplesModule.cs | 2 +- .../SampleContactInfoIdentityCollector.cs | 2 +- .../SampleMemberInfoIdentityCollector.cs | 2 +- .../SampleProfileInfoIdentityCollector.cs | 2 +- .../PersonalDataCollectors/CollectedColumn.cs | 2 +- .../SampleContactDataCollector.cs | 2 +- .../SampleContactDataCollectorCore.cs | 2 +- .../SampleCustomerDataCollectorCore.cs | 2 +- .../SampleMemberDataCollector.cs | 2 +- .../SampleMemberDataCollectorCore.cs | 2 +- .../SampleProfileDataCollector.cs | 2 +- .../HumanReadablePersonalDataWriter.cs | 2 +- .../Writers/IPersonalDataWriter.cs | 2 +- .../Writers/XmlPersonalDataWriter.cs | 2 +- .../SampleContactPersonalDataEraser.cs | 2 +- .../SampleMemberPersonalDataEraser.cs | 2 +- .../SampleProfilePersonalDataEraser.cs | 2 +- .../EmailActivityTrackingEvaluator.cs | 2 +- ...tWebsiteChannelPrimaryLanguageRetriever.cs | 2 +- .../Services/IApplicationBuilderExtensions.cs | 2 +- .../Services/IServiceCollectionExtensions.cs | 2 +- .../DancingGoat/Services/TagTitleRetriever.cs | 2 +- .../Services/WebPageUrlProvider.cs | 2 +- .../DancingGoat/Views/Account/Login.cshtml | 2 +- .../DancingGoat/Views/Account/Register.cshtml | 2 +- .../Views/DancingGoatArticle/Index.cshtml | 2 +- .../DancingGoatArticle/RelatedPages.cshtml | 2 +- .../DancingGoatCheckout/ConfirmOrder.cshtml | 2 +- .../CustomerAddressViewModel.cshtml | 2 +- .../EditorTemplates/CustomerViewModel.cshtml | 2 +- .../PaymentShippingViewModel.cshtml | 2 +- .../Views/DancingGoatCheckout/Index.cshtml | 2 +- .../_CheckoutCustomer.cshtml | 2 +- .../_OrderConfirmation.cshtml | 2 +- .../_ShoppingCartCheckoutCustomerData.cshtml | 2 +- .../_ShoppingCartContentPreview.cshtml | 2 +- .../DancingGoatConfirmation/Index.cshtml | 2 +- .../Views/DancingGoatContacts/Index.cshtml | 2 +- .../Views/DancingGoatHome/Index.cshtml | 2 +- .../Views/DancingGoatPrivacy/Index.cshtml | 2 +- .../Views/DancingGoatProduct/Filter.cshtml | 2 +- .../Views/DancingGoatProduct/Index.cshtml | 2 +- .../DancingGoatProduct/ProductsList.cshtml | 2 +- .../DancingGoatProductCategory/Index.cshtml | 2 +- .../ProductsList.cshtml | 2 +- .../DancingGoatProductDetail/Index.cshtml | 2 +- .../DancingGoatShoppingCart/Index.cshtml | 2 +- .../_ShoppingCartContentEdit.cshtml | 2 +- .../Views/DancingGoatStore/Index.cshtml | 2 +- .../DancingGoatStore/ProductsList.cshtml | 2 +- .../Views/HttpErrors/NotFound.cshtml | 2 +- .../ProductCategoryMenu.cshtml | 2 +- .../DisplayTemplates/ProductListItem.cshtml | 2 +- .../EditorTemplates/TagViewModel.cshtml | 2 +- .../DancingGoat/Views/Shared/_Event.cshtml | 2 +- .../Views/Shared/_LandingPageLayout.cshtml | 2 +- .../Views/Shared/_Reference.cshtml | 2 +- .../Views/Shared/_ShoppingCartTotals.cshtml | 2 +- .../_ShoppingCartTotalsConfirmation.cshtml | 2 +- .../DancingGoat/Views/_ViewImports.cshtml | 2 +- examples/DancingGoat/Views/_ViewStart.cshtml | 2 +- .../wwwroot/Content/Styles/Buttons.less | 2 +- .../wwwroot/Content/Styles/Checkout.less | 2 +- .../wwwroot/Content/Styles/Controls.less | 2 +- .../wwwroot/Content/Styles/Fonts.less | 2 +- .../wwwroot/Content/Styles/Form.less | 2 +- .../wwwroot/Content/Styles/Grid.less | 2 +- .../wwwroot/Content/Styles/Menu.less | 2 +- .../wwwroot/Content/Styles/Mixins.less | 2 +- .../wwwroot/Content/Styles/Products.less | 2 +- .../wwwroot/Content/Styles/Sections.less | 2 +- .../ColorPickerEditor/color-picker-editor.js | 2 +- .../InlineEditors/TextEditor/TextEditor.css | 2 +- .../InlineEditors/TextEditor/text-editor.js | 2 +- .../wwwroot/Scripts/formAutoPost.js | 2 +- .../Pages/ChannelSettingsEditPage.cs | 181 ++++++++++-------- .../XperienceCommunity.ProjectSettings.csproj | 2 +- 292 files changed, 399 insertions(+), 371 deletions(-) diff --git a/.editorconfig b/.editorconfig index 98eb5f7..6ec8828 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# Severity levels of analyzers https://docs.microsoft.com/en-us/visualstudio/code-quality/roslyn-analyzers-overview?view=vs-2019#severity-levels-of-analyzers +# Severity levels of analyzers https://docs.microsoft.com/en-us/visualstudio/code-quality/roslyn-analyzers-overview?view=vs-2019#severity-levels-of-analyzers root = true diff --git a/.gitattributes b/.gitattributes index 5f7bdaf..b518f94 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,9 +1,11 @@ # Auto detect text files and perform LF normalization -# Windows developers can enable autocrlf to checkout in crlf and commit in lf -# git config --global core.autocrlf true +# Text files are checked out with LF on every OS, including Windows. -* text=auto +* text=auto eol=lf + +.gitattributes text +.editorconfig text *.cs text diff=csharp *.cshtml text diff=html @@ -16,6 +18,7 @@ *.xproj text *.props text +*.targets text *.filters text *.vcxitems text diff --git a/examples/DancingGoat/AdminComponents/Apps/SampleDataGenerator/SampleDataGeneratorApplication.cs b/examples/DancingGoat/AdminComponents/Apps/SampleDataGenerator/SampleDataGeneratorApplication.cs index e3d7ae8..4c2c83c 100644 --- a/examples/DancingGoat/AdminComponents/Apps/SampleDataGenerator/SampleDataGeneratorApplication.cs +++ b/examples/DancingGoat/AdminComponents/Apps/SampleDataGenerator/SampleDataGeneratorApplication.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using CMS.Activities; diff --git a/examples/DancingGoat/AdminComponents/UIPages/ProductLinkedOnceRule.cs b/examples/DancingGoat/AdminComponents/UIPages/ProductLinkedOnceRule.cs index 60f6d1a..32d778b 100644 --- a/examples/DancingGoat/AdminComponents/UIPages/ProductLinkedOnceRule.cs +++ b/examples/DancingGoat/AdminComponents/UIPages/ProductLinkedOnceRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/examples/DancingGoat/AdminComponents/UIPages/ProductLinkedOnceRuleProperties.cs b/examples/DancingGoat/AdminComponents/UIPages/ProductLinkedOnceRuleProperties.cs index c740b30..a14d292 100644 --- a/examples/DancingGoat/AdminComponents/UIPages/ProductLinkedOnceRuleProperties.cs +++ b/examples/DancingGoat/AdminComponents/UIPages/ProductLinkedOnceRuleProperties.cs @@ -1,4 +1,4 @@ -using CMS.Core; +using CMS.Core; using Kentico.Xperience.Admin.Base.Forms; diff --git a/examples/DancingGoat/AdminComponents/UIPages/UniqueProductSkuValidationRule.cs b/examples/DancingGoat/AdminComponents/UIPages/UniqueProductSkuValidationRule.cs index 12fcea4..f2c08b8 100644 --- a/examples/DancingGoat/AdminComponents/UIPages/UniqueProductSkuValidationRule.cs +++ b/examples/DancingGoat/AdminComponents/UIPages/UniqueProductSkuValidationRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using CMS.ContentEngine; diff --git a/examples/DancingGoat/Commerce/Checkout/DancingGoatCheckoutController.cs b/examples/DancingGoat/Commerce/Checkout/DancingGoatCheckoutController.cs index 52d9576..96be7b9 100644 --- a/examples/DancingGoat/Commerce/Checkout/DancingGoatCheckoutController.cs +++ b/examples/DancingGoat/Commerce/Checkout/DancingGoatCheckoutController.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading; diff --git a/examples/DancingGoat/Commerce/EventHandlers/ProductSkuValidationEventHandler.cs b/examples/DancingGoat/Commerce/EventHandlers/ProductSkuValidationEventHandler.cs index 0ba0f66..1dec3e8 100644 --- a/examples/DancingGoat/Commerce/EventHandlers/ProductSkuValidationEventHandler.cs +++ b/examples/DancingGoat/Commerce/EventHandlers/ProductSkuValidationEventHandler.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Threading.Tasks; using CMS.ContentEngine; diff --git a/examples/DancingGoat/Commerce/Extractors/CoffeeParametersExtractor.cs b/examples/DancingGoat/Commerce/Extractors/CoffeeParametersExtractor.cs index a0ece65..83ad74a 100644 --- a/examples/DancingGoat/Commerce/Extractors/CoffeeParametersExtractor.cs +++ b/examples/DancingGoat/Commerce/Extractors/CoffeeParametersExtractor.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Extractors/GrinderParametersExtractor.cs b/examples/DancingGoat/Commerce/Extractors/GrinderParametersExtractor.cs index 6bb0ca6..469ae20 100644 --- a/examples/DancingGoat/Commerce/Extractors/GrinderParametersExtractor.cs +++ b/examples/DancingGoat/Commerce/Extractors/GrinderParametersExtractor.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Extractors/IProductTypeParametersExtractor.cs b/examples/DancingGoat/Commerce/Extractors/IProductTypeParametersExtractor.cs index 6c218e9..faeabb9 100644 --- a/examples/DancingGoat/Commerce/Extractors/IProductTypeParametersExtractor.cs +++ b/examples/DancingGoat/Commerce/Extractors/IProductTypeParametersExtractor.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Extractors/IProductTypeVariantsExtractor.cs b/examples/DancingGoat/Commerce/Extractors/IProductTypeVariantsExtractor.cs index 74fc9ef..f0b5fbe 100644 --- a/examples/DancingGoat/Commerce/Extractors/IProductTypeVariantsExtractor.cs +++ b/examples/DancingGoat/Commerce/Extractors/IProductTypeVariantsExtractor.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace DancingGoat.Commerce { diff --git a/examples/DancingGoat/Commerce/Extractors/ProductManufacturerExtractor.cs b/examples/DancingGoat/Commerce/Extractors/ProductManufacturerExtractor.cs index fd47734..097b0ce 100644 --- a/examples/DancingGoat/Commerce/Extractors/ProductManufacturerExtractor.cs +++ b/examples/DancingGoat/Commerce/Extractors/ProductManufacturerExtractor.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Extractors/ProductParametersExtractor.cs b/examples/DancingGoat/Commerce/Extractors/ProductParametersExtractor.cs index 68653a9..d60f8a2 100644 --- a/examples/DancingGoat/Commerce/Extractors/ProductParametersExtractor.cs +++ b/examples/DancingGoat/Commerce/Extractors/ProductParametersExtractor.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Extractors/ProductTemplateAlphaSizeParametersExtractor.cs b/examples/DancingGoat/Commerce/Extractors/ProductTemplateAlphaSizeParametersExtractor.cs index 09ab499..65c0622 100644 --- a/examples/DancingGoat/Commerce/Extractors/ProductTemplateAlphaSizeParametersExtractor.cs +++ b/examples/DancingGoat/Commerce/Extractors/ProductTemplateAlphaSizeParametersExtractor.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Extractors/ProductTemplateAlphaSizeVariantsExtractor.cs b/examples/DancingGoat/Commerce/Extractors/ProductTemplateAlphaSizeVariantsExtractor.cs index 10c393e..5154d35 100644 --- a/examples/DancingGoat/Commerce/Extractors/ProductTemplateAlphaSizeVariantsExtractor.cs +++ b/examples/DancingGoat/Commerce/Extractors/ProductTemplateAlphaSizeVariantsExtractor.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using DancingGoat.Models; diff --git a/examples/DancingGoat/Commerce/Extractors/ProductVariantsExtractor.cs b/examples/DancingGoat/Commerce/Extractors/ProductVariantsExtractor.cs index f40003c..6c255d0 100644 --- a/examples/DancingGoat/Commerce/Extractors/ProductVariantsExtractor.cs +++ b/examples/DancingGoat/Commerce/Extractors/ProductVariantsExtractor.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using DancingGoat.Models; diff --git a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationRequest.cs b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationRequest.cs index bc8c2c0..cf40085 100644 --- a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationRequest.cs +++ b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationRequest.cs @@ -1,4 +1,4 @@ -using CMS.Commerce; +using CMS.Commerce; namespace DancingGoat.Commerce; diff --git a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationRequestItem.cs b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationRequestItem.cs index 1c0c4bc..55f531b 100644 --- a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationRequestItem.cs +++ b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationRequestItem.cs @@ -1,4 +1,4 @@ -using CMS.Commerce; +using CMS.Commerce; namespace DancingGoat.Commerce; diff --git a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationResult.cs b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationResult.cs index 026a8a7..0414b95 100644 --- a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationResult.cs +++ b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationResult.cs @@ -1,4 +1,4 @@ -using CMS.Commerce; +using CMS.Commerce; namespace DancingGoat.Commerce; diff --git a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationResultItem.cs b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationResultItem.cs index 2bdc3db..f2fcdc7 100644 --- a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationResultItem.cs +++ b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatPriceCalculationResultItem.cs @@ -1,4 +1,4 @@ -using CMS.Commerce; +using CMS.Commerce; namespace DancingGoat.Commerce; diff --git a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatProductData.cs b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatProductData.cs index 2f6dd0e..eee4eb2 100644 --- a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatProductData.cs +++ b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatProductData.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using CMS.Commerce; diff --git a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatTaxRateConstants.cs b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatTaxRateConstants.cs index f7cc2e5..27c06ac 100644 --- a/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatTaxRateConstants.cs +++ b/examples/DancingGoat/Commerce/PriceCalculation/DancingGoatTaxRateConstants.cs @@ -1,4 +1,4 @@ -namespace DancingGoat.Commerce; +namespace DancingGoat.Commerce; public static class DancingGoatTaxRateConstants { diff --git a/examples/DancingGoat/Commerce/PriceCalculation/PriceCalculationTotalsCalculator.cs b/examples/DancingGoat/Commerce/PriceCalculation/PriceCalculationTotalsCalculator.cs index c704c86..ef54d1f 100644 --- a/examples/DancingGoat/Commerce/PriceCalculation/PriceCalculationTotalsCalculator.cs +++ b/examples/DancingGoat/Commerce/PriceCalculation/PriceCalculationTotalsCalculator.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; namespace DancingGoat.Commerce; diff --git a/examples/DancingGoat/Commerce/PriceCalculation/ProductVariantIdentifier.cs b/examples/DancingGoat/Commerce/PriceCalculation/ProductVariantIdentifier.cs index d91e8f9..c494869 100644 --- a/examples/DancingGoat/Commerce/PriceCalculation/ProductVariantIdentifier.cs +++ b/examples/DancingGoat/Commerce/PriceCalculation/ProductVariantIdentifier.cs @@ -1,4 +1,4 @@ -using CMS.Commerce; +using CMS.Commerce; namespace DancingGoat.Commerce; diff --git a/examples/DancingGoat/Commerce/PriceFormatter.cs b/examples/DancingGoat/Commerce/PriceFormatter.cs index a5ecd5d..3b590ca 100644 --- a/examples/DancingGoat/Commerce/PriceFormatter.cs +++ b/examples/DancingGoat/Commerce/PriceFormatter.cs @@ -1,4 +1,4 @@ -using System.Globalization; +using System.Globalization; using CMS; using CMS.Commerce; diff --git a/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionCandidate.cs b/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionCandidate.cs index df508e3..6cda04e 100644 --- a/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionCandidate.cs +++ b/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionCandidate.cs @@ -1,4 +1,4 @@ -using CMS.Commerce; +using CMS.Commerce; namespace DancingGoat.Commerce; diff --git a/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionRule.cs b/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionRule.cs index 143e73e..83e5d25 100644 --- a/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionRule.cs +++ b/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionRule.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using CMS.Commerce; diff --git a/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionRuleProperties.cs b/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionRuleProperties.cs index 8104333..92c470f 100644 --- a/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionRuleProperties.cs +++ b/examples/DancingGoat/Commerce/Promotions/DancingGoatCatalogPromotionRuleProperties.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; diff --git a/examples/DancingGoat/Commerce/Promotions/DancingGoatOrderPromotionRule.cs b/examples/DancingGoat/Commerce/Promotions/DancingGoatOrderPromotionRule.cs index 595ae20..01947be 100644 --- a/examples/DancingGoat/Commerce/Promotions/DancingGoatOrderPromotionRule.cs +++ b/examples/DancingGoat/Commerce/Promotions/DancingGoatOrderPromotionRule.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using CMS.Commerce; diff --git a/examples/DancingGoat/Commerce/Promotions/ProductPromotionSchemaFilter.cs b/examples/DancingGoat/Commerce/Promotions/ProductPromotionSchemaFilter.cs index 9c51d7c..0f68b93 100644 --- a/examples/DancingGoat/Commerce/Promotions/ProductPromotionSchemaFilter.cs +++ b/examples/DancingGoat/Commerce/Promotions/ProductPromotionSchemaFilter.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using DancingGoat.Models; diff --git a/examples/DancingGoat/Commerce/Promotions/UpsellOrderDiscountService.cs b/examples/DancingGoat/Commerce/Promotions/UpsellOrderDiscountService.cs index d40d671..e4ff800 100644 --- a/examples/DancingGoat/Commerce/Promotions/UpsellOrderDiscountService.cs +++ b/examples/DancingGoat/Commerce/Promotions/UpsellOrderDiscountService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading; diff --git a/examples/DancingGoat/Commerce/Repositories/CountryStateRepository.cs b/examples/DancingGoat/Commerce/Repositories/CountryStateRepository.cs index 4815076..64f7ecb 100644 --- a/examples/DancingGoat/Commerce/Repositories/CountryStateRepository.cs +++ b/examples/DancingGoat/Commerce/Repositories/CountryStateRepository.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Repositories/PaymentRepository.cs b/examples/DancingGoat/Commerce/Repositories/PaymentRepository.cs index 7a43cc5..4d39fe7 100644 --- a/examples/DancingGoat/Commerce/Repositories/PaymentRepository.cs +++ b/examples/DancingGoat/Commerce/Repositories/PaymentRepository.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Repositories/ProductRepository.cs b/examples/DancingGoat/Commerce/Repositories/ProductRepository.cs index 12b60bf..d82ae0e 100644 --- a/examples/DancingGoat/Commerce/Repositories/ProductRepository.cs +++ b/examples/DancingGoat/Commerce/Repositories/ProductRepository.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Repositories/PromotionCouponRepository.cs b/examples/DancingGoat/Commerce/Repositories/PromotionCouponRepository.cs index 1c56730..5d874bc 100644 --- a/examples/DancingGoat/Commerce/Repositories/PromotionCouponRepository.cs +++ b/examples/DancingGoat/Commerce/Repositories/PromotionCouponRepository.cs @@ -1,4 +1,4 @@ -using System.Threading; +using System.Threading; using System.Threading.Tasks; using CMS.Commerce; diff --git a/examples/DancingGoat/Commerce/Repositories/ShippingRepository.cs b/examples/DancingGoat/Commerce/Repositories/ShippingRepository.cs index cd32978..f5afcd0 100644 --- a/examples/DancingGoat/Commerce/Repositories/ShippingRepository.cs +++ b/examples/DancingGoat/Commerce/Repositories/ShippingRepository.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Services/CalculationService.cs b/examples/DancingGoat/Commerce/Services/CalculationService.cs index aa32701..162996e 100644 --- a/examples/DancingGoat/Commerce/Services/CalculationService.cs +++ b/examples/DancingGoat/Commerce/Services/CalculationService.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Services/CustomerDataRetriever.cs b/examples/DancingGoat/Commerce/Services/CustomerDataRetriever.cs index ac2689d..52bc7a3 100644 --- a/examples/DancingGoat/Commerce/Services/CustomerDataRetriever.cs +++ b/examples/DancingGoat/Commerce/Services/CustomerDataRetriever.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Services/DancingGoatTaxPriceCalculationStep.cs b/examples/DancingGoat/Commerce/Services/DancingGoatTaxPriceCalculationStep.cs index 90dd93d..4da417d 100644 --- a/examples/DancingGoat/Commerce/Services/DancingGoatTaxPriceCalculationStep.cs +++ b/examples/DancingGoat/Commerce/Services/DancingGoatTaxPriceCalculationStep.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Services/OrderNumberGenerator.cs b/examples/DancingGoat/Commerce/Services/OrderNumberGenerator.cs index 3b71239..04b4237 100644 --- a/examples/DancingGoat/Commerce/Services/OrderNumberGenerator.cs +++ b/examples/DancingGoat/Commerce/Services/OrderNumberGenerator.cs @@ -1,4 +1,4 @@ -using System.Threading; +using System.Threading; using System.Threading.Tasks; using CMS.DataEngine; diff --git a/examples/DancingGoat/Commerce/Services/OrderService.cs b/examples/DancingGoat/Commerce/Services/OrderService.cs index ae323e6..3436be8 100644 --- a/examples/DancingGoat/Commerce/Services/OrderService.cs +++ b/examples/DancingGoat/Commerce/Services/OrderService.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Services/ProductDataRetriever.cs b/examples/DancingGoat/Commerce/Services/ProductDataRetriever.cs index c612a27..afe2658 100644 --- a/examples/DancingGoat/Commerce/Services/ProductDataRetriever.cs +++ b/examples/DancingGoat/Commerce/Services/ProductDataRetriever.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Commerce/Services/ProductNameProvider.cs b/examples/DancingGoat/Commerce/Services/ProductNameProvider.cs index 631f8a0..55e28e1 100644 --- a/examples/DancingGoat/Commerce/Services/ProductNameProvider.cs +++ b/examples/DancingGoat/Commerce/Services/ProductNameProvider.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using DancingGoat.Models; diff --git a/examples/DancingGoat/Commerce/Services/ProductSkuValidator.cs b/examples/DancingGoat/Commerce/Services/ProductSkuValidator.cs index a3bb975..e04681f 100644 --- a/examples/DancingGoat/Commerce/Services/ProductSkuValidator.cs +++ b/examples/DancingGoat/Commerce/Services/ProductSkuValidator.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Threading.Tasks; using CMS.ContentEngine; diff --git a/examples/DancingGoat/Commerce/ShoppingCart/CouponCodeStatus.cs b/examples/DancingGoat/Commerce/ShoppingCart/CouponCodeStatus.cs index 7dc4719..59115b4 100644 --- a/examples/DancingGoat/Commerce/ShoppingCart/CouponCodeStatus.cs +++ b/examples/DancingGoat/Commerce/ShoppingCart/CouponCodeStatus.cs @@ -1,4 +1,4 @@ -namespace DancingGoat.Commerce +namespace DancingGoat.Commerce { /// /// Represents the result of evaluating a coupon code within the current context diff --git a/examples/DancingGoat/Commerce/ShoppingCart/CouponCodeViewModel.cs b/examples/DancingGoat/Commerce/ShoppingCart/CouponCodeViewModel.cs index b94648f..bc8d5c7 100644 --- a/examples/DancingGoat/Commerce/ShoppingCart/CouponCodeViewModel.cs +++ b/examples/DancingGoat/Commerce/ShoppingCart/CouponCodeViewModel.cs @@ -1,4 +1,4 @@ -namespace DancingGoat.Commerce; +namespace DancingGoat.Commerce; /// /// Represents a coupon code and its current status in the shopping cart context. diff --git a/examples/DancingGoat/Commerce/ShoppingCart/DancingGoatShoppingCartController.cs b/examples/DancingGoat/Commerce/ShoppingCart/DancingGoatShoppingCartController.cs index 7eadcee..0583039 100644 --- a/examples/DancingGoat/Commerce/ShoppingCart/DancingGoatShoppingCartController.cs +++ b/examples/DancingGoat/Commerce/ShoppingCart/DancingGoatShoppingCartController.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using System.Threading; diff --git a/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataItem.cs b/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataItem.cs index 5fa21f2..d0aaf58 100644 --- a/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataItem.cs +++ b/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataItem.cs @@ -1,4 +1,4 @@ -namespace DancingGoat.Commerce; +namespace DancingGoat.Commerce; public sealed class ShoppingCartDataItem { diff --git a/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataModel.cs b/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataModel.cs index f44941f..df47720 100644 --- a/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataModel.cs +++ b/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataModel.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; namespace DancingGoat.Commerce; diff --git a/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataModelExtensions.cs b/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataModelExtensions.cs index fa3d23b..129d003 100644 --- a/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataModelExtensions.cs +++ b/examples/DancingGoat/Commerce/ShoppingCart/ShoppingCartDataModelExtensions.cs @@ -1,4 +1,4 @@ -using System.Text.Json; +using System.Text.Json; using CMS.Commerce; diff --git a/examples/DancingGoat/Components/ComponentIdentifiers.cs b/examples/DancingGoat/Components/ComponentIdentifiers.cs index 4001b07..ff4fbfb 100644 --- a/examples/DancingGoat/Components/ComponentIdentifiers.cs +++ b/examples/DancingGoat/Components/ComponentIdentifiers.cs @@ -1,4 +1,4 @@ -namespace DancingGoat +namespace DancingGoat { /// /// Encapsulated identifiers of components. diff --git a/examples/DancingGoat/Components/FormBuilderComponentRegister.cs b/examples/DancingGoat/Components/FormBuilderComponentRegister.cs index 6934c24..f23fca7 100644 --- a/examples/DancingGoat/Components/FormBuilderComponentRegister.cs +++ b/examples/DancingGoat/Components/FormBuilderComponentRegister.cs @@ -1,4 +1,4 @@ -using DancingGoat.Components.FormSections.TitledSection; +using DancingGoat.Components.FormSections.TitledSection; using Kentico.Forms.Web.Mvc; diff --git a/examples/DancingGoat/Components/FormSections/TitledSection/TitledSectionProperties.cs b/examples/DancingGoat/Components/FormSections/TitledSection/TitledSectionProperties.cs index 20bac41..c317f57 100644 --- a/examples/DancingGoat/Components/FormSections/TitledSection/TitledSectionProperties.cs +++ b/examples/DancingGoat/Components/FormSections/TitledSection/TitledSectionProperties.cs @@ -1,4 +1,4 @@ -using Kentico.Forms.Web.Mvc; +using Kentico.Forms.Web.Mvc; using Kentico.Xperience.Admin.Base.FormAnnotations; namespace DancingGoat.Components.FormSections.TitledSection diff --git a/examples/DancingGoat/Components/FormSections/TitledSection/_TitledSection.cshtml b/examples/DancingGoat/Components/FormSections/TitledSection/_TitledSection.cshtml index c9f78f5..52f2186 100644 --- a/examples/DancingGoat/Components/FormSections/TitledSection/_TitledSection.cshtml +++ b/examples/DancingGoat/Components/FormSections/TitledSection/_TitledSection.cshtml @@ -1,4 +1,4 @@ -@using Kentico.Forms.Web.Mvc +@using Kentico.Forms.Web.Mvc @using DancingGoat.Components.FormSections.TitledSection @using Kentico.Web.Mvc; @using Kentico.PageBuilder.Web.Mvc diff --git a/examples/DancingGoat/Components/InlineEditors/ColorPickerEditor/ColorPickerEditorViewModel.cs b/examples/DancingGoat/Components/InlineEditors/ColorPickerEditor/ColorPickerEditorViewModel.cs index 9c68348..ad266c7 100644 --- a/examples/DancingGoat/Components/InlineEditors/ColorPickerEditor/ColorPickerEditorViewModel.cs +++ b/examples/DancingGoat/Components/InlineEditors/ColorPickerEditor/ColorPickerEditorViewModel.cs @@ -1,4 +1,4 @@ -namespace DancingGoat.InlineEditors +namespace DancingGoat.InlineEditors { /// /// View model for Color picker editor. diff --git a/examples/DancingGoat/Components/InlineEditors/ColorPickerEditor/_ColorPickerEditor.cshtml b/examples/DancingGoat/Components/InlineEditors/ColorPickerEditor/_ColorPickerEditor.cshtml index bf7a665..1d7561b 100644 --- a/examples/DancingGoat/Components/InlineEditors/ColorPickerEditor/_ColorPickerEditor.cshtml +++ b/examples/DancingGoat/Components/InlineEditors/ColorPickerEditor/_ColorPickerEditor.cshtml @@ -1,4 +1,4 @@ -@model DancingGoat.InlineEditors.ColorPickerEditorViewModel +@model DancingGoat.InlineEditors.ColorPickerEditorViewModel @using (Html.Kentico().BeginInlineEditor("color-picker-editor", Model.PropertyName, new { @class = "color-picker-editor" })) { diff --git a/examples/DancingGoat/Components/InlineEditors/InlineEditorViewModel.cs b/examples/DancingGoat/Components/InlineEditors/InlineEditorViewModel.cs index 916b8b7..b5e6097 100644 --- a/examples/DancingGoat/Components/InlineEditors/InlineEditorViewModel.cs +++ b/examples/DancingGoat/Components/InlineEditors/InlineEditorViewModel.cs @@ -1,4 +1,4 @@ -namespace DancingGoat.InlineEditors +namespace DancingGoat.InlineEditors { /// /// Base class for inline editor view models. diff --git a/examples/DancingGoat/Components/InlineEditors/TextEditor/TextEditorViewModel.cs b/examples/DancingGoat/Components/InlineEditors/TextEditor/TextEditorViewModel.cs index 01be668..8d64cf5 100644 --- a/examples/DancingGoat/Components/InlineEditors/TextEditor/TextEditorViewModel.cs +++ b/examples/DancingGoat/Components/InlineEditors/TextEditor/TextEditorViewModel.cs @@ -1,4 +1,4 @@ -namespace DancingGoat.InlineEditors +namespace DancingGoat.InlineEditors { /// /// View model for Text editor. diff --git a/examples/DancingGoat/Components/InlineEditors/TextEditor/_TextEditor.cshtml b/examples/DancingGoat/Components/InlineEditors/TextEditor/_TextEditor.cshtml index 8bd8fb0..c34d800 100644 --- a/examples/DancingGoat/Components/InlineEditors/TextEditor/_TextEditor.cshtml +++ b/examples/DancingGoat/Components/InlineEditors/TextEditor/_TextEditor.cshtml @@ -1,4 +1,4 @@ -@model DancingGoat.InlineEditors.TextEditorViewModel +@model DancingGoat.InlineEditors.TextEditorViewModel @inject Kentico.Builder.Web.Mvc.IAdminBuildersLocalizationService localizationService diff --git a/examples/DancingGoat/Components/PageBuilderComponentRegister.cs b/examples/DancingGoat/Components/PageBuilderComponentRegister.cs index 1c953dc..a995bba 100644 --- a/examples/DancingGoat/Components/PageBuilderComponentRegister.cs +++ b/examples/DancingGoat/Components/PageBuilderComponentRegister.cs @@ -1,4 +1,4 @@ -using DancingGoat; +using DancingGoat; using DancingGoat.Models; using DancingGoat.PageTemplates; using DancingGoat.Sections; diff --git a/examples/DancingGoat/Components/Personalization/ConditionTypes/IsInContactGroupConditionType.cs b/examples/DancingGoat/Components/Personalization/ConditionTypes/IsInContactGroupConditionType.cs index dbe9f10..6356f19 100644 --- a/examples/DancingGoat/Components/Personalization/ConditionTypes/IsInContactGroupConditionType.cs +++ b/examples/DancingGoat/Components/Personalization/ConditionTypes/IsInContactGroupConditionType.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using CMS.ContactManagement; diff --git a/examples/DancingGoat/Components/Sections/ThemeSectionProperties.cs b/examples/DancingGoat/Components/Sections/ThemeSectionProperties.cs index 65be5d3..46cd191 100644 --- a/examples/DancingGoat/Components/Sections/ThemeSectionProperties.cs +++ b/examples/DancingGoat/Components/Sections/ThemeSectionProperties.cs @@ -1,4 +1,4 @@ -using Kentico.PageBuilder.Web.Mvc; +using Kentico.PageBuilder.Web.Mvc; using Kentico.Xperience.Admin.Base; using Kentico.Xperience.Admin.Base.FormAnnotations; diff --git a/examples/DancingGoat/Components/Sections/ThreeColumnSection/ThreeColumnSectionProperties.cs b/examples/DancingGoat/Components/Sections/ThreeColumnSection/ThreeColumnSectionProperties.cs index e94dc85..cf19a47 100644 --- a/examples/DancingGoat/Components/Sections/ThreeColumnSection/ThreeColumnSectionProperties.cs +++ b/examples/DancingGoat/Components/Sections/ThreeColumnSection/ThreeColumnSectionProperties.cs @@ -1,4 +1,4 @@ -using Kentico.Xperience.Admin.Base.FormAnnotations; +using Kentico.Xperience.Admin.Base.FormAnnotations; namespace DancingGoat.Sections { diff --git a/examples/DancingGoat/Components/Sections/ThreeColumnSection/_DancingGoat_ThreeColumnSection.cshtml b/examples/DancingGoat/Components/Sections/ThreeColumnSection/_DancingGoat_ThreeColumnSection.cshtml index 400a786..6db9101 100644 --- a/examples/DancingGoat/Components/Sections/ThreeColumnSection/_DancingGoat_ThreeColumnSection.cshtml +++ b/examples/DancingGoat/Components/Sections/ThreeColumnSection/_DancingGoat_ThreeColumnSection.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.Sections +@using DancingGoat.Sections @model ComponentViewModel diff --git a/examples/DancingGoat/Components/Sections/ZoneRestrictions.cs b/examples/DancingGoat/Components/Sections/ZoneRestrictions.cs index fca407c..fcf818c 100644 --- a/examples/DancingGoat/Components/Sections/ZoneRestrictions.cs +++ b/examples/DancingGoat/Components/Sections/ZoneRestrictions.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using DancingGoat.Widgets; diff --git a/examples/DancingGoat/Components/Sections/_DancingGoat_Section_25_75.cshtml b/examples/DancingGoat/Components/Sections/_DancingGoat_Section_25_75.cshtml index 3f73de3..11a2805 100644 --- a/examples/DancingGoat/Components/Sections/_DancingGoat_Section_25_75.cshtml +++ b/examples/DancingGoat/Components/Sections/_DancingGoat_Section_25_75.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.Sections +@using DancingGoat.Sections @model Kentico.PageBuilder.Web.Mvc.ComponentViewModel diff --git a/examples/DancingGoat/Components/Sections/_DancingGoat_Section_75_25.cshtml b/examples/DancingGoat/Components/Sections/_DancingGoat_Section_75_25.cshtml index 0204c12..d437ffe 100644 --- a/examples/DancingGoat/Components/Sections/_DancingGoat_Section_75_25.cshtml +++ b/examples/DancingGoat/Components/Sections/_DancingGoat_Section_75_25.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.Sections +@using DancingGoat.Sections @model Kentico.PageBuilder.Web.Mvc.ComponentViewModel diff --git a/examples/DancingGoat/Components/Sections/_DancingGoat_SingleColumnSection.cshtml b/examples/DancingGoat/Components/Sections/_DancingGoat_SingleColumnSection.cshtml index d47fd34..e472f39 100644 --- a/examples/DancingGoat/Components/Sections/_DancingGoat_SingleColumnSection.cshtml +++ b/examples/DancingGoat/Components/Sections/_DancingGoat_SingleColumnSection.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.Sections +@using DancingGoat.Sections @model Kentico.PageBuilder.Web.Mvc.ComponentViewModel diff --git a/examples/DancingGoat/Components/Sections/_DancingGoat_TwoColumnSection.cshtml b/examples/DancingGoat/Components/Sections/_DancingGoat_TwoColumnSection.cshtml index bd7c0a9..874ae39 100644 --- a/examples/DancingGoat/Components/Sections/_DancingGoat_TwoColumnSection.cshtml +++ b/examples/DancingGoat/Components/Sections/_DancingGoat_TwoColumnSection.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.Sections +@using DancingGoat.Sections @model Kentico.PageBuilder.Web.Mvc.ComponentViewModel diff --git a/examples/DancingGoat/Components/ViewComponents/Articles/ArticlesViewComponent.cs b/examples/DancingGoat/Components/ViewComponents/Articles/ArticlesViewComponent.cs index df724d6..796e40d 100644 --- a/examples/DancingGoat/Components/ViewComponents/Articles/ArticlesViewComponent.cs +++ b/examples/DancingGoat/Components/ViewComponents/Articles/ArticlesViewComponent.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Components/ViewComponents/Articles/Default.cshtml b/examples/DancingGoat/Components/ViewComponents/Articles/Default.cshtml index cb4cb1c..260146d 100644 --- a/examples/DancingGoat/Components/ViewComponents/Articles/Default.cshtml +++ b/examples/DancingGoat/Components/ViewComponents/Articles/Default.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.Models; +@using DancingGoat.Models; @model ArticlesSectionViewModel diff --git a/examples/DancingGoat/Components/ViewComponents/Banner/BannerViewComponent.cs b/examples/DancingGoat/Components/ViewComponents/Banner/BannerViewComponent.cs index 30214c7..11db50d 100644 --- a/examples/DancingGoat/Components/ViewComponents/Banner/BannerViewComponent.cs +++ b/examples/DancingGoat/Components/ViewComponents/Banner/BannerViewComponent.cs @@ -1,4 +1,4 @@ -using DancingGoat.Models; +using DancingGoat.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ViewComponents; diff --git a/examples/DancingGoat/Components/ViewComponents/Banner/Default.cshtml b/examples/DancingGoat/Components/ViewComponents/Banner/Default.cshtml index 70ae72f..6d2417e 100644 --- a/examples/DancingGoat/Components/ViewComponents/Banner/Default.cshtml +++ b/examples/DancingGoat/Components/ViewComponents/Banner/Default.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.Models +@using DancingGoat.Models @model BannerViewModel @{ string styleAttribute = null; diff --git a/examples/DancingGoat/Components/ViewComponents/Cafe/CafeViewComponent.cs b/examples/DancingGoat/Components/ViewComponents/Cafe/CafeViewComponent.cs index aea0596..957d009 100644 --- a/examples/DancingGoat/Components/ViewComponents/Cafe/CafeViewComponent.cs +++ b/examples/DancingGoat/Components/ViewComponents/Cafe/CafeViewComponent.cs @@ -1,4 +1,4 @@ -using DancingGoat.Models; +using DancingGoat.Models; using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.ViewComponents; diff --git a/examples/DancingGoat/Components/ViewComponents/Cafe/Default.cshtml b/examples/DancingGoat/Components/ViewComponents/Cafe/Default.cshtml index adf016c..0adf817 100644 --- a/examples/DancingGoat/Components/ViewComponents/Cafe/Default.cshtml +++ b/examples/DancingGoat/Components/ViewComponents/Cafe/Default.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.Models +@using DancingGoat.Models @model CafeViewModel
diff --git a/examples/DancingGoat/Components/ViewComponents/CafeCardSection/CafeCardSectionViewComponent.cs b/examples/DancingGoat/Components/ViewComponents/CafeCardSection/CafeCardSectionViewComponent.cs index 5064510..41bfc58 100644 --- a/examples/DancingGoat/Components/ViewComponents/CafeCardSection/CafeCardSectionViewComponent.cs +++ b/examples/DancingGoat/Components/ViewComponents/CafeCardSection/CafeCardSectionViewComponent.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Components/ViewComponents/CafeCardSection/CafeCardSectionViewModel.cs b/examples/DancingGoat/Components/ViewComponents/CafeCardSection/CafeCardSectionViewModel.cs index b913e19..9504d19 100644 --- a/examples/DancingGoat/Components/ViewComponents/CafeCardSection/CafeCardSectionViewModel.cs +++ b/examples/DancingGoat/Components/ViewComponents/CafeCardSection/CafeCardSectionViewModel.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using DancingGoat.Models; diff --git a/examples/DancingGoat/Components/ViewComponents/CafeCardSection/Default.cshtml b/examples/DancingGoat/Components/ViewComponents/CafeCardSection/Default.cshtml index 74b7e0d..54f5e57 100644 --- a/examples/DancingGoat/Components/ViewComponents/CafeCardSection/Default.cshtml +++ b/examples/DancingGoat/Components/ViewComponents/CafeCardSection/Default.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.ViewComponents +@using DancingGoat.ViewComponents @model CafeCardSectionViewModel
diff --git a/examples/DancingGoat/Components/ViewComponents/CompanyAddress/CompanyAddressViewComponent.cs b/examples/DancingGoat/Components/ViewComponents/CompanyAddress/CompanyAddressViewComponent.cs index eb7efaf..842d13d 100644 --- a/examples/DancingGoat/Components/ViewComponents/CompanyAddress/CompanyAddressViewComponent.cs +++ b/examples/DancingGoat/Components/ViewComponents/CompanyAddress/CompanyAddressViewComponent.cs @@ -1,4 +1,4 @@ -using System.Linq; +using System.Linq; using System.Threading.Tasks; using DancingGoat.Models; diff --git a/examples/DancingGoat/Components/ViewComponents/CompanyAddress/Default.cshtml b/examples/DancingGoat/Components/ViewComponents/CompanyAddress/Default.cshtml index 1e6a3dc..47f9bdf 100644 --- a/examples/DancingGoat/Components/ViewComponents/CompanyAddress/Default.cshtml +++ b/examples/DancingGoat/Components/ViewComponents/CompanyAddress/Default.cshtml @@ -1,4 +1,4 @@ -@using System.Web +@using System.Web @model DancingGoat.Models.ContactViewModel diff --git a/examples/DancingGoat/Components/ViewComponents/NavigationMenu/Default.cshtml b/examples/DancingGoat/Components/ViewComponents/NavigationMenu/Default.cshtml index 47bb402..1c00fa2 100644 --- a/examples/DancingGoat/Components/ViewComponents/NavigationMenu/Default.cshtml +++ b/examples/DancingGoat/Components/ViewComponents/NavigationMenu/Default.cshtml @@ -1,4 +1,4 @@ -@using DancingGoat.Models +@using DancingGoat.Models @model IEnumerable diff --git a/examples/DancingGoat/Components/ViewComponents/NavigationMenu/NavigationMenuViewComponent.cs b/examples/DancingGoat/Components/ViewComponents/NavigationMenu/NavigationMenuViewComponent.cs index c8c679b..bf71891 100644 --- a/examples/DancingGoat/Components/ViewComponents/NavigationMenu/NavigationMenuViewComponent.cs +++ b/examples/DancingGoat/Components/ViewComponents/NavigationMenu/NavigationMenuViewComponent.cs @@ -1,4 +1,4 @@ -using System.Threading.Tasks; +using System.Threading.Tasks; using Kentico.Content.Web.Mvc.Routing; diff --git a/examples/DancingGoat/Components/ViewComponents/NavigationMenu/NavigationService.cs b/examples/DancingGoat/Components/ViewComponents/NavigationMenu/NavigationService.cs index 4119a23..59dce51 100644 --- a/examples/DancingGoat/Components/ViewComponents/NavigationMenu/NavigationService.cs +++ b/examples/DancingGoat/Components/ViewComponents/NavigationMenu/NavigationService.cs @@ -1,4 +1,4 @@ -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; using System.Threading; using System.Threading.Tasks; diff --git a/examples/DancingGoat/Components/ViewComponents/SocialLinks/Default.cshtml b/examples/DancingGoat/Components/ViewComponents/SocialLinks/Default.cshtml index 19693c0..d2a2f33 100644 --- a/examples/DancingGoat/Components/ViewComponents/SocialLinks/Default.cshtml +++ b/examples/DancingGoat/Components/ViewComponents/SocialLinks/Default.cshtml @@ -1,4 +1,4 @@ -@model IEnumerable +@model IEnumerable