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
- TraceSwitch.cs
- IODescriptionAttribute.cs
- PageContentCollection.cs
- GeneratedCodeAttribute.cs
- HttpResponseMessageProperty.cs
- ColorDialog.cs
- SerializationEventsCache.cs
- ResourcePermissionBaseEntry.cs
- ZipFileInfo.cs
- SchemaElementDecl.cs
- FixedSOMTableCell.cs
- DbProviderConfigurationHandler.cs
- XmlSchemaDocumentation.cs
- ParameterCollection.cs
- UndoUnit.cs
- DeviceContext2.cs
- SrgsSemanticInterpretationTag.cs
- SchemaName.cs
- CodeSnippetCompileUnit.cs
- MemberHolder.cs
- SystemWebCachingSectionGroup.cs
- KeyFrames.cs
- SoapBinding.cs
- DispatcherExceptionFilterEventArgs.cs
- ComPlusInstanceProvider.cs
- BufferModeSettings.cs
- AnnotationMap.cs
- ListViewTableCell.cs
- ToolTipAutomationPeer.cs
- AlphaSortedEnumConverter.cs
- XmlAnyElementAttributes.cs
- FileInfo.cs
- _NTAuthentication.cs
- MouseBinding.cs
- Screen.cs
- KeysConverter.cs
- TrackingProfileSerializer.cs
- DataControlCommands.cs
- HelpFileFileNameEditor.cs
- XPathNodeIterator.cs
- IxmlLineInfo.cs
- DbConnectionPoolGroupProviderInfo.cs
- SourceFileBuildProvider.cs
- ListBoxAutomationPeer.cs
- GeometryModel3D.cs
- XPathArrayIterator.cs
- RegularExpressionValidator.cs
- XmlWriterSettings.cs
- EventNotify.cs
- ThreadWorkerController.cs
- MergeLocalizationDirectives.cs
- AttributeEmitter.cs
- SystemColors.cs
- AssemblyInfo.cs
- SmiRecordBuffer.cs
- ObjectCloneHelper.cs
- BlobPersonalizationState.cs
- OperationInfo.cs
- WindowsListBox.cs
- SecurityManager.cs
- DataServiceQueryOfT.cs
- ToolboxItemCollection.cs
- Types.cs
- PrintPreviewGraphics.cs
- CompressedStack.cs
- XmlILModule.cs
- ConnectionString.cs
- RoleGroupCollectionEditor.cs
- EdmEntityTypeAttribute.cs
- dtdvalidator.cs
- TrackingProfileCache.cs
- SerializationHelper.cs
- PointLight.cs
- FacetEnabledSchemaElement.cs
- EntityTypeEmitter.cs
- FilteredAttributeCollection.cs
- TreeViewAutomationPeer.cs
- Pen.cs
- AstTree.cs
- ComplexObject.cs
- ChtmlFormAdapter.cs
- DesignerCalendarAdapter.cs
- AssemblyNameProxy.cs
- DataSetUtil.cs
- XPathQueryGenerator.cs
- CommandField.cs
- Point3DCollection.cs
- AnonymousIdentificationModule.cs
- GenericsNotImplementedException.cs
- ColumnPropertiesGroup.cs
- ToolStripDropDownClosedEventArgs.cs
- CrossContextChannel.cs
- DataGrid.cs
- PermissionSet.cs
- ItemCheckedEvent.cs
- Int16AnimationBase.cs
- PingOptions.cs
- TdsParserStateObject.cs
- InvalidDocumentContentsException.cs
- StandardToolWindows.cs