Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / Configuration / PerformanceCountersElement.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ModelTreeEnumerator.cs
- ScrollChangedEventArgs.cs
- ToolboxBitmapAttribute.cs
- CustomErrorCollection.cs
- UnknownBitmapEncoder.cs
- QueryOutputWriterV1.cs
- DependencyPropertyConverter.cs
- Socket.cs
- PackageDigitalSignatureManager.cs
- ModelPerspective.cs
- PathSegmentCollection.cs
- QueryCreatedEventArgs.cs
- RelationshipType.cs
- EditingCommands.cs
- HttpProfileBase.cs
- DecimalAverageAggregationOperator.cs
- ReferenceAssemblyAttribute.cs
- LocatorPartList.cs
- ProfileServiceManager.cs
- MembershipSection.cs
- MetadataElement.cs
- ItemsPresenter.cs
- DynamicRendererThreadManager.cs
- HttpVersion.cs
- SqlConnectionString.cs
- DelimitedListTraceListener.cs
- CodeSubDirectory.cs
- DatePickerTextBox.cs
- SHA1Managed.cs
- UserControlDocumentDesigner.cs
- SQLGuidStorage.cs
- hresults.cs
- SmtpMail.cs
- Config.cs
- TemplateContentLoader.cs
- FontTypeConverter.cs
- EditorZone.cs
- Util.cs
- BuildProvider.cs
- TypeNameHelper.cs
- SecurityUtils.cs
- StreamSecurityUpgradeInitiatorAsyncResult.cs
- PrintingPermissionAttribute.cs
- RegionIterator.cs
- HierarchicalDataSourceControl.cs
- HttpSessionStateWrapper.cs
- ModelUIElement3D.cs
- MsmqIntegrationProcessProtocolHandler.cs
- TypeBuilderInstantiation.cs
- DoubleLinkList.cs
- VectorCollection.cs
- MediaScriptCommandRoutedEventArgs.cs
- UnsafeNativeMethods.cs
- _HTTPDateParse.cs
- PackageFilter.cs
- FirstQueryOperator.cs
- QilGenerator.cs
- DesignerForm.cs
- InfocardChannelParameter.cs
- Psha1DerivedKeyGenerator.cs
- PageThemeBuildProvider.cs
- ComNativeDescriptor.cs
- XmlSchemaImport.cs
- SetterBaseCollection.cs
- RequestDescription.cs
- uribuilder.cs
- HttpRequestWrapper.cs
- __TransparentProxy.cs
- RegexParser.cs
- XsltLibrary.cs
- EmptyCollection.cs
- CoreChannel.cs
- MembershipValidatePasswordEventArgs.cs
- SafeNativeMethods.cs
- login.cs
- X509CertificateChain.cs
- QueryAccessibilityHelpEvent.cs
- TypeBuilder.cs
- EdmToObjectNamespaceMap.cs
- ReadOnlyDictionary.cs
- CryptoProvider.cs
- ProjectionQueryOptionExpression.cs
- HotCommands.cs
- IncrementalReadDecoders.cs
- XmlSchemaFacet.cs
- ModelPropertyCollectionImpl.cs
- StreamGeometry.cs
- PropertyCollection.cs
- MasterPage.cs
- ProcessManager.cs
- TextLineBreak.cs
- GeneralTransform2DTo3DTo2D.cs
- PerformanceCounterLib.cs
- ExtensionFile.cs
- SynchronizationHandlesCodeDomSerializer.cs
- DesignerProperties.cs
- ResourceDescriptionAttribute.cs
- SpecialNameAttribute.cs
- SpellerInterop.cs
- OperationFormatter.cs