Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / xsp / System / Web / Configuration / ExpressionBuilderCollection.cs / 2 / ExpressionBuilderCollection.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Web.Configuration { using System; using System.Xml; using System.Configuration; using System.Collections.Specialized; using System.Collections; using System.Globalization; using System.IO; using System.Text; using System.Web.Compilation; using System.Reflection; using System.Web.Hosting; using System.Web.UI; using System.CodeDom.Compiler; using System.Web.Util; using System.ComponentModel; using System.Security.Permissions; [ConfigurationCollection(typeof(ExpressionBuilder))] [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class ExpressionBuilderCollection : ConfigurationElementCollection { private static ConfigurationPropertyCollection _properties; static ExpressionBuilderCollection() { // Property initialization _properties = new ConfigurationPropertyCollection(); } public ExpressionBuilderCollection() : base(StringComparer.OrdinalIgnoreCase) { } protected override ConfigurationPropertyCollection Properties { get { return _properties; } } public new ExpressionBuilder this[string name] { get { return (ExpressionBuilder)BaseGet(name); } } public ExpressionBuilder this[int index] { get { return (ExpressionBuilder)BaseGet(index); } set { if (BaseGet(index) != null) { BaseRemoveAt(index); } BaseAdd(index, value); } } public void Add(ExpressionBuilder buildProvider) { BaseAdd(buildProvider); } public void Remove(String name) { BaseRemove(name); } public void RemoveAt(int index) { BaseRemoveAt(index); } public void Clear() { BaseClear(); } protected override ConfigurationElement CreateNewElement() { return new ExpressionBuilder(); } protected override Object GetElementKey(ConfigurationElement element) { return ((ExpressionBuilder)element).ExpressionPrefix; } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TypeNameHelper.cs
- InternalConfigConfigurationFactory.cs
- CriticalHandle.cs
- FullTextBreakpoint.cs
- EntryWrittenEventArgs.cs
- SelectManyQueryOperator.cs
- Base64Encoding.cs
- ListViewPagedDataSource.cs
- ThemeDirectoryCompiler.cs
- Font.cs
- ScopeElementCollection.cs
- SoapObjectWriter.cs
- messageonlyhwndwrapper.cs
- Geometry.cs
- PointLightBase.cs
- GridViewHeaderRowPresenter.cs
- BitmapEffectrendercontext.cs
- BaseHashHelper.cs
- XmlSchemaAnyAttribute.cs
- ValidatorCompatibilityHelper.cs
- AnimationClockResource.cs
- ObjectComplexPropertyMapping.cs
- SuppressMessageAttribute.cs
- DataSetFieldSchema.cs
- LocatorManager.cs
- SettingsPropertyValueCollection.cs
- ProbeDuplexCD1AsyncResult.cs
- XmlCodeExporter.cs
- MailAddressCollection.cs
- CodeEventReferenceExpression.cs
- ProfileService.cs
- PeerCollaborationPermission.cs
- EdmFunction.cs
- ToolStripDropDownClosedEventArgs.cs
- ListViewGroupItemCollection.cs
- WindowsEditBoxRange.cs
- ManagementQuery.cs
- WebProxyScriptElement.cs
- COM2Enum.cs
- _CommandStream.cs
- XmlBaseWriter.cs
- SchemaLookupTable.cs
- ParameterToken.cs
- KeyboardNavigation.cs
- HandleValueEditor.cs
- Binding.cs
- StateManagedCollection.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- AlgoModule.cs
- SafeNativeMethods.cs
- UserNameSecurityToken.cs
- ImageCodecInfoPrivate.cs
- DataObject.cs
- NoneExcludedImageIndexConverter.cs
- SemaphoreSecurity.cs
- InputProviderSite.cs
- WebPartConnectionsDisconnectVerb.cs
- BuildProvidersCompiler.cs
- BooleanAnimationBase.cs
- DecodeHelper.cs
- Compensation.cs
- UriSchemeKeyedCollection.cs
- SvcFileManager.cs
- FormView.cs
- FontNamesConverter.cs
- ListViewInsertedEventArgs.cs
- RSAPKCS1KeyExchangeFormatter.cs
- OletxTransactionManager.cs
- DropDownButton.cs
- NumericExpr.cs
- Point4D.cs
- InkCanvasInnerCanvas.cs
- XmlSchemaSet.cs
- StylusTip.cs
- ProfileSettings.cs
- NetNamedPipeSecurity.cs
- BitmapSource.cs
- InfoCardRSACryptoProvider.cs
- RoutedEventConverter.cs
- AppDomainAttributes.cs
- Terminate.cs
- DoWorkEventArgs.cs
- PairComparer.cs
- TableHeaderCell.cs
- Thread.cs
- TreeNodeStyle.cs
- IRCollection.cs
- CheckBoxPopupAdapter.cs
- dataobject.cs
- SQLInt32.cs
- RegexWriter.cs
- TextParagraph.cs
- SoapFault.cs
- EditingMode.cs
- xmlfixedPageInfo.cs
- XmlNamespaceDeclarationsAttribute.cs
- Assembly.cs
- XmlEntity.cs
- SQLRoleProvider.cs
- WeakReferenceKey.cs