Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- LocatorManager.cs
- XmlSchemaObject.cs
- StatusCommandUI.cs
- LayoutInformation.cs
- TextElementCollection.cs
- XmlPreloadedResolver.cs
- DesignerForm.cs
- PickDesigner.xaml.cs
- RewritingSimplifier.cs
- ComplexLine.cs
- FirstMatchCodeGroup.cs
- ListItemCollection.cs
- BindingsSection.cs
- DashStyles.cs
- XmlChoiceIdentifierAttribute.cs
- DbDataRecord.cs
- ModelUtilities.cs
- DataGridViewHeaderCell.cs
- WindowsStreamSecurityElement.cs
- SafeHandle.cs
- PropertyConverter.cs
- DictionarySurrogate.cs
- DataGridTablesFactory.cs
- RepeaterCommandEventArgs.cs
- AsynchronousChannel.cs
- BindingBase.cs
- DataServiceStreamResponse.cs
- MeshGeometry3D.cs
- GPPOINTF.cs
- SoapAttributeOverrides.cs
- SerTrace.cs
- StdValidatorsAndConverters.cs
- TemplateControlCodeDomTreeGenerator.cs
- DataGridCommandEventArgs.cs
- ScriptControlDescriptor.cs
- ComNativeDescriptor.cs
- TextBoxRenderer.cs
- ViewPort3D.cs
- DiagnosticTrace.cs
- ConfigXmlElement.cs
- ListControlConvertEventArgs.cs
- Lasso.cs
- SaveFileDialog.cs
- AccessedThroughPropertyAttribute.cs
- TemplateControlCodeDomTreeGenerator.cs
- TimeoutException.cs
- EmissiveMaterial.cs
- SHA1.cs
- EntityDataSourceColumn.cs
- TimeIntervalCollection.cs
- SubpageParaClient.cs
- RelationshipConverter.cs
- WebPartTracker.cs
- SelectionGlyph.cs
- WindowsToolbar.cs
- XComponentModel.cs
- WindowsListView.cs
- WarningException.cs
- OptionUsage.cs
- Privilege.cs
- DiscoveryEndpointElement.cs
- GridViewRow.cs
- DbProviderManifest.cs
- ScalarType.cs
- DispatcherEventArgs.cs
- InvalidOperationException.cs
- BitmapSourceSafeMILHandle.cs
- CqlLexer.cs
- SqlGenericUtil.cs
- XmlSchemaObjectTable.cs
- ValueProviderWrapper.cs
- EmbeddedObject.cs
- PackageFilter.cs
- CounterSampleCalculator.cs
- ItemTypeToolStripMenuItem.cs
- HttpHandlersSection.cs
- SerializationInfoEnumerator.cs
- UxThemeWrapper.cs
- EncryptedHeader.cs
- InvalidOleVariantTypeException.cs
- WpfKnownMemberInvoker.cs
- FileEnumerator.cs
- CachingHintValidation.cs
- DataSourceXmlSubItemAttribute.cs
- AssemblyNameProxy.cs
- TextRenderer.cs
- HttpCookie.cs
- ReferentialConstraint.cs
- SqlLiftIndependentRowExpressions.cs
- ResponseBodyWriter.cs
- _AutoWebProxyScriptHelper.cs
- ErrorHandler.cs
- ProxyHelper.cs
- RequestResponse.cs
- XamlFrame.cs
- StylusEventArgs.cs
- NameValueConfigurationElement.cs
- ProxyAttribute.cs
- ControlDesignerState.cs
- CodeConditionStatement.cs