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
- TableCellAutomationPeer.cs
- Mouse.cs
- JsonClassDataContract.cs
- RelatedView.cs
- DiagnosticTraceSource.cs
- NTAccount.cs
- StyleSheet.cs
- ImageKeyConverter.cs
- OverrideMode.cs
- CalendarDay.cs
- DecodeHelper.cs
- Transaction.cs
- DesignerAttribute.cs
- SymbolEqualComparer.cs
- XmlMapping.cs
- WindowsIdentity.cs
- GenericsInstances.cs
- SQLBinaryStorage.cs
- RenderCapability.cs
- Padding.cs
- SoapIgnoreAttribute.cs
- PreloadHost.cs
- _BaseOverlappedAsyncResult.cs
- RegionInfo.cs
- UnmanagedHandle.cs
- EUCJPEncoding.cs
- OdbcPermission.cs
- DBConnection.cs
- ItemMap.cs
- SiteMapHierarchicalDataSourceView.cs
- DataGridViewTopRowAccessibleObject.cs
- Literal.cs
- ToolStripItem.cs
- AspNetRouteServiceHttpHandler.cs
- LogExtentCollection.cs
- X509UI.cs
- GifBitmapEncoder.cs
- ClientOptions.cs
- HtmlFormWrapper.cs
- SqlSelectStatement.cs
- NoClickablePointException.cs
- ListViewItemSelectionChangedEvent.cs
- AbstractSvcMapFileLoader.cs
- DBSqlParserColumnCollection.cs
- TextDecorationCollection.cs
- WpfPayload.cs
- PathFigureCollectionConverter.cs
- SerializationInfo.cs
- RequestCacheValidator.cs
- OrthographicCamera.cs
- CompareValidator.cs
- NamedPipeTransportManager.cs
- TreeView.cs
- ProtocolImporter.cs
- DecimalConstantAttribute.cs
- SubMenuStyle.cs
- Compensation.cs
- HashHelper.cs
- TypeKeyValue.cs
- SiteMapDataSourceView.cs
- StrokeCollectionConverter.cs
- DataObjectFieldAttribute.cs
- xamlnodes.cs
- ZeroOpNode.cs
- Point3DIndependentAnimationStorage.cs
- ReferencedAssembly.cs
- CancelEventArgs.cs
- HelpProvider.cs
- SafeFindHandle.cs
- SchemaObjectWriter.cs
- WaitingCursor.cs
- TextServicesDisplayAttribute.cs
- RegisteredHiddenField.cs
- infer.cs
- DocumentApplication.cs
- ConstructorNeedsTagAttribute.cs
- IImplicitResourceProvider.cs
- SelectedDatesCollection.cs
- WpfPayload.cs
- AmbiguousMatchException.cs
- AdornerLayer.cs
- PeerTransportBindingElement.cs
- DataControlFieldCollection.cs
- PreProcessInputEventArgs.cs
- FeatureAttribute.cs
- WebControlToolBoxItem.cs
- CodePageEncoding.cs
- TraceRecord.cs
- StrokeDescriptor.cs
- FixUp.cs
- LocalServiceSecuritySettingsElement.cs
- TypeSystem.cs
- DiscoveryDocumentSearchPattern.cs
- MemoryStream.cs
- EntityClientCacheEntry.cs
- MissingFieldException.cs
- EntityUtil.cs
- HttpCapabilitiesSectionHandler.cs
- AutomationElement.cs
- PassportAuthentication.cs