Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ErrorBehavior.cs
- CryptoProvider.cs
- Underline.cs
- Rotation3D.cs
- ObjectCloneHelper.cs
- FileEnumerator.cs
- XamlReader.cs
- Facet.cs
- Pens.cs
- Collection.cs
- NominalTypeEliminator.cs
- EntityCodeGenerator.cs
- RoutedEventValueSerializer.cs
- ConnectionPointGlyph.cs
- WebRequest.cs
- StreamHelper.cs
- AssemblyBuilder.cs
- SqlClientMetaDataCollectionNames.cs
- ImageSourceValueSerializer.cs
- Grant.cs
- RowType.cs
- CollectionsUtil.cs
- TextElement.cs
- NonParentingControl.cs
- AssociationType.cs
- _SslStream.cs
- ToolStripContextMenu.cs
- EntityDataSource.cs
- EndPoint.cs
- ItemChangedEventArgs.cs
- RuleSettingsCollection.cs
- Stroke.cs
- PropertyMap.cs
- InputMethodStateChangeEventArgs.cs
- ModelPropertyImpl.cs
- PersonalizationProvider.cs
- NotFiniteNumberException.cs
- TypeConverterHelper.cs
- QueryIntervalOp.cs
- TextAdaptor.cs
- GridViewDeleteEventArgs.cs
- XmlWriterSettings.cs
- ChildDocumentBlock.cs
- ScriptBehaviorDescriptor.cs
- DbCommandTree.cs
- XXXOnTypeBuilderInstantiation.cs
- InitiatorServiceModelSecurityTokenRequirement.cs
- ToolStripContainerDesigner.cs
- FastEncoder.cs
- SimplePropertyEntry.cs
- MimeTypeAttribute.cs
- EventItfInfo.cs
- CharAnimationUsingKeyFrames.cs
- XmlSerializationGeneratedCode.cs
- Line.cs
- ADMembershipUser.cs
- SqlReferenceCollection.cs
- PackageFilter.cs
- OleDbErrorCollection.cs
- WebBrowserDocumentCompletedEventHandler.cs
- UInt16Storage.cs
- HttpInputStream.cs
- __Filters.cs
- Ops.cs
- DynamicControlParameter.cs
- CompressStream.cs
- DataControlFieldsEditor.cs
- Tuple.cs
- PeerChannelListener.cs
- SqlDataAdapter.cs
- HtmlTableRow.cs
- EmbeddedMailObjectsCollection.cs
- SecurityElement.cs
- TextServicesCompartmentContext.cs
- SettingsPropertyCollection.cs
- ExtendedPropertyDescriptor.cs
- SelectingProviderEventArgs.cs
- XmlAnyAttributeAttribute.cs
- XmlSequenceWriter.cs
- TraceFilter.cs
- DirectoryInfo.cs
- StatusBarAutomationPeer.cs
- SHA1CryptoServiceProvider.cs
- SequentialUshortCollection.cs
- OleDbFactory.cs
- SecurityTokenProvider.cs
- TraceContextRecord.cs
- SpecularMaterial.cs
- BitmapScalingModeValidation.cs
- ConnectionManagementSection.cs
- TimeSpan.cs
- AliasedExpr.cs
- CookieHandler.cs
- RuleSetCollection.cs
- HtmlCommandAdapter.cs
- InfocardExtendedInformationEntry.cs
- FactoryRecord.cs
- LocatorManager.cs
- ParallelRangeManager.cs
- Thickness.cs