Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / ndp / fx / src / Net / System / Net / Configuration / BypassElement.cs / 1 / BypassElement.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Configuration { using System; using System.Configuration; using System.Reflection; using System.Security.Permissions; public sealed class BypassElement : ConfigurationElement { public BypassElement() { this.properties.Add(this.address); } public BypassElement(string address) : this() { this.Address = address; } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } [ConfigurationProperty(ConfigurationStrings.Address, IsRequired=true, IsKey = true)] public string Address { get { return (string)this[this.address]; } set { this[this.address] = value; } } internal string Key { get { return this.Address; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty address = new ConfigurationProperty(ConfigurationStrings.Address, typeof(string), null, ConfigurationPropertyOptions.IsKey); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net.Configuration { using System; using System.Configuration; using System.Reflection; using System.Security.Permissions; public sealed class BypassElement : ConfigurationElement { public BypassElement() { this.properties.Add(this.address); } public BypassElement(string address) : this() { this.Address = address; } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } [ConfigurationProperty(ConfigurationStrings.Address, IsRequired=true, IsKey = true)] public string Address { get { return (string)this[this.address]; } set { this[this.address] = value; } } internal string Key { get { return this.Address; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty address = new ConfigurationProperty(ConfigurationStrings.Address, typeof(string), null, ConfigurationPropertyOptions.IsKey); } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PartialCachingControl.cs
- SystemWebCachingSectionGroup.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- AutomationIdentifierGuids.cs
- _CookieModule.cs
- AuthenticationModeHelper.cs
- ManifestResourceInfo.cs
- PageAsyncTaskManager.cs
- DataTableReader.cs
- DefinitionBase.cs
- SynchronizationLockException.cs
- MatchingStyle.cs
- RadioButton.cs
- ContextMenuAutomationPeer.cs
- DateBoldEvent.cs
- TimeSpanValidator.cs
- RecordsAffectedEventArgs.cs
- PrintDialog.cs
- BindingUtils.cs
- PersonalizationDictionary.cs
- Collection.cs
- _CookieModule.cs
- EasingKeyFrames.cs
- LockedAssemblyCache.cs
- Size3DConverter.cs
- CodeTryCatchFinallyStatement.cs
- OleDbReferenceCollection.cs
- ProcessInfo.cs
- ClipboardData.cs
- MulticastNotSupportedException.cs
- ConnectionPoolManager.cs
- GlyphCollection.cs
- AssertFilter.cs
- QuadraticBezierSegment.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- TypeUtil.cs
- TableColumn.cs
- OutputCacheSettings.cs
- DesignTimeTemplateParser.cs
- CharEntityEncoderFallback.cs
- XmlSerializerAssemblyAttribute.cs
- StateBag.cs
- Lease.cs
- PtsContext.cs
- ObjectRef.cs
- SingleObjectCollection.cs
- NegotiateStream.cs
- CodeTypeReferenceExpression.cs
- Keyboard.cs
- QilXmlWriter.cs
- CommonDialog.cs
- CollectionChange.cs
- ReachUIElementCollectionSerializerAsync.cs
- LogStream.cs
- FontStyles.cs
- ToolstripProfessionalRenderer.cs
- CreateUserWizard.cs
- OdbcConnection.cs
- ZipIOCentralDirectoryFileHeader.cs
- ContextQuery.cs
- ExternalException.cs
- CodeEventReferenceExpression.cs
- MemoryMappedFile.cs
- EntityParameterCollection.cs
- InvocationExpression.cs
- CalendarAutoFormatDialog.cs
- SerializationUtilities.cs
- Zone.cs
- DbTypeMap.cs
- DataGridViewComboBoxEditingControl.cs
- DesignerCategoryAttribute.cs
- Size3D.cs
- ColumnReorderedEventArgs.cs
- DataGridViewRow.cs
- ByteConverter.cs
- SaveFileDialog.cs
- PreservationFileReader.cs
- TrackingMemoryStreamFactory.cs
- TreeNodeSelectionProcessor.cs
- OrElse.cs
- Constants.cs
- NamespaceInfo.cs
- MultiAsyncResult.cs
- NavigationExpr.cs
- ClientUtils.cs
- Trace.cs
- CommandCollectionEditor.cs
- VariableQuery.cs
- XmlQualifiedName.cs
- WindowAutomationPeer.cs
- WorkItem.cs
- BehaviorService.cs
- IdentityReference.cs
- DeflateStreamAsyncResult.cs
- XsltQilFactory.cs
- UpdateException.cs
- RectangleConverter.cs
- CustomAttributeBuilder.cs
- Style.cs
- XPathNodeHelper.cs