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
- WebWorkflowRole.cs
- EndpointNameMessageFilter.cs
- Select.cs
- X509ChainPolicy.cs
- PeerInvitationResponse.cs
- DocobjHost.cs
- IssuedTokensHeader.cs
- TableLayoutStyleCollection.cs
- LineServicesRun.cs
- DynamicVirtualDiscoSearcher.cs
- CountAggregationOperator.cs
- ButtonBaseAdapter.cs
- CompiledQueryCacheEntry.cs
- SqlRemoveConstantOrderBy.cs
- PreservationFileWriter.cs
- PathGeometry.cs
- DuplexChannel.cs
- KeyGesture.cs
- ColumnResizeAdorner.cs
- FunctionCommandText.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ImageSource.cs
- Int32CollectionValueSerializer.cs
- FixedNode.cs
- EntityWithChangeTrackerStrategy.cs
- MultiPageTextView.cs
- Speller.cs
- ArraySegment.cs
- HelpOperationInvoker.cs
- RegisteredDisposeScript.cs
- ElapsedEventArgs.cs
- PassportAuthentication.cs
- AssociatedControlConverter.cs
- ExpressionPrinter.cs
- BaseServiceProvider.cs
- WrappedKeySecurityTokenParameters.cs
- SqlFileStream.cs
- DataFormat.cs
- BitmapEffectDrawingContent.cs
- FormParameter.cs
- CriticalHandle.cs
- ContractMapping.cs
- SourceFileBuildProvider.cs
- TripleDESCryptoServiceProvider.cs
- GCHandleCookieTable.cs
- ReversePositionQuery.cs
- ArraySegment.cs
- RbTree.cs
- InstanceData.cs
- GiveFeedbackEvent.cs
- InterleavedZipPartStream.cs
- DatePickerDateValidationErrorEventArgs.cs
- Wizard.cs
- EdmValidator.cs
- ListBox.cs
- SSmlParser.cs
- IResourceProvider.cs
- EdmFunction.cs
- XmlSchemaProviderAttribute.cs
- TargetParameterCountException.cs
- ConversionContext.cs
- IndicShape.cs
- FileClassifier.cs
- NativeMethods.cs
- XmlHierarchicalEnumerable.cs
- ListViewInsertionMark.cs
- validationstate.cs
- ZipIOCentralDirectoryFileHeader.cs
- Label.cs
- DataGridAddNewRow.cs
- DBCommandBuilder.cs
- Socket.cs
- GeometryModel3D.cs
- ReadOnlyCollectionBase.cs
- SingleStorage.cs
- SQLDouble.cs
- HTTPNotFoundHandler.cs
- EntityProviderServices.cs
- ProxyGenerationError.cs
- PeekCompletedEventArgs.cs
- ToolboxComponentsCreatingEventArgs.cs
- ReturnType.cs
- NullableLongAverageAggregationOperator.cs
- XmlEnumAttribute.cs
- TextRangeBase.cs
- MethodBuilderInstantiation.cs
- FormsAuthenticationTicket.cs
- WaitHandleCannotBeOpenedException.cs
- DataViewManagerListItemTypeDescriptor.cs
- TextCompositionManager.cs
- ManipulationStartingEventArgs.cs
- GeneralTransform.cs
- DockPatternIdentifiers.cs
- RenderCapability.cs
- PartialCachingControl.cs
- ParameterElementCollection.cs
- BufferModesCollection.cs
- JournalNavigationScope.cs
- XmlSchemaSimpleTypeRestriction.cs
- DesignTimeDataBinding.cs