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
- BehaviorEditorPart.cs
- CustomCategoryAttribute.cs
- DataReceivedEventArgs.cs
- EventBindingService.cs
- SecuritySessionFilter.cs
- WindowsSecurityToken.cs
- TransactionInformation.cs
- DriveNotFoundException.cs
- ToolStripItemGlyph.cs
- NonNullItemCollection.cs
- OutputCacheSection.cs
- SqlAggregateChecker.cs
- AndCondition.cs
- List.cs
- CalendarAutomationPeer.cs
- MimeParameterWriter.cs
- GenerateTemporaryTargetAssembly.cs
- ProtectedProviderSettings.cs
- Calendar.cs
- xsdvalidator.cs
- EventDrivenDesigner.cs
- LockCookie.cs
- LiteralDesigner.cs
- ProfileSettings.cs
- EditableTreeList.cs
- HttpValueCollection.cs
- TrustSection.cs
- HttpHandlersInstallComponent.cs
- CodeStatementCollection.cs
- securitycriticaldataformultiplegetandset.cs
- TextViewDesigner.cs
- UniqueIdentifierService.cs
- GridItemPatternIdentifiers.cs
- MailMessageEventArgs.cs
- ComponentCommands.cs
- GenerateHelper.cs
- SendMailErrorEventArgs.cs
- XmlAtomicValue.cs
- ToolStripMenuItemCodeDomSerializer.cs
- ServerValidateEventArgs.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- Attachment.cs
- DataGridBoolColumn.cs
- DataViewManager.cs
- EventData.cs
- FullTextState.cs
- DataRecordInternal.cs
- Errors.cs
- DesignerActionMethodItem.cs
- OleDbStruct.cs
- WebReferenceCollection.cs
- Exceptions.cs
- EdmFunction.cs
- FileDialog.cs
- ObjectCache.cs
- Transform3DCollection.cs
- EntryPointNotFoundException.cs
- SystemWebSectionGroup.cs
- COM2ICategorizePropertiesHandler.cs
- TextOptions.cs
- TileBrush.cs
- DbExpressionVisitor_TResultType.cs
- ArgumentException.cs
- ProfileSettingsCollection.cs
- TextElement.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- HexParser.cs
- SafeArrayTypeMismatchException.cs
- HScrollProperties.cs
- ConfigurationCollectionAttribute.cs
- IntegrationExceptionEventArgs.cs
- ClientOperationFormatterProvider.cs
- HtmlCalendarAdapter.cs
- SafeSecurityHandles.cs
- WebBrowserHelper.cs
- FileEnumerator.cs
- TypefaceCollection.cs
- ConfigurationValidatorAttribute.cs
- EdmConstants.cs
- SimpleExpression.cs
- GraphicsState.cs
- CodeArrayIndexerExpression.cs
- CodeValidator.cs
- HttpListenerRequestUriBuilder.cs
- WindowsListViewItemStartMenu.cs
- ActiveDocumentEvent.cs
- WebException.cs
- BitmapEffectInput.cs
- OdbcParameter.cs
- RangeValuePattern.cs
- FirstMatchCodeGroup.cs
- CodeExporter.cs
- NamespaceQuery.cs
- EventData.cs
- ProviderCommandInfoUtils.cs
- Filter.cs
- RepeatBehavior.cs
- XmlSchemaType.cs
- SqlDataSourceAdvancedOptionsForm.cs
- InfoCardSymmetricCrypto.cs