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
- PageThemeBuildProvider.cs
- TextCompositionEventArgs.cs
- Listen.cs
- TrackingServices.cs
- DataGridViewCellConverter.cs
- SizeAnimationBase.cs
- CustomAssemblyResolver.cs
- TreeWalker.cs
- RegistryKey.cs
- XmlSchemaSimpleType.cs
- DrawTreeNodeEventArgs.cs
- BaseParser.cs
- ParagraphVisual.cs
- RoleService.cs
- TextRunCacheImp.cs
- xmlsaver.cs
- ErrorRuntimeConfig.cs
- SqlProfileProvider.cs
- BuiltInExpr.cs
- MaskedTextBox.cs
- SQlBooleanStorage.cs
- SpecialNameAttribute.cs
- LinqExpressionNormalizer.cs
- NetNamedPipeBindingElement.cs
- XmlChoiceIdentifierAttribute.cs
- DateTimeFormatInfo.cs
- ConnectionStringsExpressionBuilder.cs
- SizeAnimationClockResource.cs
- IdentityModelStringsVersion1.cs
- HTMLTagNameToTypeMapper.cs
- BoundPropertyEntry.cs
- DBSchemaTable.cs
- WebPartHelpVerb.cs
- XmlSchemas.cs
- AssemblyAttributesGoHere.cs
- GenericXmlSecurityToken.cs
- CodeFieldReferenceExpression.cs
- OleDbMetaDataFactory.cs
- CatalogZoneBase.cs
- DataGridViewComboBoxColumn.cs
- CssTextWriter.cs
- CollectionBuilder.cs
- FormatterServices.cs
- TransactionScope.cs
- HttpServerVarsCollection.cs
- PriorityQueue.cs
- EllipseGeometry.cs
- ValidationHelper.cs
- base64Transforms.cs
- MeasureItemEvent.cs
- URLIdentityPermission.cs
- NameScopePropertyAttribute.cs
- CultureMapper.cs
- SignatureSummaryDialog.cs
- AppSettingsReader.cs
- XmlSerializerVersionAttribute.cs
- XmlnsDictionary.cs
- SspiNegotiationTokenProvider.cs
- CodeBinaryOperatorExpression.cs
- AnnotationComponentChooser.cs
- HttpHandler.cs
- DrawingState.cs
- ScriptResourceAttribute.cs
- QuotaThrottle.cs
- PropertyEmitterBase.cs
- RawStylusInput.cs
- HTMLTextWriter.cs
- MTConfigUtil.cs
- ListArgumentProvider.cs
- ImageAnimator.cs
- WinFormsSpinner.cs
- processwaithandle.cs
- ParsedAttributeCollection.cs
- DeflateInput.cs
- DispatcherFrame.cs
- PageThemeBuildProvider.cs
- WebPartConnectionsConnectVerb.cs
- Intellisense.cs
- RunWorkerCompletedEventArgs.cs
- _ConnectStream.cs
- ReflectPropertyDescriptor.cs
- Cursors.cs
- TemplateField.cs
- X509Utils.cs
- FacetDescriptionElement.cs
- DateBoldEvent.cs
- Query.cs
- ElementHostPropertyMap.cs
- TrackBar.cs
- DbConnectionPoolOptions.cs
- FieldAccessException.cs
- SerializationSectionGroup.cs
- TransactionFlowBindingElement.cs
- Style.cs
- LostFocusEventManager.cs
- ProjectionPlan.cs
- SelectionItemPattern.cs
- WebPartEditorApplyVerb.cs
- ColorPalette.cs
- ProfileSettings.cs