Code:
/ 4.0 / 4.0 / 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. //------------------------------------------------------------------------------ //// 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
- SEHException.cs
- FileChangeNotifier.cs
- AssertSection.cs
- Pts.cs
- Rijndael.cs
- QueryStoreStatusRequest.cs
- PageCodeDomTreeGenerator.cs
- EventQueueState.cs
- KeyValuePairs.cs
- Selector.cs
- BitmapPalette.cs
- DataGridViewCellPaintingEventArgs.cs
- SiteMapHierarchicalDataSourceView.cs
- TraceSection.cs
- CodeMemberProperty.cs
- CellQuery.cs
- HttpResponseBase.cs
- ObjectPersistData.cs
- HwndKeyboardInputProvider.cs
- GPRECT.cs
- QilInvoke.cs
- WindowsListViewGroup.cs
- PaperSize.cs
- AppSettings.cs
- XsltLibrary.cs
- WarningException.cs
- KeyConverter.cs
- TableProviderWrapper.cs
- SmtpLoginAuthenticationModule.cs
- GregorianCalendarHelper.cs
- HierarchicalDataBoundControlAdapter.cs
- ISSmlParser.cs
- CollectionBase.cs
- SerializerWriterEventHandlers.cs
- SemanticKeyElement.cs
- RichTextBoxAutomationPeer.cs
- DataGridRowDetailsEventArgs.cs
- AppSettingsExpressionBuilder.cs
- GenericQueueSurrogate.cs
- InvalidProgramException.cs
- DiagnosticsConfiguration.cs
- CodePageEncoding.cs
- SslStream.cs
- SqlRecordBuffer.cs
- DataBindingList.cs
- ClientFormsIdentity.cs
- Utility.cs
- IPPacketInformation.cs
- ValidatingPropertiesEventArgs.cs
- CodeAccessSecurityEngine.cs
- SoapTransportImporter.cs
- TypedTableBaseExtensions.cs
- ChangeBlockUndoRecord.cs
- TransactionalPackage.cs
- WebServiceHostFactory.cs
- DataMemberConverter.cs
- ColumnResizeAdorner.cs
- ExpressionVisitorHelpers.cs
- XmlDataSourceNodeDescriptor.cs
- SpecularMaterial.cs
- BackgroundFormatInfo.cs
- KeyedHashAlgorithm.cs
- DocumentOrderQuery.cs
- ControlCommandSet.cs
- TrackPoint.cs
- StateMachine.cs
- JsonStringDataContract.cs
- IListConverters.cs
- NameObjectCollectionBase.cs
- CachedRequestParams.cs
- TimeManager.cs
- BitmapEffectDrawing.cs
- RefType.cs
- ContentFileHelper.cs
- EventlogProvider.cs
- RayHitTestParameters.cs
- Boolean.cs
- DataGridPagerStyle.cs
- DataPagerField.cs
- StylusPoint.cs
- LocationReferenceEnvironment.cs
- ManipulationLogic.cs
- Style.cs
- XmlCustomFormatter.cs
- EncodingTable.cs
- DBSqlParserTableCollection.cs
- LoopExpression.cs
- Emitter.cs
- ITextView.cs
- BufferedReceiveElement.cs
- DBSchemaRow.cs
- EntitySqlException.cs
- HttpCapabilitiesBase.cs
- Crypto.cs
- HelloMessageCD1.cs
- EventListenerClientSide.cs
- XmlSchemaSimpleTypeList.cs
- ManagedWndProcTracker.cs
- EasingQuaternionKeyFrame.cs
- followingsibling.cs