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
- ObjectNavigationPropertyMapping.cs
- KernelTypeValidation.cs
- PointLight.cs
- WindowsRebar.cs
- SinglePageViewer.cs
- QilVisitor.cs
- WindowsProgressbar.cs
- StylusLogic.cs
- UserControl.cs
- CryptoKeySecurity.cs
- InputLanguageSource.cs
- ClipboardProcessor.cs
- CodeValidator.cs
- StackOverflowException.cs
- DataSvcMapFile.cs
- ConfigurationCollectionAttribute.cs
- FileDialogCustomPlace.cs
- XomlSerializationHelpers.cs
- BuildProvider.cs
- WindowsFont.cs
- Classification.cs
- Column.cs
- Message.cs
- FixedLineResult.cs
- ExecutionContext.cs
- AsyncPostBackTrigger.cs
- EventManager.cs
- SqlNotificationEventArgs.cs
- StringUtil.cs
- Pen.cs
- SQLCharsStorage.cs
- SqlHelper.cs
- Double.cs
- FtpWebRequest.cs
- SqlBinder.cs
- XDRSchema.cs
- RegexMatchCollection.cs
- SolidColorBrush.cs
- SoapObjectInfo.cs
- httpstaticobjectscollection.cs
- QuadraticBezierSegment.cs
- DataSet.cs
- Page.cs
- URIFormatException.cs
- WebConfigurationHost.cs
- LowerCaseStringConverter.cs
- BindingUtils.cs
- Stream.cs
- IPEndPointCollection.cs
- SelectionPatternIdentifiers.cs
- SerializationInfo.cs
- PersonalizableTypeEntry.cs
- PlainXmlDeserializer.cs
- ModelItem.cs
- ValidationError.cs
- BoolExpressionVisitors.cs
- ConditionalAttribute.cs
- HtmlFormAdapter.cs
- GroupItem.cs
- MachineKeyConverter.cs
- FileSystemInfo.cs
- Aggregates.cs
- Collection.cs
- StringFreezingAttribute.cs
- XmlSchemaAttributeGroupRef.cs
- DefaultHttpHandler.cs
- Model3D.cs
- AnimationException.cs
- ReferentialConstraint.cs
- AmbientLight.cs
- UnicastIPAddressInformationCollection.cs
- StringValueConverter.cs
- RayHitTestParameters.cs
- DependencyPropertyValueSerializer.cs
- Boolean.cs
- __FastResourceComparer.cs
- InkCanvasAutomationPeer.cs
- NonParentingControl.cs
- DiagnosticStrings.cs
- Vector3DAnimationBase.cs
- EntityDataSourceDataSelection.cs
- SystemIPv4InterfaceProperties.cs
- Reference.cs
- AddDataControlFieldDialog.cs
- SqlFormatter.cs
- StrongNameMembershipCondition.cs
- ToolStripControlHost.cs
- UIPropertyMetadata.cs
- PageThemeParser.cs
- TagMapInfo.cs
- EmbossBitmapEffect.cs
- DataGridViewCellToolTipTextNeededEventArgs.cs
- SafeCryptContextHandle.cs
- RecordsAffectedEventArgs.cs
- FreezableOperations.cs
- ProtocolElementCollection.cs
- ObfuscationAttribute.cs
- GenericIdentity.cs
- RequiredFieldValidator.cs
- WorkItem.cs