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
- versioninfo.cs
- ADConnectionHelper.cs
- LogWriteRestartAreaAsyncResult.cs
- RenderCapability.cs
- FormsAuthenticationTicket.cs
- FileUtil.cs
- ToggleButton.cs
- ExpiredSecurityTokenException.cs
- WindowsFormsHelpers.cs
- IDQuery.cs
- VScrollBar.cs
- SystemWebExtensionsSectionGroup.cs
- ReachPageContentCollectionSerializerAsync.cs
- DataBoundLiteralControl.cs
- SqlTopReducer.cs
- BasicExpressionVisitor.cs
- WebBrowserSiteBase.cs
- ADConnectionHelper.cs
- GenerateDerivedKeyRequest.cs
- LicFileLicenseProvider.cs
- XmlValidatingReaderImpl.cs
- SmtpFailedRecipientsException.cs
- QueryCacheKey.cs
- DrawingGroupDrawingContext.cs
- ContentOperations.cs
- EntityDataSourceWrapperPropertyDescriptor.cs
- Point3DAnimationBase.cs
- PatternMatcher.cs
- NotImplementedException.cs
- objectresult_tresulttype.cs
- AttachedProperty.cs
- Bold.cs
- CompatibleComparer.cs
- XsltConvert.cs
- UserControlCodeDomTreeGenerator.cs
- GlyphsSerializer.cs
- EncoderParameters.cs
- CodeTryCatchFinallyStatement.cs
- ColorMatrix.cs
- AdornerDecorator.cs
- PropertyManager.cs
- safemediahandle.cs
- EnumerableRowCollection.cs
- OleDbTransaction.cs
- OrderPreservingPipeliningMergeHelper.cs
- PropertyDescriptorCollection.cs
- EntitySqlQueryState.cs
- TextSpanModifier.cs
- FillBehavior.cs
- LabelLiteral.cs
- CookielessHelper.cs
- VectorConverter.cs
- LicenseContext.cs
- WebBrowser.cs
- MissingManifestResourceException.cs
- SymLanguageType.cs
- Configuration.cs
- MouseGestureConverter.cs
- UpdatePanelTrigger.cs
- PagesSection.cs
- FrameworkTextComposition.cs
- IsolatedStoragePermission.cs
- DataGridViewCellValidatingEventArgs.cs
- RelatedPropertyManager.cs
- SendMailErrorEventArgs.cs
- ActivityCompletionCallbackWrapper.cs
- CorrelationManager.cs
- GeneralTransform3D.cs
- HuffCodec.cs
- SQLInt64.cs
- WindowsTitleBar.cs
- Window.cs
- ACE.cs
- ForeignConstraint.cs
- ToolstripProfessionalRenderer.cs
- bidPrivateBase.cs
- GetIndexBinder.cs
- FixUp.cs
- ISCIIEncoding.cs
- SBCSCodePageEncoding.cs
- BamlRecords.cs
- SystemUnicastIPAddressInformation.cs
- ResourcesGenerator.cs
- SerialReceived.cs
- SerializerProvider.cs
- SpecialNameAttribute.cs
- CookieProtection.cs
- DashStyles.cs
- BulletChrome.cs
- TableCellCollection.cs
- FileStream.cs
- RegexRunner.cs
- ValuePattern.cs
- CatalogZone.cs
- PartialCachingAttribute.cs
- DetailsViewCommandEventArgs.cs
- EntitySet.cs
- OdbcConnectionStringbuilder.cs
- ColumnTypeConverter.cs
- DictionaryBase.cs