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/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/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