Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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); } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OdbcFactory.cs
- ResourceFallbackManager.cs
- DefaultMemberAttribute.cs
- TextSpanModifier.cs
- MsmqHostedTransportManager.cs
- Activity.cs
- XamlRtfConverter.cs
- RouteCollection.cs
- LicenseContext.cs
- XamlBrushSerializer.cs
- XmlSerializerAssemblyAttribute.cs
- BaseValidator.cs
- ComponentResourceKey.cs
- XsltInput.cs
- SerializationObjectManager.cs
- ObjectResult.cs
- RefreshResponseInfo.cs
- RefreshEventArgs.cs
- RectConverter.cs
- RangeValidator.cs
- ExtractorMetadata.cs
- SafeNativeMethodsOther.cs
- ProcessHostServerConfig.cs
- ConfigXmlComment.cs
- DataFieldConverter.cs
- RtfControls.cs
- PinnedBufferMemoryStream.cs
- DiagnosticsConfiguration.cs
- GridViewPageEventArgs.cs
- WindowsToolbarItemAsMenuItem.cs
- DataBindingHandlerAttribute.cs
- SimplePropertyEntry.cs
- RootAction.cs
- DelegateSerializationHolder.cs
- DocumentAutomationPeer.cs
- MethodToken.cs
- DependencyPropertyChangedEventArgs.cs
- PrePostDescendentsWalker.cs
- XmlReaderSettings.cs
- StylusCollection.cs
- GridViewRowEventArgs.cs
- NamedPipeChannelFactory.cs
- DesignerHelpers.cs
- ComEventsInfo.cs
- ListViewInsertedEventArgs.cs
- ServiceNotStartedException.cs
- AuthenticationModuleElementCollection.cs
- ProfilePropertySettingsCollection.cs
- OutArgument.cs
- EncodingNLS.cs
- DataGridViewTextBoxEditingControl.cs
- _TLSstream.cs
- ParallelEnumerable.cs
- PartManifestEntry.cs
- LoginView.cs
- TransformedBitmap.cs
- TagMapInfo.cs
- DataGridViewImageCell.cs
- XamlReader.cs
- ComboBox.cs
- ItemCollection.cs
- InheritanceContextChangedEventManager.cs
- MouseButton.cs
- WS2007FederationHttpBindingCollectionElement.cs
- AQNBuilder.cs
- CompoundFileReference.cs
- Site.cs
- CompModSwitches.cs
- PlacementWorkspace.cs
- SecurityTokenAuthenticator.cs
- ConsoleCancelEventArgs.cs
- UrlPath.cs
- SharedUtils.cs
- DbQueryCommandTree.cs
- WebExceptionStatus.cs
- RuntimeVariablesExpression.cs
- IndexedString.cs
- SetStoryboardSpeedRatio.cs
- BookmarkScopeInfo.cs
- HttpServerChannel.cs
- XmlSchemaComplexContentExtension.cs
- Helpers.cs
- SetStoryboardSpeedRatio.cs
- ArrayExtension.cs
- OleDbCommandBuilder.cs
- TableItemStyle.cs
- CodeEntryPointMethod.cs
- Size.cs
- SyndicationSerializer.cs
- NestedContainer.cs
- XmlSchemaInferenceException.cs
- BamlRecords.cs
- NamespaceList.cs
- XmlLinkedNode.cs
- TextTreeFixupNode.cs
- ReadingWritingEntityEventArgs.cs
- TextParaLineResult.cs
- X509PeerCertificateAuthentication.cs
- DataGridColumn.cs
- WebConfigurationManager.cs