Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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); } } // 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
- SqlComparer.cs
- MessageSecurityException.cs
- RubberbandSelector.cs
- CanonicalizationDriver.cs
- SystemPens.cs
- CharAnimationBase.cs
- TextParentUndoUnit.cs
- DeviceContext.cs
- StylusDownEventArgs.cs
- TemplateKey.cs
- XPathEmptyIterator.cs
- HashAlgorithm.cs
- CompilerCollection.cs
- RemotingException.cs
- DbInsertCommandTree.cs
- PauseStoryboard.cs
- ParameterCollection.cs
- ParallelTimeline.cs
- NestPullup.cs
- WorkflowServiceInstance.cs
- SslStream.cs
- ConstraintStruct.cs
- CodeValidator.cs
- ToolStripProgressBar.cs
- TextBoxBase.cs
- DoubleLink.cs
- ErasingStroke.cs
- XmlCharType.cs
- UnsafeNativeMethods.cs
- versioninfo.cs
- RuleSettingsCollection.cs
- QilTargetType.cs
- KnownTypeDataContractResolver.cs
- PropertyToken.cs
- FontFamilyConverter.cs
- RelatedImageListAttribute.cs
- ConfigXmlText.cs
- Figure.cs
- SocketAddress.cs
- OdbcReferenceCollection.cs
- CodeAssignStatement.cs
- ImageList.cs
- ConfigXmlComment.cs
- PeekCompletedEventArgs.cs
- IList.cs
- XPathNavigatorKeyComparer.cs
- PrintPageEvent.cs
- DataGridViewLinkCell.cs
- TextBox.cs
- GACIdentityPermission.cs
- ServerProtocol.cs
- DbProviderConfigurationHandler.cs
- EditorPartCollection.cs
- BulletedListDesigner.cs
- safesecurityhelperavalon.cs
- DataGridViewRowCollection.cs
- DataKeyArray.cs
- ConfigurationSettings.cs
- ReaderContextStackData.cs
- VisualStyleRenderer.cs
- GetPolicyDetailsRequest.cs
- CheckBoxField.cs
- DropTarget.cs
- MILUtilities.cs
- WindowsPrincipal.cs
- XhtmlTextWriter.cs
- PerformanceCounterCategory.cs
- WindowsSecurityTokenAuthenticator.cs
- TextTreeInsertUndoUnit.cs
- InputLanguageEventArgs.cs
- DeleteIndexBinder.cs
- HtmlFormParameterReader.cs
- DesignerActionKeyboardBehavior.cs
- CompositeDuplexBindingElement.cs
- ClientProxyGenerator.cs
- ListSourceHelper.cs
- SharedDp.cs
- EntitySqlQueryState.cs
- PolicyException.cs
- SingleTagSectionHandler.cs
- QueryActivatableWorkflowsCommand.cs
- BamlWriter.cs
- TextBoxRenderer.cs
- OuterGlowBitmapEffect.cs
- CodeRemoveEventStatement.cs
- BinaryFormatterSinks.cs
- WebContext.cs
- AssemblyGen.cs
- FunctionNode.cs
- ActiveXHost.cs
- CurrentChangingEventManager.cs
- TextSelectionProcessor.cs
- GregorianCalendarHelper.cs
- PrintDialog.cs
- SynchronousChannel.cs
- Margins.cs
- DiscardableAttribute.cs
- View.cs
- UrlMappingCollection.cs
- SymLanguageType.cs