Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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);
}
}
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Base64Stream.cs
- Assembly.cs
- Metafile.cs
- DuplexChannel.cs
- OleDbInfoMessageEvent.cs
- MachineKeyConverter.cs
- PrintPreviewControl.cs
- SwitchElementsCollection.cs
- DocumentEventArgs.cs
- Transform.cs
- MultipleViewPattern.cs
- CustomErrorCollection.cs
- WrapPanel.cs
- EmptyEnumerable.cs
- SqlClientPermission.cs
- KeyGesture.cs
- StreamResourceInfo.cs
- PolicyUnit.cs
- WebControlAdapter.cs
- IApplicationTrustManager.cs
- DocumentViewerBaseAutomationPeer.cs
- Int64AnimationBase.cs
- NamedPipeActivation.cs
- SessionState.cs
- Currency.cs
- BinaryParser.cs
- Rotation3DAnimationUsingKeyFrames.cs
- LocatorGroup.cs
- AVElementHelper.cs
- ThrowHelper.cs
- Separator.cs
- ProjectedSlot.cs
- Repeater.cs
- SqlUtils.cs
- PeerNameRegistration.cs
- Debug.cs
- Subset.cs
- ToolStripContentPanel.cs
- SimpleBitVector32.cs
- DefaultPropertyAttribute.cs
- ModifiableIteratorCollection.cs
- DataColumnChangeEvent.cs
- ListenerElementsCollection.cs
- InheritanceUI.cs
- XmlProcessingInstruction.cs
- CharacterMetrics.cs
- XmlSchemaAll.cs
- SerializationSectionGroup.cs
- ConsumerConnectionPoint.cs
- typedescriptorpermission.cs
- DataGridViewAutoSizeModeEventArgs.cs
- Point3DAnimation.cs
- HeaderedContentControl.cs
- State.cs
- IdentitySection.cs
- DataGridViewUtilities.cs
- ColorTransform.cs
- DataGridViewImageCell.cs
- SqlDataSourceEnumerator.cs
- SessionParameter.cs
- HttpBindingExtension.cs
- DllNotFoundException.cs
- DesignTimeVisibleAttribute.cs
- TabControlAutomationPeer.cs
- TypeConstant.cs
- HiddenField.cs
- DateTimeConverter2.cs
- MediaPlayerState.cs
- DataTrigger.cs
- BasicExpandProvider.cs
- XmlDataCollection.cs
- StylusPointDescription.cs
- ViewManagerAttribute.cs
- DoubleMinMaxAggregationOperator.cs
- RepeatButton.cs
- CodeDomSerializationProvider.cs
- GenericEnumConverter.cs
- WebReferencesBuildProvider.cs
- FileSystemWatcher.cs
- CodeAttributeDeclaration.cs
- GenericAuthenticationEventArgs.cs
- Point3DCollection.cs
- AuthStoreRoleProvider.cs
- BoundingRectTracker.cs
- ObjectViewEntityCollectionData.cs
- WindowsRegion.cs
- ListBox.cs
- StateRuntime.cs
- SequentialOutput.cs
- ZeroOpNode.cs
- SinglePageViewer.cs
- ExpressionDumper.cs
- CodeMethodReturnStatement.cs
- KerberosTicketHashIdentifierClause.cs
- ChildChangedEventArgs.cs
- ModelItemImpl.cs
- TreeView.cs
- SqlVersion.cs
- AnnotationResourceCollection.cs
- CustomSignedXml.cs