// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
//
-#if NET_2_0
using System;
using System.Collections;
using System.Configuration;
static ExpressionBuilderCollection ()
{
props = new ConfigurationPropertyCollection ();
- ConfigurationPropertyOptions flags = ConfigurationPropertyOptions.IsDefaultCollection;
- ConfigurationProperty prop = new ConfigurationProperty (null, typeof (ExpressionBuilderCollection), null, flags);
- props.Add (prop);
}
public ExpressionBuilderCollection (): base (CaseInsensitiveComparer.DefaultInvariant)
get { return (ExpressionBuilder) BaseGet (name); }
}
- protected override ConfigurationPropertyCollection Properties {
+ protected internal override ConfigurationPropertyCollection Properties {
get { return props; }
}
protected override ConfigurationElement CreateNewElement ()
{
- return new ExpressionBuilder ("", "");
+ return new ExpressionBuilder ();
}
protected override object GetElementKey (ConfigurationElement element)
}
}
}
-#endif // NET_2_0