Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Net / System / Net / Configuration / PerformanceCountersElement.cs / 1 / PerformanceCountersElement.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 PerformanceCountersElement : ConfigurationElement { public PerformanceCountersElement() { this.properties.Add(this.enabled); } [ConfigurationProperty(ConfigurationStrings.Enabled, DefaultValue=false)] public bool Enabled { get { return (bool) this[this.enabled]; } set { this[this.enabled] = value; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty enabled = new ConfigurationProperty(ConfigurationStrings.Enabled, typeof(bool), false, ConfigurationPropertyOptions.None); } } // 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 PerformanceCountersElement : ConfigurationElement { public PerformanceCountersElement() { this.properties.Add(this.enabled); } [ConfigurationProperty(ConfigurationStrings.Enabled, DefaultValue=false)] public bool Enabled { get { return (bool) this[this.enabled]; } set { this[this.enabled] = value; } } protected override ConfigurationPropertyCollection Properties { get { return this.properties; } } ConfigurationPropertyCollection properties = new ConfigurationPropertyCollection(); readonly ConfigurationProperty enabled = new ConfigurationProperty(ConfigurationStrings.Enabled, typeof(bool), false, ConfigurationPropertyOptions.None); } } // 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
- EntityConnectionStringBuilder.cs
- BindUriHelper.cs
- SecurityContextTokenValidationException.cs
- SQLBytesStorage.cs
- WebPartConnectVerb.cs
- ImageFormatConverter.cs
- ExpressionList.cs
- StylusPlugInCollection.cs
- Splitter.cs
- TypeDescriptionProviderAttribute.cs
- XmlDictionaryString.cs
- CallbackBehaviorAttribute.cs
- ProvideValueServiceProvider.cs
- GPPOINTF.cs
- XmlSortKeyAccumulator.cs
- ServiceOperationHelpers.cs
- GenerateTemporaryTargetAssembly.cs
- StateInitialization.cs
- CanonicalFormWriter.cs
- ConditionCollection.cs
- HtmlInputHidden.cs
- LambdaExpression.cs
- Parallel.cs
- StylusPointPropertyInfo.cs
- RichTextBoxAutomationPeer.cs
- PartialTrustValidationBehavior.cs
- ModelVisual3D.cs
- SqlCaseSimplifier.cs
- RegexMatch.cs
- TextEditorThreadLocalStore.cs
- MsmqInputChannel.cs
- TripleDES.cs
- StorageMappingItemLoader.cs
- AttributeUsageAttribute.cs
- Overlapped.cs
- DataGridViewLinkColumn.cs
- SafeProcessHandle.cs
- Rect3DConverter.cs
- Model3DGroup.cs
- SiteMapNodeItemEventArgs.cs
- EdmTypeAttribute.cs
- InheritanceContextChangedEventManager.cs
- StringOutput.cs
- EditorPartCollection.cs
- ActivityDesignerLayoutSerializers.cs
- RepeaterItemEventArgs.cs
- ExternalException.cs
- ProxyManager.cs
- PictureBoxDesigner.cs
- TreeNodeStyle.cs
- MarkedHighlightComponent.cs
- MessageFilterTable.cs
- WindowsStatusBar.cs
- RegexGroupCollection.cs
- GeneratedContractType.cs
- DataGridRowsPresenter.cs
- DataGridItemEventArgs.cs
- NumericUpDownAcceleration.cs
- DSGeneratorProblem.cs
- ToolStripPanelCell.cs
- ScopelessEnumAttribute.cs
- MD5HashHelper.cs
- OperationValidationEventArgs.cs
- __ConsoleStream.cs
- ModuleBuilderData.cs
- ProjectionRewriter.cs
- autovalidator.cs
- XmlSerializerVersionAttribute.cs
- DefaultPropertyAttribute.cs
- FaultConverter.cs
- EmbeddedMailObject.cs
- RelatedImageListAttribute.cs
- WindowsStatusBar.cs
- RoleGroupCollectionEditor.cs
- QueryInterceptorAttribute.cs
- GenerateTemporaryTargetAssembly.cs
- StorageEntityContainerMapping.cs
- Listbox.cs
- Overlapped.cs
- StreamingContext.cs
- ListChunk.cs
- DataGridViewCellConverter.cs
- Overlapped.cs
- NativeWindow.cs
- AllMembershipCondition.cs
- SiteMapProvider.cs
- Button.cs
- HtmlPhoneCallAdapter.cs
- ListItemCollection.cs
- AppSettingsExpressionBuilder.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- SQLRoleProvider.cs
- FillRuleValidation.cs
- VerificationException.cs
- XomlCompiler.cs
- CompilerErrorCollection.cs
- XmlQueryType.cs
- HttpHandler.cs
- StoreAnnotationsMap.cs
- CodeAttributeArgumentCollection.cs