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
- XamlPointCollectionSerializer.cs
- ReadOnlyMetadataCollection.cs
- StoryFragments.cs
- RegionData.cs
- ConfigXmlAttribute.cs
- StrokeNodeOperations2.cs
- DataErrorValidationRule.cs
- UnsupportedPolicyOptionsException.cs
- CompModSwitches.cs
- RegistryConfigurationProvider.cs
- MetadataWorkspace.cs
- ApplicationServicesHostFactory.cs
- PersonalizationDictionary.cs
- TransformValueSerializer.cs
- AssemblyBuilder.cs
- CompilerParameters.cs
- TrustManager.cs
- COAUTHIDENTITY.cs
- TCEAdapterGenerator.cs
- TaskFormBase.cs
- RelationshipWrapper.cs
- HwndSourceParameters.cs
- RealProxy.cs
- RadioButtonPopupAdapter.cs
- SecurityKeyIdentifier.cs
- SimpleFieldTemplateUserControl.cs
- XmlAttributes.cs
- FileUtil.cs
- Normalization.cs
- WSDualHttpBindingCollectionElement.cs
- ScriptIgnoreAttribute.cs
- Misc.cs
- BulletedList.cs
- XmlQueryRuntime.cs
- StateManagedCollection.cs
- CancellationTokenRegistration.cs
- Int64Animation.cs
- StylusButtonEventArgs.cs
- DateTimeEditor.cs
- OleCmdHelper.cs
- CryptoKeySecurity.cs
- IisTraceListener.cs
- ObjectMemberMapping.cs
- DbProviderFactories.cs
- MetadataArtifactLoaderCompositeResource.cs
- AuthorizationRuleCollection.cs
- ListViewItemSelectionChangedEvent.cs
- DataListItemEventArgs.cs
- PersonalizationStateInfo.cs
- ClaimTypes.cs
- GlobalizationAssembly.cs
- TemplateKeyConverter.cs
- XmlTextReader.cs
- SafeSecurityHelper.cs
- LocalFileSettingsProvider.cs
- OutputChannelBinder.cs
- Encoder.cs
- XamlGridLengthSerializer.cs
- FileCodeGroup.cs
- SoapProtocolReflector.cs
- RenderData.cs
- PolyQuadraticBezierSegment.cs
- GetWinFXPath.cs
- RandomNumberGenerator.cs
- BufferAllocator.cs
- MenuCommandService.cs
- XmlnsDefinitionAttribute.cs
- RightNameExpirationInfoPair.cs
- AuthenticationManager.cs
- DataTableNameHandler.cs
- Walker.cs
- EtwTrace.cs
- CancellationHandlerDesigner.cs
- SiteMap.cs
- Exception.cs
- XamlToRtfParser.cs
- BamlRecordReader.cs
- CookieHandler.cs
- MethodAccessException.cs
- TypeLibConverter.cs
- UserControlDesigner.cs
- SqlBooleanizer.cs
- UrlMapping.cs
- SafeCryptoHandles.cs
- _ProxyRegBlob.cs
- LoginView.cs
- OrderPreservingPipeliningSpoolingTask.cs
- XComponentModel.cs
- ClientUrlResolverWrapper.cs
- EventLogPermissionAttribute.cs
- NullableBoolConverter.cs
- ThumbAutomationPeer.cs
- WeakHashtable.cs
- InvalidWMPVersionException.cs
- AssociationType.cs
- SmiTypedGetterSetter.cs
- BuildManager.cs
- Button.cs
- EntityTransaction.cs
- DataBoundLiteralControl.cs