Code:
/ DotNET / DotNET / 8.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
- DictionaryBase.cs
- DllNotFoundException.cs
- TableRowCollection.cs
- ClientConfigurationHost.cs
- DataService.cs
- ToolStripItemGlyph.cs
- WebRequestModulesSection.cs
- Model3DGroup.cs
- ProxyManager.cs
- RtType.cs
- SmtpFailedRecipientsException.cs
- CharConverter.cs
- SyndicationDeserializer.cs
- CodeCommentStatementCollection.cs
- QueryTask.cs
- CommonDialog.cs
- InputLanguage.cs
- SqlUserDefinedAggregateAttribute.cs
- SoapIncludeAttribute.cs
- EntityDataSourceUtil.cs
- LinearKeyFrames.cs
- TableLayoutSettingsTypeConverter.cs
- HTMLTextWriter.cs
- Soap.cs
- CqlQuery.cs
- CdpEqualityComparer.cs
- FocusTracker.cs
- XXXOnTypeBuilderInstantiation.cs
- BooleanExpr.cs
- Screen.cs
- QueryableDataSourceView.cs
- DetailsViewCommandEventArgs.cs
- SmtpLoginAuthenticationModule.cs
- IdentifierCollection.cs
- Int32.cs
- IdnElement.cs
- Vector3DConverter.cs
- ProfileService.cs
- TemplateBindingExpression.cs
- ObfuscateAssemblyAttribute.cs
- OracleException.cs
- TableLayoutStyleCollection.cs
- Variant.cs
- ISAPIWorkerRequest.cs
- BindingUtils.cs
- ServiceDeploymentInfo.cs
- Int64AnimationUsingKeyFrames.cs
- XmlSchemaAttribute.cs
- ISessionStateStore.cs
- CodeAccessPermission.cs
- Aggregates.cs
- ConvertersCollection.cs
- TransmissionStrategy.cs
- HtmlInputButton.cs
- DataPager.cs
- DropShadowBitmapEffect.cs
- Rules.cs
- ObjectQueryExecutionPlan.cs
- GPPOINT.cs
- SHA1CryptoServiceProvider.cs
- FormsIdentity.cs
- QuaternionIndependentAnimationStorage.cs
- CharEnumerator.cs
- UnsafeNativeMethods.cs
- ContainerParagraph.cs
- TextEvent.cs
- Assert.cs
- ClientOptions.cs
- DiscreteKeyFrames.cs
- DataGridRowHeaderAutomationPeer.cs
- Single.cs
- GradientStopCollection.cs
- TraceFilter.cs
- ExpressionCopier.cs
- MatchAttribute.cs
- SafeBitVector32.cs
- FigureParaClient.cs
- Logging.cs
- DataPointer.cs
- CompiledQuery.cs
- DuplicateDetector.cs
- BuildResultCache.cs
- MiniAssembly.cs
- ByteStreamMessageEncodingElement.cs
- ObjectCacheHost.cs
- GenericEnumerator.cs
- TextAction.cs
- Rule.cs
- NamespaceList.cs
- DataMember.cs
- FieldTemplateFactory.cs
- safex509handles.cs
- SecurityException.cs
- CacheChildrenQuery.cs
- XmlMembersMapping.cs
- PropertyCondition.cs
- StreamWriter.cs
- TemplateManager.cs
- EditableRegion.cs
- LinqDataSourceValidationException.cs