Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- Connector.cs
- CollectionType.cs
- HiddenFieldPageStatePersister.cs
- filewebresponse.cs
- SafeMILHandle.cs
- AssemblyName.cs
- BamlWriter.cs
- PersonalizationEntry.cs
- GlobalItem.cs
- FontWeights.cs
- DataReaderContainer.cs
- WebPartTracker.cs
- CommunicationException.cs
- AddInController.cs
- ToolboxItemAttribute.cs
- SymbolPair.cs
- ExtendedPropertyDescriptor.cs
- PersianCalendar.cs
- RayMeshGeometry3DHitTestResult.cs
- _NestedMultipleAsyncResult.cs
- WebPartsSection.cs
- TypefaceMetricsCache.cs
- NameTable.cs
- ContentType.cs
- DrawingVisualDrawingContext.cs
- DesignTimeParseData.cs
- DataGrid.cs
- InstanceNameConverter.cs
- PreviewKeyDownEventArgs.cs
- WorkflowRuntime.cs
- PenThreadWorker.cs
- MsmqChannelFactory.cs
- GridViewSelectEventArgs.cs
- EntityContainer.cs
- SchemaMapping.cs
- XsdValidatingReader.cs
- ClientType.cs
- InputMethodStateTypeInfo.cs
- HandledMouseEvent.cs
- BitmapDecoder.cs
- KeyGestureConverter.cs
- DataGridViewTextBoxEditingControl.cs
- ToolStripDesignerAvailabilityAttribute.cs
- EndpointDiscoveryMetadataCD1.cs
- CornerRadiusConverter.cs
- PrintDocument.cs
- SystemMulticastIPAddressInformation.cs
- HttpCacheVary.cs
- SudsParser.cs
- CatalogZoneBase.cs
- DecimalStorage.cs
- Tracer.cs
- ExpandSegmentCollection.cs
- ImagingCache.cs
- ToolStripControlHost.cs
- Page.cs
- DesignBindingEditor.cs
- ObjectViewEntityCollectionData.cs
- ClientProtocol.cs
- NotSupportedException.cs
- UseLicense.cs
- Int64Storage.cs
- UrlAuthFailedErrorFormatter.cs
- CompoundFileReference.cs
- Bold.cs
- PrincipalPermission.cs
- ClientSettings.cs
- PageHandlerFactory.cs
- RequiredFieldValidator.cs
- Oid.cs
- WindowsToolbarItemAsMenuItem.cs
- AtomicFile.cs
- AutomationEventArgs.cs
- CaseStatement.cs
- DiscoveryMessageSequenceGenerator.cs
- EventMap.cs
- _ProxyRegBlob.cs
- PeerName.cs
- WebPartsPersonalization.cs
- StringStorage.cs
- ClonableStack.cs
- Root.cs
- RangeBase.cs
- ColumnHeader.cs
- UIElementHelper.cs
- ButtonRenderer.cs
- EventNotify.cs
- UIPropertyMetadata.cs
- SoapExtensionTypeElementCollection.cs
- WebPartCatalogCloseVerb.cs
- HttpTransportElement.cs
- ConnectionPointCookie.cs
- MarkupExtensionSerializer.cs
- AnnotationAuthorChangedEventArgs.cs
- XpsFontSerializationService.cs
- Stylesheet.cs
- diagnosticsswitches.cs
- Int32Collection.cs
- Transform3DGroup.cs
- XmlEntityReference.cs