Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- SHA256.cs
- GridViewColumn.cs
- NumberSubstitution.cs
- Matrix.cs
- X509Certificate2.cs
- TimersDescriptionAttribute.cs
- XPathDocumentIterator.cs
- autovalidator.cs
- _KerberosClient.cs
- Wizard.cs
- ContentIterators.cs
- Configuration.cs
- StorageMappingFragment.cs
- ProgressBar.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- SchemaNames.cs
- ImageAttributes.cs
- ReachSerializableProperties.cs
- SafeMILHandle.cs
- dsa.cs
- SelectionItemProviderWrapper.cs
- View.cs
- FontSource.cs
- MaskedTextBox.cs
- ResourceExpression.cs
- DrawingAttributesDefaultValueFactory.cs
- ProviderSettingsCollection.cs
- GridViewUpdatedEventArgs.cs
- TextRunProperties.cs
- ConfigurationLocationCollection.cs
- FormsAuthenticationConfiguration.cs
- Registry.cs
- DataGridBoundColumn.cs
- ProcessHostServerConfig.cs
- ComplexLine.cs
- StyleXamlParser.cs
- JsonEnumDataContract.cs
- DesignerCapabilities.cs
- ToolStripRenderEventArgs.cs
- JavaScriptString.cs
- Image.cs
- ToolStripPanelRenderEventArgs.cs
- XmlSchemaGroup.cs
- ServicePointManager.cs
- SecurityTokenValidationException.cs
- MouseBinding.cs
- DefaultValidator.cs
- NamespaceInfo.cs
- MemberHolder.cs
- DataGridViewRowCollection.cs
- querybuilder.cs
- InfoCardBinaryReader.cs
- Operand.cs
- QilFactory.cs
- DBCommandBuilder.cs
- ByteStreamGeometryContext.cs
- DrawItemEvent.cs
- X509RawDataKeyIdentifierClause.cs
- ConfigXmlText.cs
- MappingException.cs
- MessageHeader.cs
- LinqExpressionNormalizer.cs
- HMACSHA384.cs
- RenderingEventArgs.cs
- UnsafeNativeMethods.cs
- Assembly.cs
- MappedMetaModel.cs
- TerminateDesigner.cs
- Container.cs
- StatusStrip.cs
- TableChangeProcessor.cs
- SchemaMapping.cs
- CalendarBlackoutDatesCollection.cs
- AttachmentService.cs
- HyperLinkField.cs
- GridViewCommandEventArgs.cs
- SystemNetHelpers.cs
- DecimalAnimation.cs
- OdbcError.cs
- EditorZone.cs
- DetailsViewModeEventArgs.cs
- XmlSchemaResource.cs
- SByteConverter.cs
- BitmapSource.cs
- Brush.cs
- IxmlLineInfo.cs
- ServiceMetadataBehavior.cs
- RepeaterCommandEventArgs.cs
- DataControlFieldHeaderCell.cs
- SectionInformation.cs
- DateTimeConverter.cs
- ClipboardData.cs
- KeyboardNavigation.cs
- ColorBlend.cs
- NavigationProperty.cs
- IntegerValidator.cs
- DeferredSelectedIndexReference.cs
- QilStrConcatenator.cs
- FormsAuthentication.cs
- RealizationContext.cs