Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / BypassElement.cs / 1305376 / 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
- StreamingContext.cs
- RuntimeConfig.cs
- GridLength.cs
- X509Chain.cs
- COM2FontConverter.cs
- CodeGen.cs
- SupportingTokenDuplexChannel.cs
- BaseDataBoundControl.cs
- XmlSchemaRedefine.cs
- BindingBase.cs
- GroupByExpressionRewriter.cs
- Currency.cs
- ErasingStroke.cs
- FrameworkPropertyMetadata.cs
- PersianCalendar.cs
- XPathScanner.cs
- Interlocked.cs
- PersistenceContextEnlistment.cs
- SettingsSection.cs
- CodeArgumentReferenceExpression.cs
- XmlSchemaExternal.cs
- AncillaryOps.cs
- EdmComplexPropertyAttribute.cs
- ErrorWrapper.cs
- CustomPopupPlacement.cs
- ExplicitDiscriminatorMap.cs
- TableFieldsEditor.cs
- ServiceBusyException.cs
- MetadataImporterQuotas.cs
- ClientCultureInfo.cs
- InvalidProgramException.cs
- SecurityCookieModeValidator.cs
- InvokeMethodActivity.cs
- TextEditorTyping.cs
- PropertyChangedEventArgs.cs
- InputScope.cs
- cookieexception.cs
- XmlSchemaComplexContentExtension.cs
- FileChangesMonitor.cs
- FormatterConverter.cs
- HandlerBase.cs
- LayeredChannelListener.cs
- SkinBuilder.cs
- EventHandlersStore.cs
- PersonalizationEntry.cs
- XmlQuerySequence.cs
- UnmanagedMemoryAccessor.cs
- MarkedHighlightComponent.cs
- ImageListStreamer.cs
- Win32SafeHandles.cs
- BamlMapTable.cs
- CollectionsUtil.cs
- AnnotationHighlightLayer.cs
- TimelineGroup.cs
- PublisherIdentityPermission.cs
- _NegoState.cs
- UnionExpr.cs
- AssociationTypeEmitter.cs
- JapaneseLunisolarCalendar.cs
- RightsManagementPermission.cs
- Psha1DerivedKeyGenerator.cs
- PageAsyncTask.cs
- TagPrefixCollection.cs
- ListViewAutomationPeer.cs
- TaskFormBase.cs
- PersistenceTypeAttribute.cs
- Operators.cs
- ContentType.cs
- SchemaEntity.cs
- PipelineModuleStepContainer.cs
- SqlUtils.cs
- PeerApplicationLaunchInfo.cs
- FlatButtonAppearance.cs
- XmlSchema.cs
- XmlException.cs
- _SSPIWrapper.cs
- WindowsListViewSubItem.cs
- ApplicationSecurityInfo.cs
- AssemblyBuilder.cs
- TableItemStyle.cs
- Blend.cs
- BamlBinaryReader.cs
- SystemFonts.cs
- TreeIterator.cs
- FormsAuthentication.cs
- Calendar.cs
- FormatConvertedBitmap.cs
- LinqDataSourceHelper.cs
- BitmapEffect.cs
- WebProxyScriptElement.cs
- SQLSingle.cs
- ItemsPresenter.cs
- AnnotationStore.cs
- DetailsViewInsertEventArgs.cs
- PersonalizablePropertyEntry.cs
- ToolStripSeparator.cs
- TextServicesLoader.cs
- UserMapPath.cs
- PrivilegeNotHeldException.cs
- MailMessageEventArgs.cs