static HttpModuleAction ()
{
- nameProp = new ConfigurationProperty ("name", typeof (string), "",
+ nameProp = new ConfigurationProperty ("name", typeof (string), null,
TypeDescriptor.GetConverter (typeof (string)),
PropertyHelper.NonEmptyStringValidator,
ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey);
- typeProp = new ConfigurationProperty ("type", typeof (string), "", ConfigurationPropertyOptions.IsRequired);
+ typeProp = new ConfigurationProperty ("type", typeof (string), "hoho", ConfigurationPropertyOptions.IsRequired);
properties = new ConfigurationPropertyCollection ();
properties.Add (nameProp);
properties.Add (typeProp);
[StringValidator (MinLength = 1)]
[ConfigurationProperty ("name", DefaultValue = "", Options = ConfigurationPropertyOptions.IsRequired | ConfigurationPropertyOptions.IsKey)]
- public new string Name {
+ public string Name {
get { return (string)base[nameProp]; }
set { base[nameProp] = value; }
}