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
- MemberInitExpression.cs
- ModelPerspective.cs
- ToolStripContainerActionList.cs
- StreamWriter.cs
- ListItem.cs
- HttpTransportBindingElement.cs
- RequestSecurityTokenSerializer.cs
- SafeViewOfFileHandle.cs
- DBCSCodePageEncoding.cs
- Hex.cs
- DataQuery.cs
- DbProviderServices.cs
- Border.cs
- BoundField.cs
- LineGeometry.cs
- AutoCompleteStringCollection.cs
- ResolveNameEventArgs.cs
- DoubleStorage.cs
- webproxy.cs
- UrlMappingCollection.cs
- TableDetailsCollection.cs
- WebConfigurationHostFileChange.cs
- ContextStack.cs
- Point3D.cs
- DeferredBinaryDeserializerExtension.cs
- WindowsStartMenu.cs
- XPathMultyIterator.cs
- EnumValAlphaComparer.cs
- BuildProvidersCompiler.cs
- VirtualPath.cs
- GroupBoxRenderer.cs
- SqlInternalConnectionTds.cs
- WhitespaceRule.cs
- ListSortDescriptionCollection.cs
- DateTimeOffsetAdapter.cs
- XamlReaderConstants.cs
- SecureUICommand.cs
- XmlSerializerSection.cs
- TrackingMemoryStream.cs
- DataGridViewRowEventArgs.cs
- Label.cs
- CmsInterop.cs
- Privilege.cs
- MultiDataTrigger.cs
- ProvidersHelper.cs
- ToolStripItemRenderEventArgs.cs
- ArrayElementGridEntry.cs
- RIPEMD160Managed.cs
- Native.cs
- infer.cs
- PathGeometry.cs
- RectangleF.cs
- RSAOAEPKeyExchangeFormatter.cs
- SharedStatics.cs
- FacetValues.cs
- TemplateField.cs
- PropertyMappingExceptionEventArgs.cs
- InvalidOleVariantTypeException.cs
- CheckBoxAutomationPeer.cs
- DataBoundLiteralControl.cs
- PropertyPushdownHelper.cs
- Metadata.cs
- DBBindings.cs
- MetabaseReader.cs
- ReadOnlyMetadataCollection.cs
- PolyQuadraticBezierSegment.cs
- WriteFileContext.cs
- FontStretches.cs
- XPathNavigatorKeyComparer.cs
- DataRowComparer.cs
- HandlerBase.cs
- HttpApplicationFactory.cs
- XmlEntity.cs
- ComponentCache.cs
- TrustLevel.cs
- AssociationTypeEmitter.cs
- Model3D.cs
- TreeNodeCollection.cs
- HMACSHA1.cs
- ImageAnimator.cs
- SqlParameterCollection.cs
- FixedDSBuilder.cs
- ParseChildrenAsPropertiesAttribute.cs
- BaseEntityWrapper.cs
- OdbcEnvironmentHandle.cs
- SchemaType.cs
- ProtocolsConfigurationHandler.cs
- RegularExpressionValidator.cs
- TextServicesProperty.cs
- HoistedLocals.cs
- MetadataItemSerializer.cs
- WmlPanelAdapter.cs
- ComponentConverter.cs
- StylusPointPropertyUnit.cs
- PeerTransportCredentialType.cs
- SHA1CryptoServiceProvider.cs
- RegexMatch.cs
- unitconverter.cs
- VirtualPathProvider.cs
- XmlWriterSettings.cs