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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SequentialUshortCollection.cs
- CollectionChangeEventArgs.cs
- QueryCacheKey.cs
- XPathConvert.cs
- SettingsPropertyCollection.cs
- MenuItemBinding.cs
- WebPartDisplayMode.cs
- TTSEngineTypes.cs
- RuntimeCompatibilityAttribute.cs
- ValueUnavailableException.cs
- TypeDescriptionProvider.cs
- DataTransferEventArgs.cs
- TextParaClient.cs
- MissingMemberException.cs
- ImmComposition.cs
- CodeBlockBuilder.cs
- HiddenField.cs
- EnumerableRowCollection.cs
- InvalidateEvent.cs
- CalendarTable.cs
- OdbcDataAdapter.cs
- ServiceModelTimeSpanValidator.cs
- EastAsianLunisolarCalendar.cs
- ComponentManagerBroker.cs
- TreeViewHitTestInfo.cs
- XmlDocumentFragment.cs
- Identity.cs
- SqlExpander.cs
- COM2EnumConverter.cs
- QuestionEventArgs.cs
- SettingsAttributes.cs
- PrintDialogException.cs
- SettingsProperty.cs
- AttributeQuery.cs
- DataConnectionHelper.cs
- LinqDataView.cs
- ArcSegment.cs
- SchemaDeclBase.cs
- JoinSymbol.cs
- ParsedAttributeCollection.cs
- PkcsMisc.cs
- UnionExpr.cs
- DataSysAttribute.cs
- VerificationAttribute.cs
- ManagementNamedValueCollection.cs
- EdgeProfileValidation.cs
- TypeBrowser.xaml.cs
- ListViewUpdateEventArgs.cs
- Variable.cs
- AssociatedControlConverter.cs
- PlanCompiler.cs
- XmlUrlResolver.cs
- ExpandCollapseProviderWrapper.cs
- Literal.cs
- ActiveDocumentEvent.cs
- PixelFormat.cs
- ApplyImportsAction.cs
- Command.cs
- ButtonBase.cs
- StringResourceManager.cs
- FormsAuthenticationConfiguration.cs
- ResourceIDHelper.cs
- Geometry.cs
- UrlMappingsModule.cs
- ThreadInterruptedException.cs
- SQLBinary.cs
- PackWebRequest.cs
- GridViewDeleteEventArgs.cs
- BaseComponentEditor.cs
- TextSelectionProcessor.cs
- TraceUtility.cs
- Function.cs
- CoreChannel.cs
- TraceHandler.cs
- List.cs
- AnimationClockResource.cs
- WindowsFormsSectionHandler.cs
- ActivationWorker.cs
- BoundsDrawingContextWalker.cs
- SchemaElementLookUpTable.cs
- UpdateException.cs
- DelayDesigner.cs
- TypeSchema.cs
- BStrWrapper.cs
- shaper.cs
- FormsIdentity.cs
- CompiledRegexRunner.cs
- DataBindingHandlerAttribute.cs
- MenuAutomationPeer.cs
- DoubleCollectionValueSerializer.cs
- DataControlField.cs
- ChannelSinkStacks.cs
- PresentationAppDomainManager.cs
- PartBasedPackageProperties.cs
- ItemsControl.cs
- RTTypeWrapper.cs
- CompilationUtil.cs
- BoundColumn.cs
- FormViewUpdateEventArgs.cs
- RowSpanVector.cs