Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / BypassElement.cs / 1305376 / 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
- CompositeTypefaceMetrics.cs
- MutexSecurity.cs
- COAUTHINFO.cs
- QilExpression.cs
- XamlReaderHelper.cs
- ETagAttribute.cs
- HttpServerVarsCollection.cs
- FormViewUpdatedEventArgs.cs
- DataKey.cs
- EncoderNLS.cs
- DefaultAssemblyResolver.cs
- TreePrinter.cs
- XmlEntity.cs
- SQLDouble.cs
- ListenerConnectionModeReader.cs
- PixelFormat.cs
- CollectionAdapters.cs
- EnlistmentState.cs
- GraphicsState.cs
- ArrayItemReference.cs
- ButtonBaseAutomationPeer.cs
- AnchoredBlock.cs
- DataGridHeaderBorder.cs
- DesignSurface.cs
- SettingsContext.cs
- CryptoApi.cs
- PostBackTrigger.cs
- RowToParametersTransformer.cs
- MasterPageCodeDomTreeGenerator.cs
- EFTableProvider.cs
- XmlSchemaExporter.cs
- SQLBinary.cs
- RIPEMD160.cs
- LocationFactory.cs
- BinaryObjectReader.cs
- StateMachineWorkflowDesigner.cs
- TheQuery.cs
- ScrollViewer.cs
- CompressionTracing.cs
- SchemaNotation.cs
- UnknownWrapper.cs
- NativeRightsManagementAPIsStructures.cs
- QueryRewriter.cs
- ProcessHostMapPath.cs
- AnnotationAuthorChangedEventArgs.cs
- DataError.cs
- ThreadAttributes.cs
- ParserExtension.cs
- SliderAutomationPeer.cs
- _SslState.cs
- UrlAuthorizationModule.cs
- FixedPageStructure.cs
- DatePickerTextBox.cs
- AutomationElement.cs
- PageSettings.cs
- XmlWriter.cs
- Method.cs
- CookielessHelper.cs
- Token.cs
- FieldBuilder.cs
- DataPointer.cs
- OdbcConnectionHandle.cs
- RightsManagementPermission.cs
- SiteMapNodeItemEventArgs.cs
- RowToParametersTransformer.cs
- DelegatedStream.cs
- TypeConverterBase.cs
- BindValidationContext.cs
- _NetworkingPerfCounters.cs
- TabControlEvent.cs
- DescendantBaseQuery.cs
- SuppressIldasmAttribute.cs
- AccessorTable.cs
- OverflowException.cs
- X509ChainElement.cs
- ExpressionBuilder.cs
- SimpleParser.cs
- ConstructorBuilder.cs
- ButtonBase.cs
- ResourceSetExpression.cs
- X509CertificateInitiatorClientCredential.cs
- TickBar.cs
- SqlDataReader.cs
- HttpResponseHeader.cs
- ModulesEntry.cs
- MultiBindingExpression.cs
- IndicFontClient.cs
- ChameleonKey.cs
- OdbcReferenceCollection.cs
- FieldNameLookup.cs
- RunClient.cs
- TextBoxBase.cs
- PrintPreviewControl.cs
- PerspectiveCamera.cs
- PointAnimationClockResource.cs
- HtmlInputReset.cs
- OrderedDictionaryStateHelper.cs
- PathGeometry.cs
- PropertyValueUIItem.cs
- HMAC.cs