
* Web.csproj: * Web.config: * Catalog.xml: * Global.asax.cs: * TestBinding.cs: * IProvider.cs: * yavscModel.csproj: * WFManager.cs: * BasketController.cs: * WorkFlowController.cs: * ITCPNpgsqlProvider.cs: * IContentProvider.cs: * WorkFlowProvider.csproj: * NpgsqlContentProvider.cs: * Provider.cs: * ITContentProvider.csproj: * FrontOfficeApiController.cs: * ProviderCollection.cs: * WorkflowConfiguration.cs: * BlogProvidersConfigurationSection.cs: * IITContent.cs: Estimate creation
37 lines
984 B
C#
37 lines
984 B
C#
using System;
|
|
using System.Configuration;
|
|
using System.ComponentModel;
|
|
|
|
namespace Npgsql.Web.Blog.Configuration
|
|
{
|
|
public class BlogProvidersConfigurationSection : ConfigurationSection
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the default provider.
|
|
/// </summary>
|
|
/// <value>The default provider.</value>
|
|
[ConfigurationProperty("defaultProvider")]
|
|
public string DefaultProvider {
|
|
get { return (string) this ["defaultProvider"]; }
|
|
set { this["defaultProvider"] = value; }
|
|
}
|
|
|
|
|
|
|
|
[ConfigurationProperty("providers")]
|
|
[ConfigurationCollection(typeof(BlogProvidersConfigurationCollection),
|
|
AddItemName = "add",
|
|
ClearItemsName = "clear",
|
|
RemoveItemName = "remove")]
|
|
/// <summary>
|
|
/// Gets or sets the providers.
|
|
/// </summary>
|
|
/// <value>The providers.</value>
|
|
public BlogProvidersConfigurationCollection Providers{
|
|
get { return (BlogProvidersConfigurationCollection) this["providers"]; }
|
|
set { this["providers"] = value; }
|
|
}
|
|
}
|
|
|
|
}
|