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
- DataGridViewColumnConverter.cs
- WebControlsSection.cs
- UniqueID.cs
- HttpRuntimeSection.cs
- _FixedSizeReader.cs
- XmlSchemaSubstitutionGroup.cs
- Component.cs
- PasswordRecoveryAutoFormat.cs
- XmlUtil.cs
- Block.cs
- KeyPullup.cs
- SmtpAuthenticationManager.cs
- Hex.cs
- ExcCanonicalXml.cs
- PathFigure.cs
- XslTransform.cs
- MarshalByRefObject.cs
- AutomationPatternInfo.cs
- ToolStripGripRenderEventArgs.cs
- DataGridViewCellMouseEventArgs.cs
- RuntimeHandles.cs
- DocumentViewerBaseAutomationPeer.cs
- StrongNameIdentityPermission.cs
- CallContext.cs
- RelativeSource.cs
- SafeProcessHandle.cs
- CrossSiteScriptingValidation.cs
- EventLogPermissionAttribute.cs
- BlurBitmapEffect.cs
- StrokeNodeOperations2.cs
- Sql8ConformanceChecker.cs
- CodeIdentifier.cs
- ControlPager.cs
- ColumnMapTranslator.cs
- MediaElement.cs
- CompilationPass2TaskInternal.cs
- ContainerParaClient.cs
- ActivationServices.cs
- FormViewPagerRow.cs
- CompilationUtil.cs
- WebPartUtil.cs
- UTF7Encoding.cs
- WindowsSpinner.cs
- MimeMultiPart.cs
- ResourcesChangeInfo.cs
- RegexCompilationInfo.cs
- PromptStyle.cs
- PropertyDescriptor.cs
- RawStylusSystemGestureInputReport.cs
- RuleSettings.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- DataGridViewSelectedColumnCollection.cs
- URL.cs
- GetWinFXPath.cs
- DesignerLinkAdapter.cs
- HtmlTernaryTree.cs
- PeerCollaboration.cs
- ResourcesGenerator.cs
- Separator.cs
- EditorPart.cs
- Rotation3D.cs
- SortQuery.cs
- FixUpCollection.cs
- TaiwanLunisolarCalendar.cs
- ValueQuery.cs
- Vector3DKeyFrameCollection.cs
- UnsupportedPolicyOptionsException.cs
- ProtocolReflector.cs
- util.cs
- TableCellCollection.cs
- DependencyPropertyValueSerializer.cs
- ItemCollection.cs
- TerminatorSinks.cs
- Triplet.cs
- Select.cs
- WizardStepBase.cs
- XmlMapping.cs
- TouchEventArgs.cs
- JoinQueryOperator.cs
- ExtendedPropertyDescriptor.cs
- ToolStripItemRenderEventArgs.cs
- SiteMap.cs
- AbstractDataSvcMapFileLoader.cs
- SqlReferenceCollection.cs
- BeginCreateSecurityTokenRequest.cs
- DynamicMethod.cs
- TdsEnums.cs
- DataGridViewRowCancelEventArgs.cs
- ApplicationFileParser.cs
- CodeConditionStatement.cs
- httpstaticobjectscollection.cs
- GradientPanel.cs
- TextPointer.cs
- SqlConnectionString.cs
- WebControl.cs
- TrackingProfileDeserializationException.cs
- MarshalDirectiveException.cs
- ExpressionPrinter.cs
- XmlQueryOutput.cs
- DataContractSerializerOperationFormatter.cs