Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / Diagnostics / Switch.cs / 1305376 / Switch.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Diagnostics { using System; using System.Security; using System.Security.Permissions; using System.Threading; using System.Runtime.InteropServices; using Microsoft.Win32; using System.Collections; using System.Collections.Generic; using System.Collections.Specialized; using System.Globalization; using System.Configuration; using System.Xml.Serialization; ////// public abstract class Switch { private SwitchElementsCollection switchSettings; private string description; private string displayName; private int switchSetting = 0; private bool initialized = false; private bool initializing = false; private string switchValueString = String.Empty; private StringDictionary attributes; private string defaultValue; private object m_intializedLock; private static ListProvides an ///base class to /// create new debugging and tracing switches. switches = new List (); private static int s_LastCollectionCount; private object IntializedLock { get { if (m_intializedLock == null) { Object o = new Object(); Interlocked.CompareExchange
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripContentPanelRenderEventArgs.cs
- PrivilegedConfigurationManager.cs
- COM2AboutBoxPropertyDescriptor.cs
- SpeakInfo.cs
- LocatorGroup.cs
- XhtmlTextWriter.cs
- Misc.cs
- ThreadStaticAttribute.cs
- RepeaterCommandEventArgs.cs
- PolyQuadraticBezierSegment.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- MetabaseSettingsIis7.cs
- ProxyGenerator.cs
- versioninfo.cs
- MsmqReceiveParameters.cs
- Trace.cs
- ImageButton.cs
- OleDbDataAdapter.cs
- ParsedAttributeCollection.cs
- TableChangeProcessor.cs
- CustomErrorsSection.cs
- HelpInfo.cs
- ToolStripSettings.cs
- Highlights.cs
- LayoutTable.cs
- Attributes.cs
- MdiWindowListItemConverter.cs
- FormsAuthenticationUserCollection.cs
- MachinePropertyVariants.cs
- DelegateSerializationHolder.cs
- SamlAttribute.cs
- IChannel.cs
- IsolatedStorageFilePermission.cs
- TypeConverterAttribute.cs
- _DisconnectOverlappedAsyncResult.cs
- ArraySubsetEnumerator.cs
- XmlNodeList.cs
- brushes.cs
- ApplicationTrust.cs
- MessageQueueTransaction.cs
- ConnectionStringsSection.cs
- CodeMethodReturnStatement.cs
- safex509handles.cs
- Message.cs
- HandlerWithFactory.cs
- Compiler.cs
- safex509handles.cs
- AspNetPartialTrustHelpers.cs
- BufferModesCollection.cs
- DocumentPaginator.cs
- GridViewRowEventArgs.cs
- WebReferencesBuildProvider.cs
- _emptywebproxy.cs
- HostExecutionContextManager.cs
- StyleHelper.cs
- PaperSource.cs
- XmlWellformedWriter.cs
- PopOutPanel.cs
- PtsHost.cs
- ContentFilePart.cs
- QueryOpcode.cs
- ImageFormatConverter.cs
- MasterPageCodeDomTreeGenerator.cs
- xmlsaver.cs
- RequiredFieldValidator.cs
- UriTemplateHelpers.cs
- XslVisitor.cs
- PictureBox.cs
- HandlerBase.cs
- PolicyLevel.cs
- GetPageNumberCompletedEventArgs.cs
- XmlTypeAttribute.cs
- ImmutableCommunicationTimeouts.cs
- AuthenticatingEventArgs.cs
- XamlTreeBuilder.cs
- NamedElement.cs
- ProjectionCamera.cs
- SafeRightsManagementEnvironmentHandle.cs
- CacheHelper.cs
- MessageSecurityOverMsmq.cs
- TaiwanCalendar.cs
- InvalidWorkflowException.cs
- contentDescriptor.cs
- SortDescription.cs
- UIElementAutomationPeer.cs
- Rect3D.cs
- MdiWindowListItemConverter.cs
- DirectionalLight.cs
- StringExpressionSet.cs
- BitmapEffect.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- ChameleonKey.cs
- AutomationPatternInfo.cs
- DependencyObject.cs
- XmlSchemaResource.cs
- XmlSchemaValidator.cs
- Tool.cs
- Timeline.cs
- HostedBindingBehavior.cs
- CachedPathData.cs