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
- XmlReflectionMember.cs
- MenuBindingsEditorForm.cs
- BinaryParser.cs
- FolderLevelBuildProviderCollection.cs
- UnauthorizedAccessException.cs
- AddingNewEventArgs.cs
- XmlLanguageConverter.cs
- RelatedPropertyManager.cs
- DiagnosticTraceSource.cs
- HttpServerVarsCollection.cs
- EncoderBestFitFallback.cs
- StorageEntitySetMapping.cs
- WebPartConnection.cs
- Pair.cs
- DesignerActionPanel.cs
- PersianCalendar.cs
- NamedPipeTransportBindingElement.cs
- WindowsTokenRoleProvider.cs
- ToolStripContentPanel.cs
- VisualTreeHelper.cs
- AutoSizeComboBox.cs
- HttpListenerResponse.cs
- CheckBoxList.cs
- PrePrepareMethodAttribute.cs
- figurelengthconverter.cs
- DiagnosticsConfiguration.cs
- BinaryConverter.cs
- XmlTextWriter.cs
- TreePrinter.cs
- ModulesEntry.cs
- EFTableProvider.cs
- CacheDependency.cs
- HandleCollector.cs
- SqlProvider.cs
- PageAsyncTaskManager.cs
- PolyBezierSegmentFigureLogic.cs
- XmlNamedNodeMap.cs
- HttpFileCollection.cs
- ExternalCalls.cs
- InvalidDocumentContentsException.cs
- OpenTypeLayoutCache.cs
- CodeRemoveEventStatement.cs
- AlphabeticalEnumConverter.cs
- EdmComplexPropertyAttribute.cs
- WSSecurityTokenSerializer.cs
- UniformGrid.cs
- InfoCardPolicy.cs
- DebugInfoExpression.cs
- NavigationCommands.cs
- WebPartManagerInternals.cs
- InfoCardConstants.cs
- CommandEventArgs.cs
- ValidatingPropertiesEventArgs.cs
- SourceSwitch.cs
- IdentifierService.cs
- ToolStripControlHost.cs
- CachedTypeface.cs
- CodeArrayIndexerExpression.cs
- TagNameToTypeMapper.cs
- NativeMethods.cs
- MemoryRecordBuffer.cs
- UserNameSecurityTokenAuthenticator.cs
- ToolboxBitmapAttribute.cs
- NativeMethodsCLR.cs
- XmlnsCache.cs
- UnsupportedPolicyOptionsException.cs
- PersistenceParticipant.cs
- xmlsaver.cs
- JsonClassDataContract.cs
- PropertyGridEditorPart.cs
- VisualBasicDesignerHelper.cs
- StaticSiteMapProvider.cs
- FormsAuthenticationCredentials.cs
- HostedNamedPipeTransportManager.cs
- ConnectionOrientedTransportChannelListener.cs
- SmtpSection.cs
- PartDesigner.cs
- BuildManager.cs
- mediaclock.cs
- AmbientProperties.cs
- HatchBrush.cs
- MailBnfHelper.cs
- DbSourceCommand.cs
- CodeAttributeArgumentCollection.cs
- WebPartZoneBase.cs
- AnnotationComponentChooser.cs
- ContentTextAutomationPeer.cs
- DeadCharTextComposition.cs
- ReliableChannelFactory.cs
- DataException.cs
- PerfCounters.cs
- FactoryMaker.cs
- ServiceX509SecurityTokenProvider.cs
- RubberbandSelector.cs
- OracleEncoding.cs
- PowerStatus.cs
- HtmlImage.cs
- RuleProcessor.cs
- ContractMapping.cs
- UrlMapping.cs