Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- MethodBuilder.cs
- RectAnimationBase.cs
- TreeBuilderXamlTranslator.cs
- ToolStripTextBox.cs
- ClientSettingsSection.cs
- PieceNameHelper.cs
- Win32PrintDialog.cs
- ImageCodecInfoPrivate.cs
- SplineKeyFrames.cs
- FileChangesMonitor.cs
- UriSection.cs
- Constraint.cs
- CircleHotSpot.cs
- TemplateApplicationHelper.cs
- FileDialogPermission.cs
- EtwTrace.cs
- sqlstateclientmanager.cs
- ContentOnlyMessage.cs
- MexTcpBindingElement.cs
- CommandLibraryHelper.cs
- DES.cs
- TaiwanCalendar.cs
- BufferModesCollection.cs
- IPEndPoint.cs
- HttpCookiesSection.cs
- SystemIPAddressInformation.cs
- ClientUIRequest.cs
- SHA512.cs
- Error.cs
- PrimitiveDataContract.cs
- SelectedGridItemChangedEvent.cs
- EastAsianLunisolarCalendar.cs
- WmlImageAdapter.cs
- MimeBasePart.cs
- Interlocked.cs
- GZipStream.cs
- SiteMapNodeItem.cs
- Command.cs
- GridViewItemAutomationPeer.cs
- TextEditorTyping.cs
- PopupRoot.cs
- TextSelectionHighlightLayer.cs
- XPathArrayIterator.cs
- DataGridViewColumnHeaderCell.cs
- MetaModel.cs
- EventLogTraceListener.cs
- OuterProxyWrapper.cs
- LinkButton.cs
- WebPartTransformerCollection.cs
- RepeaterCommandEventArgs.cs
- AutoResetEvent.cs
- ManipulationPivot.cs
- ImageBrush.cs
- PresentationTraceSources.cs
- CodeAttributeArgument.cs
- XmlSyndicationContent.cs
- XmlEventCache.cs
- WindowsListViewGroup.cs
- TextRunCacheImp.cs
- EmptyEnumerable.cs
- RadioButton.cs
- dsa.cs
- ExpressionLexer.cs
- TreeViewCancelEvent.cs
- peernodeimplementation.cs
- NegotiationTokenAuthenticatorStateCache.cs
- ScrollData.cs
- BufferModesCollection.cs
- RadioButtonPopupAdapter.cs
- ApplicationServiceHelper.cs
- HttpServerProtocol.cs
- IPHostEntry.cs
- EdmMember.cs
- AvTraceDetails.cs
- HotCommands.cs
- BitmapEffectGroup.cs
- ArrayExtension.cs
- InvalidOleVariantTypeException.cs
- ResolvePPIDRequest.cs
- WebPartsPersonalizationAuthorization.cs
- SystemIcons.cs
- DefinitionUpdate.cs
- XmlAttributeCollection.cs
- DashStyle.cs
- BindingExpression.cs
- TextTreeRootTextBlock.cs
- ServiceControllerDesigner.cs
- ValueType.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- IApplicationTrustManager.cs
- SafeFileMapViewHandle.cs
- MemberInfoSerializationHolder.cs
- PagedDataSource.cs
- ObjectDataSourceSelectingEventArgs.cs
- EditorPartChrome.cs
- localization.cs
- DependencyPropertyHelper.cs
- WebPartTransformerAttribute.cs
- ObjectStorage.cs
- StringValidatorAttribute.cs