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
- RegisteredArrayDeclaration.cs
- DataGridViewComboBoxColumn.cs
- SqlRewriteScalarSubqueries.cs
- TextEditorThreadLocalStore.cs
- Regex.cs
- SafeWaitHandle.cs
- ChtmlTextWriter.cs
- SqlConnectionString.cs
- GlobalEventManager.cs
- NavigationCommands.cs
- AnnotationObservableCollection.cs
- WindowAutomationPeer.cs
- ProfileSection.cs
- ThrowHelper.cs
- SimpleWebHandlerParser.cs
- MarginsConverter.cs
- SoapAttributes.cs
- TypeUnloadedException.cs
- XmlLinkedNode.cs
- MetaColumn.cs
- BindingsSection.cs
- ImagingCache.cs
- CustomCredentialPolicy.cs
- OracleString.cs
- ProcessHostServerConfig.cs
- PolicyStatement.cs
- InvalidateEvent.cs
- linebase.cs
- VirtualizingStackPanel.cs
- DataTableExtensions.cs
- ResXResourceWriter.cs
- ToolStripOverflow.cs
- ComPlusAuthorization.cs
- RichTextBox.cs
- ScriptingSectionGroup.cs
- OptimalTextSource.cs
- BuilderInfo.cs
- SByteStorage.cs
- TypeSystem.cs
- CurrentTimeZone.cs
- Tile.cs
- WSFederationHttpSecurityMode.cs
- WinFormsSecurity.cs
- UICuesEvent.cs
- BlurBitmapEffect.cs
- ArraySubsetEnumerator.cs
- HttpWebRequest.cs
- WSTrustDec2005.cs
- SmiEventSink.cs
- HtmlWindow.cs
- RegularExpressionValidator.cs
- FormClosedEvent.cs
- AutoGeneratedFieldProperties.cs
- Light.cs
- ReaderContextStackData.cs
- XmlSortKeyAccumulator.cs
- RowToFieldTransformer.cs
- FillRuleValidation.cs
- EntityCommandExecutionException.cs
- Util.cs
- WindowsTokenRoleProvider.cs
- _BasicClient.cs
- RelationshipNavigation.cs
- InheritanceRules.cs
- GridViewHeaderRowPresenter.cs
- RewritingPass.cs
- TextServicesCompartment.cs
- HotCommands.cs
- SrgsText.cs
- SeverityFilter.cs
- oledbconnectionstring.cs
- QueryException.cs
- ListMarkerSourceInfo.cs
- SqlProviderManifest.cs
- XhtmlConformanceSection.cs
- ProcessHostServerConfig.cs
- RowUpdatedEventArgs.cs
- PageAsyncTask.cs
- PrimitiveXmlSerializers.cs
- ProxySimple.cs
- IntSumAggregationOperator.cs
- RelationshipNavigation.cs
- SqlClientWrapperSmiStream.cs
- LinqDataSourceDeleteEventArgs.cs
- SurrogateEncoder.cs
- SubMenuStyle.cs
- ApplicationServicesHostFactory.cs
- TextParagraphCache.cs
- TextCompositionEventArgs.cs
- TransformCollection.cs
- PopupControlService.cs
- PreparingEnlistment.cs
- DeleteMemberBinder.cs
- HiddenFieldPageStatePersister.cs
- OSFeature.cs
- UIElementIsland.cs
- EventArgs.cs
- TargetFrameworkAttribute.cs
- unsafenativemethodstextservices.cs
- SecurityDescriptor.cs