Code:
/ DotNET / DotNET / 8.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
- GridView.cs
- BatchWriter.cs
- ComplexPropertyEntry.cs
- PersonalizationProvider.cs
- EmissiveMaterial.cs
- PreviewKeyDownEventArgs.cs
- SupportsEventValidationAttribute.cs
- TraceShell.cs
- NumberSubstitution.cs
- DependencyObjectPropertyDescriptor.cs
- MouseActionConverter.cs
- EventToken.cs
- RouteUrlExpressionBuilder.cs
- XPathAxisIterator.cs
- SslStreamSecurityElement.cs
- CodeSubDirectory.cs
- DataBindEngine.cs
- XmlNodeList.cs
- XmlHelper.cs
- Grant.cs
- DescendentsWalker.cs
- GridItem.cs
- ComboBoxRenderer.cs
- IODescriptionAttribute.cs
- HttpHandlerAction.cs
- StrongNameUtility.cs
- RootDesignerSerializerAttribute.cs
- ITextView.cs
- Inline.cs
- SafeArrayTypeMismatchException.cs
- FrameworkPropertyMetadata.cs
- MenuItemStyleCollection.cs
- OdbcHandle.cs
- DPTypeDescriptorContext.cs
- DataGridViewControlCollection.cs
- ToolStripPanel.cs
- SelectedGridItemChangedEvent.cs
- SecurityResources.cs
- PrintingPermissionAttribute.cs
- AuthStoreRoleProvider.cs
- TypeInfo.cs
- ColorMatrix.cs
- ThemeDictionaryExtension.cs
- RtfNavigator.cs
- CookieParameter.cs
- EnumerableValidator.cs
- Triplet.cs
- ResourceProviderFactory.cs
- WebHostedComPlusServiceHost.cs
- SystemIPInterfaceStatistics.cs
- SystemInfo.cs
- SettingsProperty.cs
- CacheEntry.cs
- XmlNode.cs
- TimelineClockCollection.cs
- SortedDictionary.cs
- PermissionRequestEvidence.cs
- KeyToListMap.cs
- Dispatcher.cs
- FaultPropagationRecord.cs
- GetPageNumberCompletedEventArgs.cs
- EntityDataSourceQueryBuilder.cs
- ObjectViewFactory.cs
- HwndAppCommandInputProvider.cs
- WriteableBitmap.cs
- CompilerLocalReference.cs
- XmlSerializerVersionAttribute.cs
- DbConnectionInternal.cs
- MemberNameValidator.cs
- oledbmetadatacollectionnames.cs
- FigureParaClient.cs
- MimeWriter.cs
- ApplicationFileParser.cs
- CreatingCookieEventArgs.cs
- BasicHttpMessageSecurity.cs
- HttpPostLocalhostServerProtocol.cs
- TransformCollection.cs
- ToolStripProgressBar.cs
- externdll.cs
- TextRenderer.cs
- TrackingMemoryStreamFactory.cs
- Errors.cs
- BitmapEffectRenderDataResource.cs
- DriveInfo.cs
- CommandCollectionEditor.cs
- SqlBuffer.cs
- SchemaMerger.cs
- ValidateNames.cs
- FrameworkElementFactory.cs
- SessionPageStateSection.cs
- Border.cs
- XmlSchemaException.cs
- DoubleAnimationClockResource.cs
- CLRBindingWorker.cs
- _HTTPDateParse.cs
- HwndSourceParameters.cs
- VirtualDirectoryMapping.cs
- ConfigXmlWhitespace.cs
- SqlBuffer.cs
- XmlSchemaAttribute.cs