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
- XsdBuilder.cs
- XPathSelfQuery.cs
- NumberSubstitution.cs
- EventManager.cs
- ObjectStateEntry.cs
- PathFigureCollection.cs
- GeometryValueSerializer.cs
- MulticastOption.cs
- BooleanProjectedSlot.cs
- PointConverter.cs
- RTLAwareMessageBox.cs
- __TransparentProxy.cs
- TreeViewEvent.cs
- DbExpressionVisitor.cs
- SoapBinding.cs
- SpeechRecognitionEngine.cs
- TransformCryptoHandle.cs
- ExternalFile.cs
- XmlSchemaInferenceException.cs
- RoleManagerModule.cs
- EdmConstants.cs
- CodeTypeConstructor.cs
- TextAdaptor.cs
- EDesignUtil.cs
- SplayTreeNode.cs
- TableLayoutStyle.cs
- AmbientProperties.cs
- NotCondition.cs
- ConfigurationStrings.cs
- Duration.cs
- AdornedElementPlaceholder.cs
- TextReader.cs
- Overlapped.cs
- MemoryPressure.cs
- ZoneButton.cs
- ConfigurationCollectionAttribute.cs
- DataGridViewCellMouseEventArgs.cs
- BounceEase.cs
- SqlInternalConnectionSmi.cs
- VariableQuery.cs
- XmlAnyAttributeAttribute.cs
- PanelStyle.cs
- ResourcesGenerator.cs
- AspNetSynchronizationContext.cs
- DataGridViewButtonCell.cs
- ChangeNode.cs
- WebBrowserDesigner.cs
- EntityDataSourceContextDisposingEventArgs.cs
- ACL.cs
- BasicExpandProvider.cs
- DbModificationCommandTree.cs
- BorderSidesEditor.cs
- PrintPreviewControl.cs
- FontEditor.cs
- TabControlEvent.cs
- ItemDragEvent.cs
- GatewayDefinition.cs
- DataGridViewIntLinkedList.cs
- FlowDocumentReaderAutomationPeer.cs
- SystemMulticastIPAddressInformation.cs
- FamilyMap.cs
- AsymmetricKeyExchangeDeformatter.cs
- ButtonBase.cs
- XmlSchemaSimpleContentExtension.cs
- Content.cs
- DateTimeValueSerializerContext.cs
- HtmlUtf8RawTextWriter.cs
- LocalizableAttribute.cs
- AutomationAttributeInfo.cs
- TypeElement.cs
- BoolExpr.cs
- RadioButton.cs
- DataGridTextBoxColumn.cs
- Material.cs
- BindingWorker.cs
- CompilerGlobalScopeAttribute.cs
- ListSurrogate.cs
- IfJoinedCondition.cs
- GreaterThanOrEqual.cs
- XmlDataFileEditor.cs
- BasePattern.cs
- LocalClientSecuritySettingsElement.cs
- Html32TextWriter.cs
- Pen.cs
- ConnectionStringsSection.cs
- CodeIndexerExpression.cs
- safemediahandle.cs
- TagNameToTypeMapper.cs
- Freezable.cs
- BitmapMetadataEnumerator.cs
- _LocalDataStore.cs
- CodeNamespaceImportCollection.cs
- HGlobalSafeHandle.cs
- WebRequestModuleElementCollection.cs
- HandleCollector.cs
- EntityDataSourceViewSchema.cs
- XamlPathDataSerializer.cs
- ListViewAutomationPeer.cs
- Mapping.cs
- Timer.cs