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
- XmlEventCache.cs
- AppSettingsExpressionBuilder.cs
- TreeNodeStyleCollection.cs
- ExceptionUtil.cs
- ExpandCollapseProviderWrapper.cs
- Header.cs
- SoapSchemaMember.cs
- ObjectListItemCollection.cs
- LineGeometry.cs
- ConsoleKeyInfo.cs
- TextTreeTextBlock.cs
- VerificationException.cs
- AtomServiceDocumentSerializer.cs
- UpdateTranslator.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SafeCryptoHandles.cs
- DataTableReader.cs
- FixedSOMLineRanges.cs
- BaseInfoTable.cs
- AssemblyBuilder.cs
- ZipArchive.cs
- CodeMethodReturnStatement.cs
- ClientSettingsSection.cs
- OperatingSystemVersionCheck.cs
- DataBindingList.cs
- ToolStripContentPanelRenderEventArgs.cs
- ReadOnlyCollection.cs
- oledbmetadatacollectionnames.cs
- ChannelSinkStacks.cs
- SByteStorage.cs
- TokenizerHelper.cs
- TextPattern.cs
- Debugger.cs
- ExternalException.cs
- ObjectRef.cs
- ExpressionPrinter.cs
- ButtonStandardAdapter.cs
- NativeCompoundFileAPIs.cs
- QilChoice.cs
- CheckBoxField.cs
- SQlBooleanStorage.cs
- DocumentScope.cs
- GeometryDrawing.cs
- SynchronousChannelMergeEnumerator.cs
- SourceElementsCollection.cs
- DataGridDetailsPresenter.cs
- ButtonChrome.cs
- XmlSchemaParticle.cs
- OdbcParameter.cs
- TableParaClient.cs
- MemoryMappedFileSecurity.cs
- ArrayWithOffset.cs
- WebConfigurationHost.cs
- MethodCallConverter.cs
- SerializationObjectManager.cs
- TemplateEditingService.cs
- CultureTable.cs
- LinqDataSourceView.cs
- SmiSettersStream.cs
- RoutingUtilities.cs
- Main.cs
- BaseTemplateParser.cs
- _AuthenticationState.cs
- TextFormatterImp.cs
- CompressStream.cs
- DiscriminatorMap.cs
- ManagementObjectCollection.cs
- BinaryFormatterSinks.cs
- _HelperAsyncResults.cs
- SmiContextFactory.cs
- ISAPIApplicationHost.cs
- FixedSOMTableCell.cs
- CompositeActivityMarkupSerializer.cs
- Helper.cs
- EarlyBoundInfo.cs
- SafeProcessHandle.cs
- DependencyPropertyValueSerializer.cs
- ConnectionStringsSection.cs
- ErrorsHelper.cs
- FontFamily.cs
- CfgRule.cs
- SqlFunctionAttribute.cs
- Pen.cs
- DataGridViewRowEventArgs.cs
- BookmarkEventArgs.cs
- MimeFormImporter.cs
- LinqDataSource.cs
- ConditionalDesigner.cs
- WebPartDescription.cs
- XmlAttributeCollection.cs
- TraceRecord.cs
- StreamGeometryContext.cs
- DynamicPropertyHolder.cs
- Deserializer.cs
- DbInsertCommandTree.cs
- MemberPath.cs
- ToolStripItemDataObject.cs
- DataRow.cs
- Error.cs
- RequestBringIntoViewEventArgs.cs