Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / CompMod / System / ComponentModel / CompModSwitches.cs / 1305376 / CompModSwitches.cs
//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//-----------------------------------------------------------------------------
namespace System.ComponentModel {
using System.Configuration.Assemblies;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Runtime.Remoting;
using System.Runtime.Serialization.Formatters;
using System.Security.Permissions;
using System.Threading;
///
[HostProtection(SharedState = true)]
internal static class CompModSwitches
{
private static BooleanSwitch commonDesignerServices;
private static TraceSwitch eventLog;
public static BooleanSwitch CommonDesignerServices {
get {
if (commonDesignerServices == null) {
commonDesignerServices = new BooleanSwitch("CommonDesignerServices", "Assert if any common designer service is not found.");
}
return commonDesignerServices;
}
}
public static TraceSwitch EventLog {
get {
if (eventLog == null) {
eventLog = new TraceSwitch("EventLog", "Enable tracing for the EventLog component.");
}
return eventLog;
}
}
}
}
// 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
- MemberDescriptor.cs
- AssociationType.cs
- UpdateManifestForBrowserApplication.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- StyleModeStack.cs
- TemplateControlBuildProvider.cs
- ForEachDesigner.xaml.cs
- FormViewPageEventArgs.cs
- TableItemStyle.cs
- DispatcherHooks.cs
- LeftCellWrapper.cs
- HttpModuleAction.cs
- BitmapVisualManager.cs
- UnmanagedHandle.cs
- TreeWalkHelper.cs
- SqlUserDefinedAggregateAttribute.cs
- LinkedList.cs
- SafeWaitHandle.cs
- DocumentAutomationPeer.cs
- DefaultTraceListener.cs
- TypeHelper.cs
- FilterRepeater.cs
- HttpHandlersSection.cs
- ImagingCache.cs
- SqlResolver.cs
- ApplicationTrust.cs
- XmlMemberMapping.cs
- SmtpSection.cs
- RegisteredDisposeScript.cs
- MgmtResManager.cs
- Calendar.cs
- XmlReaderDelegator.cs
- SHA384Managed.cs
- WebPartUserCapability.cs
- XPathEmptyIterator.cs
- FormatConvertedBitmap.cs
- _NetworkingPerfCounters.cs
- BulletedListEventArgs.cs
- CheckBoxBaseAdapter.cs
- WaitHandleCannotBeOpenedException.cs
- HWStack.cs
- RegexTree.cs
- FillErrorEventArgs.cs
- CFGGrammar.cs
- ScriptControl.cs
- GPPOINT.cs
- ChangeBlockUndoRecord.cs
- UrlMappingCollection.cs
- TemplatedEditableDesignerRegion.cs
- MessageEncoderFactory.cs
- Directory.cs
- OleDbDataAdapter.cs
- PersistenceException.cs
- Membership.cs
- InternalRelationshipCollection.cs
- WindowsContainer.cs
- UnsignedPublishLicense.cs
- XmlTextReaderImpl.cs
- XmlFormatWriterGenerator.cs
- ComponentEvent.cs
- dtdvalidator.cs
- SRGSCompiler.cs
- XmlSchemaNotation.cs
- GenericRootAutomationPeer.cs
- ParamArrayAttribute.cs
- GiveFeedbackEventArgs.cs
- DateTimeUtil.cs
- QuadraticBezierSegment.cs
- ToolStripDropDownItem.cs
- TypeDescriptionProvider.cs
- ErrorTableItemStyle.cs
- BigInt.cs
- GenericNameHandler.cs
- HuffmanTree.cs
- AncillaryOps.cs
- ResXFileRef.cs
- BufferModesCollection.cs
- ReliabilityContractAttribute.cs
- SqlConnectionString.cs
- RadioButtonStandardAdapter.cs
- VisualBrush.cs
- InternalControlCollection.cs
- DrawingBrush.cs
- SourceInterpreter.cs
- IndicFontClient.cs
- Mutex.cs
- QuadraticEase.cs
- CodeCommentStatementCollection.cs
- HtmlObjectListAdapter.cs
- ByteArrayHelperWithString.cs
- StrongNameUtility.cs
- dataobject.cs
- SafeSecurityHelper.cs
- ToolStripArrowRenderEventArgs.cs
- EdmType.cs
- InputScopeNameConverter.cs
- QilName.cs
- MimeObjectFactory.cs
- SurrogateEncoder.cs
- SectionVisual.cs