Go to the documentation of this file.00001 using System.Configuration;
00002 using System.Web.Configuration;
00003 using N2.Engine;
00004
00005 namespace N2.Configuration
00006 {
00007 public class NameCollection : LazyRemovableCollection<NamedElement>
00008 {
00009 }
00010
00015 public class EngineSection : ConfigurationSectionBase
00016 {
00018 [ConfigurationProperty("engineType")]
00019 public string EngineType
00020 {
00021 get { return (string)base["engineType"]; }
00022 set { base["engineType"] = value; }
00023 }
00024
00025 [ConfigurationProperty("castleConfiguration", DefaultValue = "assembly://N2/Configuration/castle.config")]
00026 public string CastleConfiguration
00027 {
00028 get { return (string)base["castleConfiguration"]; }
00029 set { base["castleConfiguration"] = value; }
00030 }
00031
00033 [ConfigurationProperty("dynamicDiscovery", DefaultValue = true)]
00034 public bool DynamicDiscovery
00035 {
00036 get { return (bool)base["dynamicDiscovery"]; }
00037 set { base["dynamicDiscovery"] = value; }
00038 }
00039
00041 [ConfigurationProperty("assemblies")]
00042 public AssemblyCollection Assemblies
00043 {
00044 get { return (AssemblyCollection)base["assemblies"]; }
00045 set { base["assemblies"] = value; }
00046 }
00047
00048 [ConfigurationProperty("errors")]
00049 public ErrorsElement Errors
00050 {
00051 get { return (ErrorsElement)base["errors"]; }
00052 set { base["errors"] = value; }
00053 }
00054
00055 [ConfigurationProperty("globalization")]
00056 public GlobalizationElement Globalization
00057 {
00058 get { return (GlobalizationElement)base["globalization"]; }
00059 set { base["globalization"] = value; }
00060 }
00061
00063 [ConfigurationProperty("scheduler")]
00064 public SchedulerElement Scheduler
00065 {
00066 get { return (SchedulerElement)base["scheduler"]; }
00067 set { base["scheduler"] = value; }
00068 }
00069
00071 [ConfigurationProperty("components")]
00072 public ComponentCollection Components
00073 {
00074 get { return (ComponentCollection)base["components"]; }
00075 set { base["components"] = value; }
00076 }
00077
00079 [ConfigurationProperty("componentConfigurations")]
00080 public NameCollection ComponentConfigurations
00081 {
00082 get { return (NameCollection)base["componentConfigurations"]; }
00083 set { base["componentConfigurations"] = value; }
00084 }
00085
00087 [ConfigurationProperty("pluginInitializers")]
00088 public PluginInitializerCollection PluginInitializers
00089 {
00090 get { return (PluginInitializerCollection)base["pluginInitializers"]; }
00091 set { base["pluginInitializers"] = value; }
00092 }
00093
00095 [ConfigurationProperty("interfacePlugins")]
00096 public InterfacePluginCollection InterfacePlugins
00097 {
00098 get { return (InterfacePluginCollection)base["interfacePlugins"]; }
00099 set { base["interfacePlugins"] = value; }
00100 }
00101
00103 [ConfigurationProperty("definitions")]
00104 public DefinitionCollection Definitions
00105 {
00106 get { return (DefinitionCollection)base["definitions"]; }
00107 set { base["definitions"] = value; }
00108 }
00109 }
00110 }