Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DataGridViewRowConverter.cs
- DmlSqlGenerator.cs
- ContentWrapperAttribute.cs
- SqlNodeAnnotations.cs
- TimerEventSubscription.cs
- SimpleApplicationHost.cs
- AuthenticationException.cs
- LeftCellWrapper.cs
- MaterializeFromAtom.cs
- StoreAnnotationsMap.cs
- PenCursorManager.cs
- ApplicationServiceManager.cs
- ResourceExpressionBuilder.cs
- ExitEventArgs.cs
- PasswordRecovery.cs
- TypeDescriptionProviderAttribute.cs
- newinstructionaction.cs
- ToggleButton.cs
- SpotLight.cs
- BuildProviderAppliesToAttribute.cs
- HtmlTextArea.cs
- ObjectNotFoundException.cs
- CodeFieldReferenceExpression.cs
- Thickness.cs
- DESCryptoServiceProvider.cs
- NamespaceListProperty.cs
- TextBlock.cs
- InstanceCreationEditor.cs
- MultipartContentParser.cs
- ToolStripMenuItem.cs
- ScriptControlManager.cs
- ApplicationServiceHelper.cs
- ConfigErrorGlyph.cs
- MsmqIntegrationMessagePool.cs
- GcSettings.cs
- D3DImage.cs
- CompilationUnit.cs
- KeyConverter.cs
- CertificateElement.cs
- Normalization.cs
- ThicknessKeyFrameCollection.cs
- GenericNameHandler.cs
- IndexedString.cs
- PersistenceProviderDirectory.cs
- CryptoApi.cs
- KnowledgeBase.cs
- ListView.cs
- XmlSerializationGeneratedCode.cs
- HuffModule.cs
- SqlFunctionAttribute.cs
- PackageFilter.cs
- ResourceExpressionEditor.cs
- AQNBuilder.cs
- MultilineStringConverter.cs
- CommentEmitter.cs
- AuthenticatedStream.cs
- RuleCache.cs
- CheckBoxFlatAdapter.cs
- LinqDataSourceEditData.cs
- ClientBase.cs
- HeaderedItemsControl.cs
- VisualTarget.cs
- GlyphRun.cs
- MeshGeometry3D.cs
- TextDecorationCollection.cs
- ButtonBaseAdapter.cs
- ReferentialConstraint.cs
- TypeUtil.cs
- XPathNodeList.cs
- DataGridAddNewRow.cs
- FileSystemEventArgs.cs
- ResXResourceWriter.cs
- HwndMouseInputProvider.cs
- MachinePropertyVariants.cs
- StringBuilder.cs
- ErrorTableItemStyle.cs
- ReliableReplySessionChannel.cs
- WindowsSecurityToken.cs
- RestHandlerFactory.cs
- COM2Enum.cs
- ZipIOLocalFileHeader.cs
- SimpleType.cs
- VideoDrawing.cs
- XmlDataProvider.cs
- Transform3D.cs
- DropSource.cs
- Base64Encoder.cs
- RegexNode.cs
- XamlStyleSerializer.cs
- DataServiceHost.cs
- DecoderNLS.cs
- KeyFrames.cs
- Propagator.ExtentPlaceholderCreator.cs
- WebHttpDispatchOperationSelector.cs
- Marshal.cs
- BitmapEffectGeneralTransform.cs
- NetworkInformationException.cs
- SQLCharsStorage.cs
- TreeWalker.cs
- CancelEventArgs.cs