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
- LabelAutomationPeer.cs
- PerformanceCounterPermissionAttribute.cs
- DropDownButton.cs
- AsyncParams.cs
- ResolveNameEventArgs.cs
- DecimalAnimation.cs
- CommandLibraryHelper.cs
- _NestedSingleAsyncResult.cs
- ReadContentAsBinaryHelper.cs
- METAHEADER.cs
- WebGetAttribute.cs
- GiveFeedbackEventArgs.cs
- SocketInformation.cs
- FieldBuilder.cs
- Schedule.cs
- ColorMatrix.cs
- SkipQueryOptionExpression.cs
- WebHeaderCollection.cs
- NegationPusher.cs
- ComponentSerializationService.cs
- WebPartVerbCollection.cs
- TextPattern.cs
- HwndPanningFeedback.cs
- ServiceModelConfigurationSection.cs
- BinaryObjectWriter.cs
- OdbcDataReader.cs
- DataTableTypeConverter.cs
- AccessDataSource.cs
- HelpInfo.cs
- Vector3DAnimationBase.cs
- MetaType.cs
- WindowsAuthenticationModule.cs
- OrderedDictionaryStateHelper.cs
- MessageSmuggler.cs
- EncoderFallback.cs
- BufferedWebEventProvider.cs
- SecurityElementBase.cs
- OleDbCommandBuilder.cs
- ConfigXmlCDataSection.cs
- TransformProviderWrapper.cs
- SoundPlayerAction.cs
- ExpressionBuilder.cs
- Crypto.cs
- Point3DCollectionConverter.cs
- HttpCacheParams.cs
- Property.cs
- ClipboardProcessor.cs
- FlowNode.cs
- DbExpressionVisitor_TResultType.cs
- DataGridDesigner.cs
- SQLByte.cs
- EngineSiteSapi.cs
- DataGridTable.cs
- ConfigXmlReader.cs
- RegexGroup.cs
- ChangeDirector.cs
- ClientConfigPaths.cs
- Int64Converter.cs
- PlaceHolder.cs
- ComboBox.cs
- Pens.cs
- AccessViolationException.cs
- ContentPlaceHolder.cs
- PropertyIDSet.cs
- FamilyTypefaceCollection.cs
- Win32.cs
- CheckBox.cs
- ScrollData.cs
- FilterableAttribute.cs
- ISAPIRuntime.cs
- ErrorStyle.cs
- ControlBuilderAttribute.cs
- MobileControlsSectionHandler.cs
- invalidudtexception.cs
- ListenerSingletonConnectionReader.cs
- _SafeNetHandles.cs
- ContextBase.cs
- Operand.cs
- OleDbRowUpdatingEvent.cs
- InputLanguage.cs
- PowerModeChangedEventArgs.cs
- XmlSerializerVersionAttribute.cs
- DataGridViewRowHeaderCell.cs
- SynchronizingStream.cs
- PeerInvitationResponse.cs
- Endpoint.cs
- OperatingSystemVersionCheck.cs
- NonSerializedAttribute.cs
- MetadataItem.cs
- MultiAsyncResult.cs
- UnmanagedBitmapWrapper.cs
- PassportPrincipal.cs
- HttpWebResponse.cs
- ProtocolViolationException.cs
- StringTraceRecord.cs
- IgnoreFileBuildProvider.cs
- KeyValueConfigurationElement.cs
- HtmlContainerControl.cs
- CloseCryptoHandleRequest.cs
- COM2PictureConverter.cs