Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- DataColumnCollection.cs
- SafeCryptContextHandle.cs
- WindowsListViewItemStartMenu.cs
- MemoryMappedView.cs
- OleDbDataReader.cs
- ItemCheckEvent.cs
- TemplateBindingExtensionConverter.cs
- PackUriHelper.cs
- PreviewControlDesigner.cs
- ZoneMembershipCondition.cs
- StructuredType.cs
- PersonalizationStateQuery.cs
- UnsafeNativeMethods.cs
- GridViewHeaderRowPresenterAutomationPeer.cs
- IriParsingElement.cs
- RepeaterCommandEventArgs.cs
- EncryptedKeyIdentifierClause.cs
- ReadOnlyCollection.cs
- EncodingDataItem.cs
- validation.cs
- JapaneseCalendar.cs
- SerializationObjectManager.cs
- HtmlInputButton.cs
- WorkflowHostingResponseContext.cs
- ellipse.cs
- TextRunTypographyProperties.cs
- RangeBaseAutomationPeer.cs
- FontFamily.cs
- HashCryptoHandle.cs
- ConsoleTraceListener.cs
- DefaultValidator.cs
- DynamicMethod.cs
- Vertex.cs
- BamlResourceContent.cs
- SimpleLine.cs
- JobStaple.cs
- SizeIndependentAnimationStorage.cs
- LabelInfo.cs
- StreamInfo.cs
- CryptoApi.cs
- AliasExpr.cs
- Resources.Designer.cs
- __ConsoleStream.cs
- UrlMappingsSection.cs
- SqlFacetAttribute.cs
- MorphHelpers.cs
- DrawingDrawingContext.cs
- WebPartVerb.cs
- KeyGesture.cs
- MultiPageTextView.cs
- SortQuery.cs
- StrokeFIndices.cs
- WinFormsSpinner.cs
- GroupByExpressionRewriter.cs
- InputLangChangeEvent.cs
- ContentPlaceHolder.cs
- SqlLiftWhereClauses.cs
- SettingsAttributes.cs
- StringCollection.cs
- WindowInteractionStateTracker.cs
- ISCIIEncoding.cs
- MatchAllMessageFilter.cs
- WebPartChrome.cs
- RegisteredDisposeScript.cs
- FormsAuthenticationUserCollection.cs
- DetailsViewUpdateEventArgs.cs
- PipelineComponent.cs
- MetadataArtifactLoaderComposite.cs
- AccessDataSourceView.cs
- NegotiateStream.cs
- CommonXSendMessage.cs
- DataBinding.cs
- XmlException.cs
- ImageClickEventArgs.cs
- BufferModeSettings.cs
- EnumUnknown.cs
- ProviderCommandInfoUtils.cs
- TableHeaderCell.cs
- SrgsGrammar.cs
- DependencyObject.cs
- PaperSource.cs
- DataBindingCollection.cs
- ActiveDocumentEvent.cs
- SafeRightsManagementEnvironmentHandle.cs
- TransformerConfigurationWizardBase.cs
- MethodRental.cs
- BuildResult.cs
- CharStorage.cs
- TypeBuilderInstantiation.cs
- ForAllOperator.cs
- GcHandle.cs
- SAPICategories.cs
- WindowsListViewGroup.cs
- QueryCoreOp.cs
- StorageFunctionMapping.cs
- QuaternionRotation3D.cs
- FormattedText.cs
- DataSourceXmlClassAttribute.cs
- ColumnResult.cs
- _AuthenticationState.cs