Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ErrorInfoXmlDocument.cs
- MemberDomainMap.cs
- MemberProjectionIndex.cs
- TreeViewAutomationPeer.cs
- Calendar.cs
- SessionStateModule.cs
- TypeSystem.cs
- FormsAuthenticationTicket.cs
- ConfigViewGenerator.cs
- DbMetaDataColumnNames.cs
- Binding.cs
- MeasureData.cs
- XmlSchemaAnnotated.cs
- XPathSelfQuery.cs
- XmlDownloadManager.cs
- ProjectionPlan.cs
- OutputCacheSection.cs
- FontSourceCollection.cs
- Variable.cs
- InternalControlCollection.cs
- InfoCardTrace.cs
- DBPropSet.cs
- Debugger.cs
- ToolStripDropDownClosedEventArgs.cs
- ReferencedType.cs
- WebDisplayNameAttribute.cs
- ConstructorNeedsTagAttribute.cs
- XmlWriterTraceListener.cs
- TextBoxRenderer.cs
- XmlJsonWriter.cs
- MenuItem.cs
- ErrorRuntimeConfig.cs
- MetabaseSettings.cs
- listitem.cs
- MouseBinding.cs
- BuildProviderAppliesToAttribute.cs
- TemplatedAdorner.cs
- SizeAnimation.cs
- PopupEventArgs.cs
- LinqDataSourceDeleteEventArgs.cs
- JoinGraph.cs
- TrackBar.cs
- BaseWebProxyFinder.cs
- CompilerParameters.cs
- X509IssuerSerialKeyIdentifierClause.cs
- Stylesheet.cs
- SrgsDocumentParser.cs
- InvalidCommandTreeException.cs
- ModelChangedEventArgsImpl.cs
- MenuItem.cs
- ComponentSerializationService.cs
- ImportCatalogPart.cs
- ListManagerBindingsCollection.cs
- LastQueryOperator.cs
- ScrollChrome.cs
- TextTreeText.cs
- WindowsPen.cs
- _TimerThread.cs
- PolyLineSegmentFigureLogic.cs
- SamlAdvice.cs
- MailAddressCollection.cs
- AspCompat.cs
- IHttpResponseInternal.cs
- TemplateControlParser.cs
- WebPartHelpVerb.cs
- ArrayTypeMismatchException.cs
- ListBindingConverter.cs
- CodeTypeDeclarationCollection.cs
- Parser.cs
- HMACRIPEMD160.cs
- TextAutomationPeer.cs
- StorageEntityTypeMapping.cs
- EventSetter.cs
- DotExpr.cs
- DataSourceHelper.cs
- XmlSchemaElement.cs
- MailAddressCollection.cs
- OutputCacheModule.cs
- SqlInfoMessageEvent.cs
- PackageProperties.cs
- EditorPartCollection.cs
- PriorityItem.cs
- ExtendedTransformFactory.cs
- Emitter.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- TaskExceptionHolder.cs
- EqualityComparer.cs
- ProtocolViolationException.cs
- PrintPreviewControl.cs
- SerializerDescriptor.cs
- NotificationContext.cs
- ToolboxControl.cs
- AdRotator.cs
- WebPartVerbsEventArgs.cs
- GlyphsSerializer.cs
- Int32EqualityComparer.cs
- Panel.cs
- WebPartEditorCancelVerb.cs
- ActivityBindForm.Designer.cs
- UIPropertyMetadata.cs