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
- MULTI_QI.cs
- NetPipeSection.cs
- HyperLinkStyle.cs
- ChannelFactoryRefCache.cs
- ElapsedEventArgs.cs
- ZoomPercentageConverter.cs
- ActivityBuilderXamlWriter.cs
- XmlEnumAttribute.cs
- RtfFormatStack.cs
- XsdBuildProvider.cs
- WebServiceTypeData.cs
- SqlAggregateChecker.cs
- WebConfigurationFileMap.cs
- CodeTypeOfExpression.cs
- SapiAttributeParser.cs
- ExtendedProtectionPolicyElement.cs
- BitConverter.cs
- Shape.cs
- XhtmlBasicLinkAdapter.cs
- XmlNodeComparer.cs
- PointValueSerializer.cs
- UnmanagedMemoryStream.cs
- DragDropHelper.cs
- QueryableDataSourceHelper.cs
- OleDbPermission.cs
- MetadataSource.cs
- DefaultAutoFieldGenerator.cs
- ObjectTag.cs
- DeleteCardRequest.cs
- DoneReceivingAsyncResult.cs
- FlowLayoutSettings.cs
- PeerPresenceInfo.cs
- ValidationPropertyAttribute.cs
- WindowsFormsHelpers.cs
- StringSource.cs
- Missing.cs
- KnownIds.cs
- ClientBuildManager.cs
- ResourceReferenceExpressionConverter.cs
- AsyncOperation.cs
- templategroup.cs
- RIPEMD160.cs
- ValidatorCompatibilityHelper.cs
- BufferAllocator.cs
- XPathAxisIterator.cs
- ReferenceTypeElement.cs
- MobileContainerDesigner.cs
- NavigationHelper.cs
- JumpPath.cs
- AutoCompleteStringCollection.cs
- HttpProfileGroupBase.cs
- NamespaceInfo.cs
- EntityDataSource.cs
- FontWeights.cs
- DataGridColumnCollectionEditor.cs
- MimeFormImporter.cs
- ToolStripSplitButton.cs
- ToolStripItem.cs
- BadImageFormatException.cs
- AsyncDataRequest.cs
- Rotation3D.cs
- GcSettings.cs
- URLString.cs
- RotateTransform3D.cs
- XmlAttributeCollection.cs
- Workspace.cs
- TextDecoration.cs
- EncoderBestFitFallback.cs
- FlowLayout.cs
- StrongNameMembershipCondition.cs
- VirtualDirectoryMappingCollection.cs
- XPathDescendantIterator.cs
- DataControlFieldCell.cs
- PointAnimationClockResource.cs
- AddInContractAttribute.cs
- BackgroundWorker.cs
- DataBindingCollection.cs
- WebPermission.cs
- SafeRightsManagementHandle.cs
- WindowsTreeView.cs
- Facet.cs
- XmlExceptionHelper.cs
- XmlSchemaSubstitutionGroup.cs
- EntityClassGenerator.cs
- RegistrationServices.cs
- AspNetSynchronizationContext.cs
- Run.cs
- WindowsRichEditRange.cs
- TCPClient.cs
- UnsafeMethods.cs
- SmiMetaDataProperty.cs
- DataTransferEventArgs.cs
- _DomainName.cs
- MessageEncoder.cs
- TypeToArgumentTypeConverter.cs
- EndpointFilterProvider.cs
- CorePropertiesFilter.cs
- streamingZipPartStream.cs
- SystemIdentity.cs
- XmlArrayItemAttribute.cs