Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- SynchronizationContextHelper.cs
- FastPropertyAccessor.cs
- ExtensionSimplifierMarkupObject.cs
- _FtpControlStream.cs
- ContextMarshalException.cs
- SQLMembershipProvider.cs
- BitmapCache.cs
- FunctionImportMapping.cs
- EncodingDataItem.cs
- RsaSecurityKey.cs
- SerializationStore.cs
- AttributeUsageAttribute.cs
- ICollection.cs
- WindowsAuthenticationModule.cs
- FixedSOMGroup.cs
- TableLayoutSettings.cs
- HitTestParameters.cs
- PathData.cs
- XmlDataProvider.cs
- SystemKeyConverter.cs
- DbProviderFactory.cs
- SQLMoney.cs
- InfoCardAsymmetricCrypto.cs
- ImageButton.cs
- UserControl.cs
- DateTimeEditor.cs
- Crypto.cs
- CmsUtils.cs
- ModifierKeysValueSerializer.cs
- DataControlFieldCell.cs
- AnnotationResourceChangedEventArgs.cs
- ProcessModule.cs
- StorageScalarPropertyMapping.cs
- EventProperty.cs
- ClientFormsAuthenticationCredentials.cs
- SiteMapDataSource.cs
- FixedSOMElement.cs
- EastAsianLunisolarCalendar.cs
- ColorIndependentAnimationStorage.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ChangeConflicts.cs
- OracleConnectionString.cs
- StringSorter.cs
- StrokeDescriptor.cs
- sqlnorm.cs
- SoapTransportImporter.cs
- DocumentViewerBaseAutomationPeer.cs
- PageSetupDialog.cs
- VisualState.cs
- CodeTypeDeclarationCollection.cs
- ConnectionStringsSection.cs
- ReferenceConverter.cs
- CheckBoxPopupAdapter.cs
- CustomAttributeSerializer.cs
- SQLGuid.cs
- PrtCap_Base.cs
- HyperLinkStyle.cs
- DockPattern.cs
- HtmlTitle.cs
- RenderDataDrawingContext.cs
- PagerSettings.cs
- HttpCookiesSection.cs
- Cursor.cs
- IBuiltInEvidence.cs
- ModelPropertyImpl.cs
- DataSpaceManager.cs
- MenuCommands.cs
- ToolStripContentPanelRenderEventArgs.cs
- SetterBase.cs
- SqlDataAdapter.cs
- ActivityMarkupSerializationProvider.cs
- MaskDesignerDialog.cs
- ArgumentsParser.cs
- ObjectNotFoundException.cs
- EventMappingSettings.cs
- WebConfigurationFileMap.cs
- EdmRelationshipNavigationPropertyAttribute.cs
- QuaternionAnimation.cs
- EntityDataSource.cs
- TextFindEngine.cs
- DesignerAdapterAttribute.cs
- XMLDiffLoader.cs
- AnnotationResourceCollection.cs
- UpdateTranslator.cs
- MissingMemberException.cs
- IndexedEnumerable.cs
- DataGridViewTextBoxCell.cs
- SqlReorderer.cs
- XPathArrayIterator.cs
- EventItfInfo.cs
- RegisteredExpandoAttribute.cs
- dataobject.cs
- HyperLinkField.cs
- TargetException.cs
- DrawingGroupDrawingContext.cs
- SignatureConfirmations.cs
- ITextView.cs
- HTMLTagNameToTypeMapper.cs
- QualifierSet.cs
- AnnotationResource.cs