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
- XmlSerializerNamespaces.cs
- Command.cs
- BooleanExpr.cs
- SID.cs
- Marshal.cs
- FunctionQuery.cs
- IISUnsafeMethods.cs
- X509Certificate2.cs
- DataGridHyperlinkColumn.cs
- EnumCodeDomSerializer.cs
- Resources.Designer.cs
- QueryCursorEventArgs.cs
- Pen.cs
- Parameter.cs
- ComponentRenameEvent.cs
- WsatExtendedInformation.cs
- RoutedUICommand.cs
- InputLanguageEventArgs.cs
- CommonDialog.cs
- Point4D.cs
- HttpPostLocalhostServerProtocol.cs
- TakeQueryOptionExpression.cs
- XmlSchemas.cs
- IssuedSecurityTokenParameters.cs
- HttpResponse.cs
- TextAnchor.cs
- SessionStateModule.cs
- InkCanvas.cs
- DifferencingCollection.cs
- CodeGroup.cs
- AspNetHostingPermission.cs
- DataFormats.cs
- OleDbConnectionInternal.cs
- KnownTypeAttribute.cs
- ZeroOpNode.cs
- TreeView.cs
- HtmlProps.cs
- DependencyPropertyConverter.cs
- AnnotationResourceChangedEventArgs.cs
- InternalBase.cs
- AnimatedTypeHelpers.cs
- ResourceReferenceExpression.cs
- DeferredReference.cs
- WindowsMenu.cs
- XamlSerializerUtil.cs
- RightsManagementSuppressedStream.cs
- TemplateComponentConnector.cs
- TypeSemantics.cs
- Stacktrace.cs
- ListBoxChrome.cs
- ChildChangedEventArgs.cs
- GeneratedView.cs
- XmlChildNodes.cs
- WinFormsUtils.cs
- UdpChannelListener.cs
- OrderedDictionary.cs
- WebEventTraceProvider.cs
- RoleManagerSection.cs
- COAUTHINFO.cs
- BinaryConverter.cs
- TableColumnCollection.cs
- VisualStyleInformation.cs
- ArrayExtension.cs
- FixedFlowMap.cs
- GridViewDeleteEventArgs.cs
- KeyTime.cs
- ObjectManager.cs
- FieldToken.cs
- DependencyPropertyHelper.cs
- HScrollProperties.cs
- PolicyDesigner.cs
- TextParagraph.cs
- ReflectionServiceProvider.cs
- HtmlImage.cs
- SecurityChannelListener.cs
- ViewBox.cs
- BitmapCache.cs
- RunWorkerCompletedEventArgs.cs
- CuspData.cs
- ErrorRuntimeConfig.cs
- StyleConverter.cs
- EditorPart.cs
- TemplateControlCodeDomTreeGenerator.cs
- ProxyElement.cs
- IDataContractSurrogate.cs
- NullableBoolConverter.cs
- RequiredAttributeAttribute.cs
- ObjectSet.cs
- AutoCompleteStringCollection.cs
- ChildDocumentBlock.cs
- ContentElement.cs
- DetailsViewDeleteEventArgs.cs
- SHA1.cs
- SplitterPanel.cs
- PhysicalFontFamily.cs
- OverflowException.cs
- LinqDataSource.cs
- FolderBrowserDialogDesigner.cs
- DataBinder.cs
- CharacterMetricsDictionary.cs