+2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
+
+ * ConfigurationElement.cs : ListErrors() and SetPropertyValue()
+ are protected.
+ * ConfigurationSection.cs : the .ctor() is protected.
+ * ConfigurationElementCollection.cs : CollectionType is public.
+ Count and BaseAdd() are not virtual.
+ * ConfigurationPropertyCollection.cs : Count is not virtual.
+
2006-02-01 Chris Toshok <toshok@ximian.com>
* ConfigurationElement.cs: revert the patch that stores and writes
}
[MonoTODO]
- public void ListErrors (IList list)
+ protected void ListErrors (IList list)
{
throw new NotImplementedException ();
}
[MonoTODO]
- public void SetPropertyValue (ConfigurationProperty prop, object value, bool ignoreLocks)
+ protected void SetPropertyValue (ConfigurationProperty prop, object value, bool ignoreLocks)
{
try {
/* XXX all i know for certain is that Validation happens here */
#region Properties
- protected virtual ConfigurationElementCollectionType CollectionType {
+ public virtual ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.AddRemoveClearMap; }
}
}
}
- public virtual int Count {
+ public int Count {
get { return list.Count; }
}
BaseAdd (element, ThrowOnDuplicate);
}
- protected virtual void BaseAdd (ConfigurationElement element, bool throwIfExists)
+ protected void BaseAdd (ConfigurationElement element, bool throwIfExists)
{
if (throwIfExists && BaseIndexOf (element) != -1)
throw new ConfigurationException ("Duplicate element in collection");
collection = new List <ConfigurationProperty> ();
}
- public virtual int Count {
+ public int Count {
get { return collection.Count; }
}
{
SectionInformation sectionInformation;
- public ConfigurationSection ()
+ protected ConfigurationSection ()
{
}
BaseAdd(index, rule);
}
- protected override ConfigurationElementCollectionType CollectionType {
+ public override ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.BasicMapAlternate; }
}
+2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
+
+ * TrustLevelCollection.cs, CodeSubDirectoriesCollection.cs,
+ CustomErrorCollection.cs, CompilerCollection.cs,
+ HttpHandlerActionCollection.cs,
+ FormsAuthenticationUserCollection.cs,
+ AuthorizationRuleCollection.cs, TagPrefixCollection.cs :
+ CollectionType is public.
+
2006-02-01 Chris Toshok <toshok@ximian.com>
* WebConfigurationManager.cs: In the normal case, get the current
set { if (BaseGet (index) != null) BaseRemoveAt (index); BaseAdd (index, value); }
}
- protected override ConfigurationElementCollectionType CollectionType {
+ public override ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.BasicMap; }
}
}
}
- protected override ConfigurationElementCollectionType CollectionType {
+ public override ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.BasicMap; }
}
}
}
- protected override ConfigurationElementCollectionType CollectionType {
+ public override ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.BasicMap; }
}
}
}
- protected override ConfigurationElementCollectionType CollectionType {
+ public override ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.BasicMap; }
}
BaseRemoveAt (index);
}
- protected override ConfigurationElementCollectionType CollectionType {
+ public override ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.AddRemoveClearMapAlternate; }
}
}
[MonoTODO ("why override this?")]
- protected override ConfigurationElementCollectionType CollectionType {
+ public override ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.BasicMap; }
}
return elementname == "trustlevel";
}
- protected override ConfigurationElementCollectionType CollectionType {
+ public override ConfigurationElementCollectionType CollectionType {
get { return ConfigurationElementCollectionType.BasicMap; }
}
+2006-02-01 Atsushi Enomoto <atsushi@ximian.com>
+
+ * SettingElementCollection.cs : CollectionType is protected.
+
2006-01-16 Chris Toshok <toshok@ximian.com>
* ConfigurationSettings.cs (AppSettings): move back to a 1.x
}
[MonoTODO]
- protected override ConfigurationElementCollectionType CollectionType {
+ public override ConfigurationElementCollectionType CollectionType {
get {
throw new NotImplementedException ();
}