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
- UTF8Encoding.cs
- WindowsFormsHelpers.cs
- LinearGradientBrush.cs
- SspiSafeHandles.cs
- DataServiceCollectionOfT.cs
- ReadOnlyDataSource.cs
- ColumnMap.cs
- ContentElement.cs
- XmlEnumAttribute.cs
- Missing.cs
- MetabaseSettingsIis7.cs
- TemplateBindingExtensionConverter.cs
- ActiveXMessageFormatter.cs
- ItemList.cs
- DescriptionAttribute.cs
- DockAndAnchorLayout.cs
- TokenBasedSet.cs
- ExtensionSimplifierMarkupObject.cs
- LongValidatorAttribute.cs
- TreeNodeMouseHoverEvent.cs
- MetafileHeaderWmf.cs
- ObjectConverter.cs
- DateTimeSerializationSection.cs
- JumpList.cs
- VirtualDirectoryMapping.cs
- ApplicationId.cs
- DesignerOptionService.cs
- ListChangedEventArgs.cs
- mansign.cs
- MarkupCompilePass2.cs
- Highlights.cs
- OutputWindow.cs
- ConfigXmlWhitespace.cs
- FactoryMaker.cs
- KeyInterop.cs
- AddingNewEventArgs.cs
- ToolStripSystemRenderer.cs
- PersianCalendar.cs
- UntypedNullExpression.cs
- PathSegment.cs
- FixedHighlight.cs
- SystemPens.cs
- UIServiceHelper.cs
- ConstructorNeedsTagAttribute.cs
- DivideByZeroException.cs
- XmlIterators.cs
- BitmapEffectGeneralTransform.cs
- MembershipUser.cs
- ImageCreator.cs
- WaitHandle.cs
- StylusPointPropertyUnit.cs
- Win32.cs
- ExpandCollapseProviderWrapper.cs
- UTF32Encoding.cs
- SystemTcpStatistics.cs
- OverrideMode.cs
- HandlerFactoryCache.cs
- DefaultBinder.cs
- RegexReplacement.cs
- DataGridView.cs
- CompilerLocalReference.cs
- ProxyRpc.cs
- PropertyPathWorker.cs
- FaultContext.cs
- DateTimeUtil.cs
- RemoteArgument.cs
- FormDocumentDesigner.cs
- ActivityInfo.cs
- OleDbParameterCollection.cs
- OptimizedTemplateContent.cs
- ContextMenuService.cs
- SystemIdentity.cs
- ChtmlSelectionListAdapter.cs
- ImageKeyConverter.cs
- CompiledRegexRunner.cs
- WmpBitmapEncoder.cs
- CommandField.cs
- QueryModel.cs
- Dynamic.cs
- UnknownBitmapDecoder.cs
- ActiveDesignSurfaceEvent.cs
- PolyBezierSegment.cs
- DataListDesigner.cs
- DaylightTime.cs
- PlaceHolder.cs
- ViewDesigner.cs
- PassportAuthenticationEventArgs.cs
- UpdateCompiler.cs
- EncodingInfo.cs
- Selection.cs
- WebPartManager.cs
- HttpRawResponse.cs
- EnumerableWrapperWeakToStrong.cs
- XamlStyleSerializer.cs
- XmlSchemaSimpleContent.cs
- VisualTreeUtils.cs
- ServiceHttpHandlerFactory.cs
- Not.cs
- HtmlInputButton.cs
- ProfileSettings.cs