Go to the documentation of this file.00001 using System;
00002 using System.Configuration;
00003
00004 namespace N2.Configuration
00005 {
00009 public class EditSection : ConfigurationSectionBase
00010 {
00011 [ConfigurationProperty("installer")]
00012 public InstallerElement Installer
00013 {
00014 get { return (InstallerElement)base["installer"]; }
00015 set { base["editTreeUrl"] = value; }
00016 }
00017
00019 [ConfigurationProperty("editors")]
00020 public PermissionElement Editors
00021 {
00022 get { return (PermissionElement)base["editors"]; }
00023 set { base["editors"] = value; }
00024 }
00025
00027 [ConfigurationProperty("administrators")]
00028 public PermissionElement Administrators
00029 {
00030 get { return (PermissionElement)base["administrators"]; }
00031 set { base["administrators"] = value; }
00032 }
00033
00035 [ConfigurationProperty("writers")]
00036 public PermissionElement Writers
00037 {
00038 get { return (PermissionElement)base["writers"]; }
00039 set { base["writers"] = value; }
00040 }
00041
00042 [ConfigurationProperty("uploadFolders")]
00043 public FileSystemFolderCollection UploadFolders
00044 {
00045 get { return (FileSystemFolderCollection)base["uploadFolders"]; }
00046 set { base["uploadFolders"] = value; }
00047 }
00048
00049 [ConfigurationProperty("fileSystem")]
00050 public FileSystemElement FileSystem
00051 {
00052 get { return (FileSystemElement)base["fileSystem"]; }
00053 set { base["fileSystem"] = value; }
00054 }
00055
00056 [ConfigurationProperty("editTreeUrl", DefaultValue = "{ManagementUrl}/Content/Navigation/Tree.aspx")]
00057 public string EditTreeUrl
00058 {
00059 get { return (string)base["editTreeUrl"]; }
00060 set { base["editTreeUrl"] = value; }
00061 }
00062
00063 [ConfigurationProperty("editItemUrl", DefaultValue = "{ManagementUrl}/Content/Edit.aspx")]
00064 public string EditItemUrl
00065 {
00066 get { return (string)base["editItemUrl"]; }
00067 set { base["editItemUrl"] = value; }
00068 }
00069
00070 [ConfigurationProperty("managementInterfaceUrl", DefaultValue = "~/N2/")]
00071 public string ManagementInterfaceUrl
00072 {
00073 get { return (string)base["managementInterfaceUrl"]; }
00074 set { base["managementInterfaceUrl"] = value; }
00075 }
00076
00077 [ConfigurationProperty("editInterfaceUrl", DefaultValue = "{ManagementUrl}/Content/")]
00078 public string EditInterfaceUrl
00079 {
00080 get { return (string)base["editInterfaceUrl"]; }
00081 set { base["editInterfaceUrl"] = value; }
00082 }
00083
00084 [ConfigurationProperty("newItemUrl", DefaultValue = "{ManagementUrl}/Content/New.aspx")]
00085 public string NewItemUrl
00086 {
00087 get { return (string)base["newItemUrl"]; }
00088 set { base["newItemUrl"] = value; }
00089 }
00090
00091 [ConfigurationProperty("deleteItemUrl", DefaultValue = "{ManagementUrl}/Content/delete.aspx")]
00092 public string DeleteItemUrl
00093 {
00094 get { return (string)base["deleteItemUrl"]; }
00095 set { base["deleteItemUrl"] = value; }
00096 }
00097
00098 [ConfigurationProperty("tinyMCE")]
00099 public TinyMCEElement TinyMCE
00100 {
00101 get { return (TinyMCEElement)base["tinyMCE"]; }
00102 set { base["tinyMCE"] = value; }
00103 }
00104
00105 [ConfigurationProperty("nameEditor")]
00106 public NameEditorElement NameEditor
00107 {
00108 get { return (NameEditorElement)base["nameEditor"]; }
00109 set { base["nameEditor"] = value; }
00110 }
00111
00112 [ConfigurationProperty("settingsEditors")]
00113 public SettingsEditorCollection SettingsEditors
00114 {
00115 get { return (SettingsEditorCollection)base["settingsEditors"]; }
00116 set { base["settingsEditors"] = value; }
00117 }
00118
00120 [ConfigurationProperty("defaultDirectory")]
00121 public DefaultDirectoryElement DefaultDirectory
00122 {
00123 get { return (DefaultDirectoryElement)base["defaultDirectory"]; }
00124 set { base["defaultDirectory"] = value; }
00125 }
00126
00130 [ConfigurationProperty("theme")]
00131 public string EditTheme
00132 {
00133 get { return (string)base["theme"]; }
00134 set { base["theme"] = value; }
00135 }
00136
00138 [ConfigurationProperty("versions")]
00139 public VersionsElement Versions
00140 {
00141 get { return (VersionsElement)base["versions"]; }
00142 set { base["versions"] = value; }
00143 }
00144
00146 [ConfigurationProperty("images")]
00147 public ImagesElement Images
00148 {
00149 get { return (ImagesElement)base["images"]; }
00150 set { base["images"] = value; }
00151 }
00152
00154 [ConfigurationProperty("membership")]
00155 public MembershipElement Membership
00156 {
00157 get { return (MembershipElement)base["membership"]; }
00158 set { base["membership"] = value; }
00159 }
00160
00161
00162
00163 [Obsolete("Use Versions.Enabled instead"), ConfigurationProperty("enableVersioning", DefaultValue = true)]
00164 public bool EnableVersioning
00165 {
00166 get { return Versions.Enabled; }
00167 set { Versions.Enabled = true; }
00168 }
00169 }
00170 }