Refactoring: moving
the Catalog manager and model into the Yavsc.Model.FrontOffice namespace * Web.config: * Catalog.xml: * MyClass.cs: * Note.cs: * Euro.cs: * Unit.cs: * Text.cs: * Link.cs: * Price.cs: * Label.cs: * Brand.cs: * Scalar.cs: * Option.cs: * Period.cs: * YavscModel.csproj: * Catalog.cs: * Service.cs: * Product.cs: * YavscClient.csproj: * CatalogManager.cs: * Currency.cs: * CheckBox.cs: * SaleForm.cs: * FormInput.cs: * CatalogProvider.cs: * TextInput.cs: * SelectItem.cs: * SalesCatalog.csproj: * FilesInput.cs: * FormElement.cs: * SelectInput.cs: * IValueProvider.cs: * StockStatus.cs: * RadioButton.cs: * Commande.cs: * ProductImage.cs: * WebCatalogExtensions.cs: * TemplateException.cs: * ProductCategory.cs: * PhysicalProduct.cs: * Note.cs: * Link.cs: * Text.cs: * Euro.cs: * Unit.cs: * WorkFlowManager.cs: * Brand.cs: * Label.cs: * Price.cs: * Scalar.cs: * FrontOfficeController.cs: * Period.cs: * Option.cs: * Product.cs: * Service.cs: * Catalog.cs: * SaleForm.cs: * Currency.cs: * CheckBox.cs: * TextInput.cs: * FrontOfficeApiController.cs: * FormInput.cs: * SelectItem.cs: * FilesInput.cs: * XmlCatalog.cs: * FormElement.cs: * SelectInput.cs: * RadioButton.cs: * StockStatus.cs: * ProductImage.cs: * CatalogHelper.cs: * CatalogManager.cs: * CatalogProvider.cs: * ProductCategory.cs: * PhysicalProduct.cs: * XmlCatalogProvider.cs: * CatalogProviderConfigurationElement.cs: * CatalogProvidersConfigurationSection.cs: * CatalogProvidersConfigurationCollection.cs: * CatalogProviderConfigurationElement.cs: * CatalogProvidersConfigurationSection.cs: * CatalogProvidersConfigurationCollection.cs: * CatalogHelper.cs:vnext
parent
7796467236
commit
3c6c3f19aa
@ -1,8 +1,7 @@
|
||||
using System;
|
||||
using System.Xml.Serialization;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class Brand
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
/// <summary>
|
||||
/// Catalog.
|
@ -1,7 +1,5 @@
|
||||
using System;
|
||||
using SalesCatalog.Model;
|
||||
|
||||
namespace SalesCatalog
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
/// <summary>
|
||||
/// Catalog manager.
|
@ -1,8 +1,7 @@
|
||||
using System;
|
||||
using System.Configuration.Provider;
|
||||
using SalesCatalog.Model;
|
||||
|
||||
namespace SalesCatalog
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
/// <summary>
|
||||
/// Catalog provider.<br/>
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class CheckBox : FormInput
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Configuration;
|
||||
|
||||
namespace SalesCatalog.Configuration
|
||||
namespace Yavsc.Model.FrontOffice.Configuration
|
||||
{
|
||||
|
||||
public class CatalogProviderConfigurationElement : ConfigurationElement
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public abstract class Currency: Unit
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class Euro : Currency
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class FilesInput : FormInput
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public abstract class FormElement
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public abstract class FormInput: FormElement
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class Label:FormElement
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class Link:Label
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class Note:Text
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class Option : FormElement
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class Period
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class PhysicalProduct : Product
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
/// <summary>
|
||||
/// Product.
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class ProductCategory
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class ProductImage: FormElement
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class RadioButton:FormInput
|
||||
{
|
@ -1,7 +1,7 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class SaleForm
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public abstract class Scalar
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class SelectItem
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class Service : Product
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public enum StockStatus
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class Text: FormElement
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public class TextInput:FormInput
|
||||
{
|
@ -1,6 +1,6 @@
|
||||
using System;
|
||||
|
||||
namespace SalesCatalog.Model
|
||||
namespace Yavsc.Model.FrontOffice
|
||||
{
|
||||
public abstract class Unit
|
||||
{
|
Loading…
Reference in New Issue