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
- MsmqIntegrationReceiveParameters.cs
- ServiceBehaviorAttribute.cs
- TrackingMemoryStreamFactory.cs
- Encoder.cs
- ListBoxItemAutomationPeer.cs
- HttpsChannelListener.cs
- MachineKeyConverter.cs
- TransportBindingElementImporter.cs
- SessionParameter.cs
- ParsedAttributeCollection.cs
- SystemColorTracker.cs
- ProcessModule.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- CalendarDateRangeChangingEventArgs.cs
- LinkArea.cs
- WindowClosedEventArgs.cs
- Subset.cs
- SizeFConverter.cs
- XmlSerializationReader.cs
- XmlAnyElementAttribute.cs
- NodeLabelEditEvent.cs
- CodePropertyReferenceExpression.cs
- PrintingPermissionAttribute.cs
- CollectionViewProxy.cs
- Parser.cs
- NetStream.cs
- JavaScriptObjectDeserializer.cs
- TypeRestriction.cs
- BasicExpressionVisitor.cs
- TextEvent.cs
- CachingHintValidation.cs
- EdmScalarPropertyAttribute.cs
- SqlXmlStorage.cs
- DBConnectionString.cs
- AdapterDictionary.cs
- DesignerActionService.cs
- SecurityState.cs
- XmlWriterSettings.cs
- GraphicsPath.cs
- RegexMatchCollection.cs
- WeakReference.cs
- ClientType.cs
- CacheEntry.cs
- SafeLocalAllocation.cs
- DataSvcMapFileSerializer.cs
- SqlDependencyListener.cs
- FilteredAttributeCollection.cs
- HttpCacheParams.cs
- coordinatorfactory.cs
- ObjectAssociationEndMapping.cs
- Type.cs
- nulltextcontainer.cs
- RectangleHotSpot.cs
- DefaultBinder.cs
- ValidationHelper.cs
- UnaryOperationBinder.cs
- MultipartContentParser.cs
- RuleProcessor.cs
- APCustomTypeDescriptor.cs
- TemplateManager.cs
- CursorConverter.cs
- ConfigXmlSignificantWhitespace.cs
- ReadOnlyCollectionBase.cs
- GridViewRow.cs
- dbenumerator.cs
- NoneExcludedImageIndexConverter.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- Odbc32.cs
- XmlDataCollection.cs
- ServiceSecurityAuditBehavior.cs
- HelloOperationCD1AsyncResult.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- CodeVariableDeclarationStatement.cs
- IgnoreFlushAndCloseStream.cs
- Resources.Designer.cs
- __ConsoleStream.cs
- ResXResourceReader.cs
- PointIndependentAnimationStorage.cs
- BitmapEffectGeneralTransform.cs
- AutoGeneratedFieldProperties.cs
- InkCanvasSelectionAdorner.cs
- AppDomainResourcePerfCounters.cs
- LocalIdKeyIdentifierClause.cs
- MatrixAnimationUsingKeyFrames.cs
- FixedSOMPageElement.cs
- NavigationProgressEventArgs.cs
- XmlMtomReader.cs
- StateRuntime.cs
- SerializationStore.cs
- XmlDataSourceView.cs
- DataBindingCollection.cs
- TagPrefixCollection.cs
- ComboBoxAutomationPeer.cs
- DCSafeHandle.cs
- AlternationConverter.cs
- FontStretches.cs
- GroupDescription.cs
- ProcessModelInfo.cs
- HorizontalAlignConverter.cs
- TextLineResult.cs