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
- SocketInformation.cs
- MdbDataFileEditor.cs
- Solver.cs
- DataReceivedEventArgs.cs
- TextBox.cs
- XmlSchemaParticle.cs
- LazyTextWriterCreator.cs
- DecimalStorage.cs
- IItemContainerGenerator.cs
- BitmapEffectInputData.cs
- SecurityManager.cs
- UIElementCollection.cs
- XmlSchemaNotation.cs
- DbParameterCollectionHelper.cs
- LinkedDataMemberFieldEditor.cs
- MemberMemberBinding.cs
- BuildProvider.cs
- BitStack.cs
- ImageKeyConverter.cs
- ZipIOModeEnforcingStream.cs
- DynamicValidatorEventArgs.cs
- DefaultValueAttribute.cs
- ToolStripItemRenderEventArgs.cs
- DropTarget.cs
- IPAddress.cs
- Rijndael.cs
- MimeWriter.cs
- dataobject.cs
- EnumCodeDomSerializer.cs
- ToolBarButtonClickEvent.cs
- StateWorkerRequest.cs
- MulticastDelegate.cs
- ByteConverter.cs
- ListViewContainer.cs
- SerialErrors.cs
- DetailsViewDeletedEventArgs.cs
- InfoCardConstants.cs
- VectorCollectionConverter.cs
- DelegatingTypeDescriptionProvider.cs
- Attributes.cs
- DrawingAttributesDefaultValueFactory.cs
- ProjectedWrapper.cs
- WrappedReader.cs
- HostUtils.cs
- LinqDataSourceContextEventArgs.cs
- MasterPage.cs
- DataGridState.cs
- ObjectKeyFrameCollection.cs
- ComplexTypeEmitter.cs
- SecurityChannelListener.cs
- WebServiceData.cs
- DictionaryKeyPropertyAttribute.cs
- PointHitTestResult.cs
- GenericEnumConverter.cs
- storepermissionattribute.cs
- ReliableDuplexSessionChannel.cs
- ConfigurationStrings.cs
- GZipStream.cs
- SecurityKeyIdentifierClause.cs
- DataGridViewTopLeftHeaderCell.cs
- TracingConnectionListener.cs
- AuthorizationRuleCollection.cs
- DrawingImage.cs
- TextRunTypographyProperties.cs
- PropertyStore.cs
- dbdatarecord.cs
- GacUtil.cs
- CatalogPart.cs
- DataFormats.cs
- DrawItemEvent.cs
- BindableAttribute.cs
- SelectionRange.cs
- DesignTimeParseData.cs
- ProfileModule.cs
- XamlStackWriter.cs
- DataBoundControlActionList.cs
- HitTestParameters3D.cs
- ColumnCollectionEditor.cs
- SimpleHandlerBuildProvider.cs
- EditorResources.cs
- AttributeXamlType.cs
- PropertyItem.cs
- DataGridViewCellCancelEventArgs.cs
- DecoderBestFitFallback.cs
- ProcessModelSection.cs
- StyleBamlTreeBuilder.cs
- AsymmetricSecurityProtocol.cs
- UInt64.cs
- XamlFigureLengthSerializer.cs
- ConnectionStringsExpressionEditor.cs
- ConfigUtil.cs
- ConfigXmlCDataSection.cs
- QuaternionIndependentAnimationStorage.cs
- DataRecord.cs
- XhtmlTextWriter.cs
- AdPostCacheSubstitution.cs
- PropertyPath.cs
- WebControlsSection.cs
- HtmlSelect.cs
- SatelliteContractVersionAttribute.cs