Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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); } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SplitterEvent.cs
- HttpProcessUtility.cs
- SchemaEntity.cs
- ApplicationServicesHostFactory.cs
- SelectionEditingBehavior.cs
- EntityStoreSchemaGenerator.cs
- HtmlInputCheckBox.cs
- NgenServicingAttributes.cs
- SafeMarshalContext.cs
- SendingRequestEventArgs.cs
- TextPointerBase.cs
- NamespaceEmitter.cs
- ColorAnimation.cs
- GroupBox.cs
- LineGeometry.cs
- WindowsListViewItem.cs
- InstanceCreationEditor.cs
- BindableTemplateBuilder.cs
- CommandTreeTypeHelper.cs
- GraphicsContainer.cs
- RectAnimationBase.cs
- Exceptions.cs
- ProviderConnectionPoint.cs
- TextTrailingWordEllipsis.cs
- SeverityFilter.cs
- UrlMappingsSection.cs
- PeerIPHelper.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- ThreadPool.cs
- RelatedView.cs
- BitmapEffectDrawingContent.cs
- RangeValuePattern.cs
- ResourcesChangeInfo.cs
- GridViewUpdateEventArgs.cs
- AttributeUsageAttribute.cs
- CodeParameterDeclarationExpressionCollection.cs
- PasswordTextContainer.cs
- SoapInteropTypes.cs
- _CacheStreams.cs
- TreeViewItem.cs
- WindowAutomationPeer.cs
- ServicePointManagerElement.cs
- MultipleFilterMatchesException.cs
- DecoderReplacementFallback.cs
- ThreadStaticAttribute.cs
- XmlNodeReader.cs
- DesignerSerializationVisibilityAttribute.cs
- BindingBase.cs
- CFStream.cs
- RowToFieldTransformer.cs
- BitmapFrameEncode.cs
- IsolatedStorageFile.cs
- BufferedStream.cs
- MappedMetaModel.cs
- PriorityChain.cs
- PageRanges.cs
- BaseAppDomainProtocolHandler.cs
- TimeSpanValidator.cs
- MappingItemCollection.cs
- DetailsViewPagerRow.cs
- Constraint.cs
- ConditionalAttribute.cs
- PointHitTestParameters.cs
- SafeBitVector32.cs
- XmlCharacterData.cs
- UpdateCompiler.cs
- XmlException.cs
- XmlAttributeAttribute.cs
- sqlcontext.cs
- XPathNodePointer.cs
- TextEditorParagraphs.cs
- ParseNumbers.cs
- XmlHelper.cs
- ConfigDefinitionUpdates.cs
- QueueTransferProtocol.cs
- TileModeValidation.cs
- TextEditorParagraphs.cs
- AccessibleObject.cs
- MailHeaderInfo.cs
- LiteralControl.cs
- TreeBuilderBamlTranslator.cs
- PhysicalFontFamily.cs
- SiteMapPath.cs
- PrintingPermission.cs
- SafeCertificateContext.cs
- SqlRowUpdatingEvent.cs
- DecimalConverter.cs
- XmlLinkedNode.cs
- AutomationIdentifier.cs
- XmlArrayItemAttributes.cs
- RawStylusInputReport.cs
- AssemblyHash.cs
- Byte.cs
- QilXmlWriter.cs
- HtmlLabelAdapter.cs
- DataBindingHandlerAttribute.cs
- ToolStripDropDownButton.cs
- RemotingConfiguration.cs
- AccessedThroughPropertyAttribute.cs
- DataGridViewComboBoxColumn.cs