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
- PlatformCulture.cs
- ReadOnlyDataSource.cs
- CompleteWizardStep.cs
- FunctionDetailsReader.cs
- MatrixTransform3D.cs
- NavigationWindowAutomationPeer.cs
- CompilerErrorCollection.cs
- RequestBringIntoViewEventArgs.cs
- SrgsNameValueTag.cs
- DataControlReference.cs
- HorizontalAlignConverter.cs
- _TLSstream.cs
- ContainerParaClient.cs
- sqlmetadatafactory.cs
- Page.cs
- EntityProxyTypeInfo.cs
- App.cs
- Certificate.cs
- Memoizer.cs
- DbParameterHelper.cs
- DocumentPageView.cs
- EncoderReplacementFallback.cs
- ContentElementAutomationPeer.cs
- AliasGenerator.cs
- FlowLayout.cs
- Button.cs
- TiffBitmapEncoder.cs
- NegotiationTokenAuthenticatorState.cs
- X509ChainElement.cs
- SpeechDetectedEventArgs.cs
- HScrollProperties.cs
- hebrewshape.cs
- XmlChoiceIdentifierAttribute.cs
- PtsPage.cs
- SchemaName.cs
- WindowsFormsSectionHandler.cs
- SqlVisitor.cs
- TdsParser.cs
- XPathMultyIterator.cs
- VariantWrapper.cs
- NominalTypeEliminator.cs
- AspNetHostingPermission.cs
- PersonalizationAdministration.cs
- ContentHostHelper.cs
- OledbConnectionStringbuilder.cs
- ShaderEffect.cs
- TTSEngineTypes.cs
- TextEditorTyping.cs
- CodeGeneratorAttribute.cs
- EventItfInfo.cs
- newinstructionaction.cs
- UnionCqlBlock.cs
- TextBreakpoint.cs
- PageContentCollection.cs
- ScaleTransform3D.cs
- CallbackValidator.cs
- WindowsToolbarItemAsMenuItem.cs
- FileAuthorizationModule.cs
- WebPartEditorOkVerb.cs
- Pair.cs
- LinearGradientBrush.cs
- RubberbandSelector.cs
- AudioBase.cs
- GridViewEditEventArgs.cs
- PageEventArgs.cs
- Shape.cs
- WebRequestModuleElementCollection.cs
- WrapPanel.cs
- FormClosingEvent.cs
- WindowShowOrOpenTracker.cs
- MD5.cs
- RemoteWebConfigurationHostStream.cs
- TemplateInstanceAttribute.cs
- SmiMetaData.cs
- HttpRawResponse.cs
- CalendarDataBindingHandler.cs
- MimeTypeAttribute.cs
- CodeSubDirectoriesCollection.cs
- ParagraphVisual.cs
- TaskScheduler.cs
- StyleCollectionEditor.cs
- TreeBuilderBamlTranslator.cs
- XmlSchemaException.cs
- TraceLog.cs
- basenumberconverter.cs
- NameValuePair.cs
- SystemSounds.cs
- CorrelationInitializer.cs
- RootBrowserWindow.cs
- SectionXmlInfo.cs
- DefaultParameterValueAttribute.cs
- StrokeNode.cs
- DataReceivedEventArgs.cs
- HtmlTitle.cs
- PageDeviceFont.cs
- Form.cs
- DurableMessageDispatchInspector.cs
- RsaSecurityTokenAuthenticator.cs
- TripleDES.cs
- SizeAnimationClockResource.cs