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:main
parent
7796467236
commit
3c6c3f19aa
@ -1,8 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Xml.Serialization;
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class Brand
|
public class Brand
|
||||||
{
|
{
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Catalog.
|
/// Catalog.
|
||||||
@ -1,7 +1,5 @@
|
|||||||
using System;
|
using System;
|
||||||
using SalesCatalog.Model;
|
namespace Yavsc.Model.FrontOffice
|
||||||
|
|
||||||
namespace SalesCatalog
|
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Catalog manager.
|
/// Catalog manager.
|
||||||
@ -1,8 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Configuration.Provider;
|
using System.Configuration.Provider;
|
||||||
using SalesCatalog.Model;
|
|
||||||
|
|
||||||
namespace SalesCatalog
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Catalog provider.<br/>
|
/// Catalog provider.<br/>
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class CheckBox : FormInput
|
public class CheckBox : FormInput
|
||||||
{
|
{
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Configuration;
|
using System.Configuration;
|
||||||
|
|
||||||
namespace SalesCatalog.Configuration
|
namespace Yavsc.Model.FrontOffice.Configuration
|
||||||
{
|
{
|
||||||
|
|
||||||
public class CatalogProviderConfigurationElement : ConfigurationElement
|
public class CatalogProviderConfigurationElement : ConfigurationElement
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public abstract class Currency: Unit
|
public abstract class Currency: Unit
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class Euro : Currency
|
public class Euro : Currency
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class FilesInput : FormInput
|
public class FilesInput : FormInput
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public abstract class FormElement
|
public abstract class FormElement
|
||||||
{
|
{
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public abstract class FormInput: FormElement
|
public abstract class FormInput: FormElement
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class Label:FormElement
|
public class Label:FormElement
|
||||||
{
|
{
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class Link:Label
|
public class Link:Label
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class Note:Text
|
public class Note:Text
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class Option : FormElement
|
public class Option : FormElement
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class Period
|
public class Period
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class PhysicalProduct : Product
|
public class PhysicalProduct : Product
|
||||||
{
|
{
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Product.
|
/// Product.
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class ProductCategory
|
public class ProductCategory
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class ProductImage: FormElement
|
public class ProductImage: FormElement
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class RadioButton:FormInput
|
public class RadioButton:FormInput
|
||||||
{
|
{
|
||||||
@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class SaleForm
|
public class SaleForm
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public abstract class Scalar
|
public abstract class Scalar
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class SelectItem
|
public class SelectItem
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class Service : Product
|
public class Service : Product
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public enum StockStatus
|
public enum StockStatus
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class Text: FormElement
|
public class Text: FormElement
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public class TextInput:FormInput
|
public class TextInput:FormInput
|
||||||
{
|
{
|
||||||
@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SalesCatalog.Model
|
namespace Yavsc.Model.FrontOffice
|
||||||
{
|
{
|
||||||
public abstract class Unit
|
public abstract class Unit
|
||||||
{
|
{
|
||||||
Loading…
Reference in New Issue