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
- EditorPart.cs
- MouseButton.cs
- RowsCopiedEventArgs.cs
- OdbcConnectionStringbuilder.cs
- SizeFConverter.cs
- PeerNearMe.cs
- XpsInterleavingPolicy.cs
- DataGridViewCheckBoxCell.cs
- DataGridPageChangedEventArgs.cs
- ValidatingReaderNodeData.cs
- X509RecipientCertificateClientElement.cs
- Size3D.cs
- SHA512.cs
- NonBatchDirectoryCompiler.cs
- ResourceBinder.cs
- FontNamesConverter.cs
- ToolTipService.cs
- WebBrowserEvent.cs
- ImageClickEventArgs.cs
- QueryContinueDragEventArgs.cs
- ExpressionCopier.cs
- PDBReader.cs
- CodeSnippetExpression.cs
- DataGridViewCellMouseEventArgs.cs
- EnvelopedPkcs7.cs
- DBBindings.cs
- VectorCollectionValueSerializer.cs
- ComboBoxRenderer.cs
- XPathChildIterator.cs
- SharedPerformanceCounter.cs
- HtmlInputText.cs
- CompatibleIComparer.cs
- Application.cs
- DataSourceCache.cs
- XmlCollation.cs
- ColorKeyFrameCollection.cs
- ControlBuilder.cs
- CommonGetThemePartSize.cs
- DefinitionUpdate.cs
- WebPartConnectionsConfigureVerb.cs
- EntityFunctions.cs
- TagElement.cs
- CfgParser.cs
- PropertyGridCommands.cs
- Focus.cs
- TogglePattern.cs
- SrgsElement.cs
- Crc32Helper.cs
- FileUpload.cs
- ExpressionBindingCollection.cs
- ModuleBuilderData.cs
- ParameterRetriever.cs
- SchemaMapping.cs
- EventLogPermission.cs
- StaticSiteMapProvider.cs
- PointConverter.cs
- ComboBoxRenderer.cs
- StylusCaptureWithinProperty.cs
- AssemblyUtil.cs
- MDIControlStrip.cs
- FlowchartStart.xaml.cs
- SerializerWriterEventHandlers.cs
- XhtmlConformanceSection.cs
- EndpointAddress10.cs
- MSG.cs
- Identity.cs
- DataGridPagerStyle.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- StringUtil.cs
- XPathException.cs
- DesignerToolboxInfo.cs
- SessionStateModule.cs
- DataKey.cs
- HandleCollector.cs
- WebScriptEndpoint.cs
- AttachedPropertyBrowsableAttribute.cs
- QueueAccessMode.cs
- DataRowView.cs
- FileDetails.cs
- QilTernary.cs
- __Filters.cs
- Tuple.cs
- SerialPort.cs
- Stack.cs
- BuildProvidersCompiler.cs
- LiteralControl.cs
- UIElementIsland.cs
- ListViewUpdateEventArgs.cs
- DataBindingExpressionBuilder.cs
- SemaphoreSecurity.cs
- PreviewKeyDownEventArgs.cs
- NativeMethodsCLR.cs
- SslStream.cs
- QuaternionAnimationUsingKeyFrames.cs
- ParallelTimeline.cs
- DataError.cs
- DataServiceQueryException.cs
- TiffBitmapDecoder.cs
- SchemaName.cs
- FixedSOMElement.cs