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
- BooleanAnimationUsingKeyFrames.cs
- SqlProviderManifest.cs
- Speller.cs
- Rect.cs
- filewebrequest.cs
- ExceptionDetail.cs
- Root.cs
- PersonalizationStateQuery.cs
- ElementUtil.cs
- ServiceDescriptionReflector.cs
- HttpsTransportBindingElement.cs
- XPathMessageFilterElement.cs
- MultiplexingFormatMapping.cs
- SqlUserDefinedTypeAttribute.cs
- TextLineBreak.cs
- SecurityPolicySection.cs
- DurableDispatcherAddressingFault.cs
- Geometry3D.cs
- TimeoutException.cs
- XsltException.cs
- Membership.cs
- ValueUnavailableException.cs
- VirtualPathUtility.cs
- StagingAreaInputItem.cs
- SubMenuStyle.cs
- FormCollection.cs
- XmlWellformedWriter.cs
- SrgsGrammarCompiler.cs
- CompositeClientFormatter.cs
- ISFTagAndGuidCache.cs
- Vector3DValueSerializer.cs
- ReachPageContentCollectionSerializerAsync.cs
- PersistenceException.cs
- Utils.cs
- _ConnectOverlappedAsyncResult.cs
- ToolStripPanelDesigner.cs
- LassoHelper.cs
- DataGridViewHeaderCell.cs
- AnnotationResource.cs
- EtwTrace.cs
- ToolStripSeparator.cs
- MatrixValueSerializer.cs
- OutKeywords.cs
- StylusShape.cs
- DBConnection.cs
- XslAstAnalyzer.cs
- EventLogEntryCollection.cs
- SystemEvents.cs
- FrameSecurityDescriptor.cs
- BindingValueChangedEventArgs.cs
- DataRowExtensions.cs
- ProxyElement.cs
- CroppedBitmap.cs
- SoapIgnoreAttribute.cs
- NativeRightsManagementAPIsStructures.cs
- TaskHelper.cs
- MouseActionValueSerializer.cs
- WhitespaceSignificantCollectionAttribute.cs
- CapabilitiesRule.cs
- PartialToken.cs
- TouchPoint.cs
- RotateTransform.cs
- ValidatorCompatibilityHelper.cs
- DynamicPhysicalDiscoSearcher.cs
- ErrorInfoXmlDocument.cs
- IdentityManager.cs
- DataGridDesigner.cs
- CqlBlock.cs
- SerializationInfoEnumerator.cs
- LockCookie.cs
- EncryptedData.cs
- Pair.cs
- WhitespaceReader.cs
- DateTimePicker.cs
- BitSet.cs
- TableAutomationPeer.cs
- Registry.cs
- MSAANativeProvider.cs
- ListSourceHelper.cs
- RepeaterCommandEventArgs.cs
- TextDecorationUnitValidation.cs
- DataListCommandEventArgs.cs
- XmlSchemaException.cs
- ProxySimple.cs
- CheckBoxField.cs
- SynchronizationContext.cs
- MimePart.cs
- VoiceInfo.cs
- Typography.cs
- CodeDelegateCreateExpression.cs
- XPathDescendantIterator.cs
- SystemNetworkInterface.cs
- ResetableIterator.cs
- RequestResponse.cs
- StorageFunctionMapping.cs
- ProtectedConfigurationSection.cs
- ProcessExitedException.cs
- X509RecipientCertificateServiceElement.cs
- OracleCommandBuilder.cs
- ApplicationTrust.cs