Go to the documentation of this file.00001 using System.Configuration;
00002
00003 namespace N2.Configuration
00004 {
00005 public class NameEditorElement : ConfigurationElement
00006 {
00008 [ConfigurationProperty("whitespaceReplacement", DefaultValue = '-')]
00009 public char WhitespaceReplacement
00010 {
00011 get { return (char)base["whitespaceReplacement"]; }
00012 set { base["whitespaceReplacement"] = value; }
00013 }
00014
00016 [ConfigurationProperty("toLower", DefaultValue = true)]
00017 public bool ToLower
00018 {
00019 get { return (bool)base["toLower"]; }
00020 set { base["toLower"] = value; }
00021 }
00022
00024 [ConfigurationProperty("showKeepUpdated", DefaultValue = true)]
00025 public bool ShowKeepUpdated
00026 {
00027 get { return (bool)base["showKeepUpdated"]; }
00028 set { base["showKeepUpdated"] = value; }
00029 }
00030
00032 [ConfigurationProperty("replacements")]
00033 public PatternValueCollection Replacements
00034 {
00035 get { return (PatternValueCollection)base["replacements"]; }
00036 set { base["replacements"] = value; }
00037 }
00038 }
00039 }