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
- NativeCppClassAttribute.cs
- DurableRuntimeValidator.cs
- SystemEvents.cs
- SqlDataSourceTableQuery.cs
- MembershipSection.cs
- Label.cs
- EntitySqlQueryCacheKey.cs
- WindowsBrush.cs
- SQLMoneyStorage.cs
- SignatureToken.cs
- MaskInputRejectedEventArgs.cs
- SymDocumentType.cs
- InstanceLockedException.cs
- MetaTableHelper.cs
- XmlStreamStore.cs
- CodeRemoveEventStatement.cs
- MSHTMLHost.cs
- LayoutTableCell.cs
- CriticalExceptions.cs
- SafeRightsManagementPubHandle.cs
- oledbconnectionstring.cs
- ping.cs
- FormattedText.cs
- DiscardableAttribute.cs
- RelationshipType.cs
- SkewTransform.cs
- PackageRelationship.cs
- QilStrConcat.cs
- XmlDictionary.cs
- FixedSOMGroup.cs
- DoubleMinMaxAggregationOperator.cs
- ExpandSegmentCollection.cs
- AsnEncodedData.cs
- Adorner.cs
- AssociatedControlConverter.cs
- BitmapCacheBrush.cs
- ExtractedStateEntry.cs
- EditingCommands.cs
- NativeRecognizer.cs
- RuleElement.cs
- ObjectConverter.cs
- Transactions.cs
- ExpressionLexer.cs
- PublisherMembershipCondition.cs
- XmlCharCheckingReader.cs
- PrtTicket_Editor.cs
- SystemFonts.cs
- ReceiveContextCollection.cs
- AlignmentYValidation.cs
- WizardForm.cs
- GenericPrincipal.cs
- TableCellCollection.cs
- PassportIdentity.cs
- AbstractSvcMapFileLoader.cs
- StringComparer.cs
- ZipPackage.cs
- CrossContextChannel.cs
- ConstantExpression.cs
- ObjectHelper.cs
- ItemContainerPattern.cs
- DataServiceQueryException.cs
- GeneralTransform2DTo3D.cs
- SecurityDescriptor.cs
- DataColumnPropertyDescriptor.cs
- FilteredXmlReader.cs
- XmlMemberMapping.cs
- BooleanExpr.cs
- ConstraintStruct.cs
- NullRuntimeConfig.cs
- XmlReader.cs
- Point.cs
- MachineKeyConverter.cs
- CodeMemberProperty.cs
- ServiceModelSectionGroup.cs
- RegistryDataKey.cs
- FixedSOMPageElement.cs
- ResolvedKeyFrameEntry.cs
- ExpressionBindingsDialog.cs
- SafeViewOfFileHandle.cs
- Addressing.cs
- AuthenticationModuleElementCollection.cs
- RecordManager.cs
- SqlCommandSet.cs
- MergablePropertyAttribute.cs
- NullPackagingPolicy.cs
- TextEditorThreadLocalStore.cs
- RootBrowserWindow.cs
- TextEffect.cs
- MemberPath.cs
- DispatcherExceptionEventArgs.cs
- MemberDomainMap.cs
- DataGridViewTextBoxCell.cs
- NextPreviousPagerField.cs
- HttpCapabilitiesSectionHandler.cs
- WebPartsPersonalization.cs
- PathSegmentCollection.cs
- FrameAutomationPeer.cs
- mda.cs
- WrapperEqualityComparer.cs
- MimeMapping.cs