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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FlatButtonAppearance.cs
- Converter.cs
- SapiGrammar.cs
- IncrementalCompileAnalyzer.cs
- RtfControls.cs
- BinaryMessageFormatter.cs
- DetailsViewRow.cs
- GroupDescription.cs
- PreviewPrintController.cs
- Parameter.cs
- EntityDataSourceColumn.cs
- IndicFontClient.cs
- RuntimeHelpers.cs
- PrintDialog.cs
- SQLBytes.cs
- AnnouncementEndpointElement.cs
- NamespaceEmitter.cs
- HopperCache.cs
- SystemKeyConverter.cs
- EntityClassGenerator.cs
- DiscreteKeyFrames.cs
- SizeConverter.cs
- OutputCacheSection.cs
- FuncTypeConverter.cs
- GeneratedView.cs
- RelativeSource.cs
- UriTemplateClientFormatter.cs
- DesignerDataColumn.cs
- ReferenceEqualityComparer.cs
- Button.cs
- PackageController.cs
- DesignTimeData.cs
- _NestedMultipleAsyncResult.cs
- TypeExtensions.cs
- TransformCryptoHandle.cs
- HtmlContainerControl.cs
- BitmapFrame.cs
- CodeGeneratorOptions.cs
- QueryRewriter.cs
- DecimalFormatter.cs
- BooleanAnimationUsingKeyFrames.cs
- ManualResetEvent.cs
- PageBreakRecord.cs
- sqlstateclientmanager.cs
- PersonalizationProvider.cs
- Translator.cs
- PerSessionInstanceContextProvider.cs
- InstanceData.cs
- CollectionsUtil.cs
- EnumUnknown.cs
- InputEventArgs.cs
- XmlILIndex.cs
- EnglishPluralizationService.cs
- EventLogEntry.cs
- ResourceReferenceExpressionConverter.cs
- LambdaCompiler.ControlFlow.cs
- TypeCacheManager.cs
- XamlClipboardData.cs
- ValidationHelper.cs
- EntityRecordInfo.cs
- CellRelation.cs
- SqlDependencyListener.cs
- DocumentGridContextMenu.cs
- LicenseManager.cs
- ScrollViewerAutomationPeer.cs
- QuaternionKeyFrameCollection.cs
- ChineseLunisolarCalendar.cs
- BrowserCapabilitiesFactory.cs
- WindowPattern.cs
- SortedSetDebugView.cs
- dtdvalidator.cs
- DataBinder.cs
- ClientUtils.cs
- ACL.cs
- DelegatedStream.cs
- XhtmlBasicFormAdapter.cs
- ProviderIncompatibleException.cs
- SettingsPropertyValue.cs
- ManualWorkflowSchedulerService.cs
- PathStreamGeometryContext.cs
- StrokeNodeOperations.cs
- OdbcErrorCollection.cs
- CatalogZone.cs
- XmlSchemaSimpleType.cs
- ConnectionPoolManager.cs
- PagePropertiesChangingEventArgs.cs
- XmlMembersMapping.cs
- KeyboardDevice.cs
- oledbmetadatacolumnnames.cs
- SchemaName.cs
- baseaxisquery.cs
- HttpResponse.cs
- Brush.cs
- WindowsSecurityTokenAuthenticator.cs
- JsonReaderDelegator.cs
- SerializationEventsCache.cs
- ObjectStateManagerMetadata.cs
- tabpagecollectioneditor.cs
- StaticFileHandler.cs
- CLSCompliantAttribute.cs