using System.Collections.Generic;
using System.Text;
using System.Configuration;
+using System.ComponentModel;
+using System.Web.UI.WebControls;
namespace System.Web.Configuration
{
}
[ConfigurationPropertyAttribute ("readAccessProperties", DefaultValue = null)]
+ [TypeConverter(typeof(StringArrayConverter))]
public string [] ReadAccessProperties {
+ get {
+ string [] data = ReadAccessPropertiesNoCopy;
+ return (string []) data.Clone ();
+ }
+ set {
+ if (value != null)
+ value = (string []) value.Clone ();
+ ReadAccessPropertiesNoCopy = value;
+ }
+ }
+
+ internal string [] ReadAccessPropertiesNoCopy {
get {
return (string []) this ["readAccessProperties"];
}
}
}
- [ConfigurationPropertyAttribute ("writeAccessProperites", DefaultValue = null)]
+ [ConfigurationPropertyAttribute ("writeAccessProperties", DefaultValue = null)]
+ [TypeConverter (typeof (StringArrayConverter))]
public string [] WriteAccessProperties {
get {
- return (string []) this ["writeAccessProperites"];
+ string [] data = WriteAccessPropertiesNoCopy;
+ return (string []) data.Clone ();
+ }
+ set {
+ if (value != null)
+ value = (string []) value.Clone ();
+ WriteAccessPropertiesNoCopy = value;
+ }
+ }
+
+ internal string [] WriteAccessPropertiesNoCopy {
+ get {
+ return (string []) this ["writeAccessProperties"];
}
set {
- this ["writeAccessProperites"] = value;
+ this ["writeAccessProperties"] = value;
}
}
}