Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / CompMod / System / ComponentModel / CompModSwitches.cs / 1 / 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; } } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventListener.cs
- VirtualizedItemPattern.cs
- ConfigurationElement.cs
- ScrollData.cs
- StackSpiller.Temps.cs
- ThreadStaticAttribute.cs
- WebAdminConfigurationHelper.cs
- LocalizabilityAttribute.cs
- TemplateControlParser.cs
- XmlSchemaAnyAttribute.cs
- CreateDataSourceDialog.cs
- Pipe.cs
- Help.cs
- DoubleAnimation.cs
- ServiceOperationParameter.cs
- StatusBarItem.cs
- Visual3D.cs
- KnownColorTable.cs
- _emptywebproxy.cs
- UpdatableGenericsFeature.cs
- XmlTypeMapping.cs
- WebPartConnectionsCancelEventArgs.cs
- SystemIcmpV4Statistics.cs
- ImplicitInputBrush.cs
- Events.cs
- DbMetaDataColumnNames.cs
- PrinterSettings.cs
- DynamicControlParameter.cs
- ResourceSet.cs
- Geometry.cs
- HMACMD5.cs
- ScriptDescriptor.cs
- ResourceReferenceKeyNotFoundException.cs
- WpfKnownMemberInvoker.cs
- DispatcherFrame.cs
- ChannelDemuxer.cs
- RtfToXamlReader.cs
- _CookieModule.cs
- BamlLocalizer.cs
- DbDataReader.cs
- KeyFrames.cs
- GetWinFXPath.cs
- LogicalExpressionEditor.cs
- EmptyQuery.cs
- CheckableControlBaseAdapter.cs
- SymbolTable.cs
- ExecutedRoutedEventArgs.cs
- RichTextBox.cs
- HyperLinkField.cs
- GraphicsContainer.cs
- StateMachineTimers.cs
- TextTreePropertyUndoUnit.cs
- ToolStripContentPanel.cs
- HashHelpers.cs
- CornerRadius.cs
- TrackingMemoryStream.cs
- Stream.cs
- DataGridViewCellLinkedList.cs
- Timeline.cs
- BuildResult.cs
- CommandField.cs
- DataGridCellAutomationPeer.cs
- SourceChangedEventArgs.cs
- LongAverageAggregationOperator.cs
- TypeDelegator.cs
- ValueProviderWrapper.cs
- VarRefManager.cs
- SoapAttributes.cs
- SafeNativeHandle.cs
- SrgsGrammarCompiler.cs
- ProcessModelInfo.cs
- Utils.cs
- BasicViewGenerator.cs
- Method.cs
- LogSwitch.cs
- ActivityExecutionWorkItem.cs
- AlternateView.cs
- HandlerWithFactory.cs
- ManagementPath.cs
- GridItemPatternIdentifiers.cs
- ExpressionNormalizer.cs
- UnsafeNativeMethods.cs
- CategoryGridEntry.cs
- RootBuilder.cs
- JavaScriptSerializer.cs
- Message.cs
- PtsContext.cs
- CallId.cs
- CaseStatementProjectedSlot.cs
- XamlPointCollectionSerializer.cs
- DbDataAdapter.cs
- BindingList.cs
- ChangeProcessor.cs
- ClientEventManager.cs
- ByteStorage.cs
- TextServicesCompartment.cs
- DefaultTextStore.cs
- IgnoreSectionHandler.cs
- WeakReference.cs
- SafeThreadHandle.cs