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
- DbProviderSpecificTypePropertyAttribute.cs
- Condition.cs
- SignatureDescription.cs
- RecordsAffectedEventArgs.cs
- ScriptManager.cs
- TransformPattern.cs
- DefaultBinder.cs
- InfoCardBaseException.cs
- HtmlInputImage.cs
- X509RecipientCertificateServiceElement.cs
- IdentifierService.cs
- LoginUtil.cs
- BooleanFacetDescriptionElement.cs
- TraceProvider.cs
- XmlWellformedWriter.cs
- BrowsableAttribute.cs
- VisualBrush.cs
- HandlerFactoryCache.cs
- ErrorFormatter.cs
- CatalogZone.cs
- UnsafeNativeMethods.cs
- PopupEventArgs.cs
- DSACryptoServiceProvider.cs
- BamlRecordHelper.cs
- CannotUnloadAppDomainException.cs
- FieldNameLookup.cs
- Decimal.cs
- TextTreeRootTextBlock.cs
- ViewCellSlot.cs
- ApplicationContext.cs
- NotifyInputEventArgs.cs
- UnsafeNativeMethodsTablet.cs
- SafeWaitHandle.cs
- TagPrefixCollection.cs
- cookiecollection.cs
- Font.cs
- ExecutionEngineException.cs
- SqlDataSourceSelectingEventArgs.cs
- DiagnosticTrace.cs
- GregorianCalendarHelper.cs
- DataFieldConverter.cs
- SoapMessage.cs
- XmlAttributeOverrides.cs
- DataServiceExpressionVisitor.cs
- BinaryObjectWriter.cs
- MenuRenderer.cs
- IntSecurity.cs
- ProtocolsConfigurationHandler.cs
- GenericWebPart.cs
- TraceEventCache.cs
- ServiceObjectContainer.cs
- MdiWindowListStrip.cs
- SoapTypeAttribute.cs
- WMICapabilities.cs
- Rotation3DAnimationBase.cs
- HttpListenerRequest.cs
- ToolStripDropDownItem.cs
- MatrixIndependentAnimationStorage.cs
- ParseNumbers.cs
- EventQueueState.cs
- BitmapPalette.cs
- MergeFilterQuery.cs
- OleDbSchemaGuid.cs
- SocketInformation.cs
- ConfigXmlComment.cs
- PriorityBinding.cs
- TripleDESCryptoServiceProvider.cs
- Rule.cs
- GeometryHitTestParameters.cs
- PolyBezierSegment.cs
- InterleavedZipPartStream.cs
- Scripts.cs
- SessionEndingEventArgs.cs
- UpdateCommand.cs
- SqlDuplicator.cs
- NoClickablePointException.cs
- EventLogPermissionEntry.cs
- OptimisticConcurrencyException.cs
- UserControl.cs
- PrimarySelectionGlyph.cs
- CompilationUtil.cs
- ChangeDirector.cs
- VBIdentifierName.cs
- AssemblyCollection.cs
- OutputCacheProviderCollection.cs
- GZipDecoder.cs
- EntityCommandDefinition.cs
- Run.cs
- MissingFieldException.cs
- StylusOverProperty.cs
- DataGridViewLinkCell.cs
- EntityDesignerUtils.cs
- PointF.cs
- SimpleWebHandlerParser.cs
- GPPOINT.cs
- AnnotationHighlightLayer.cs
- XmlCountingReader.cs
- HtmlInputControl.cs
- Soap.cs
- GridViewRowCollection.cs