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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SerializationSectionGroup.cs
- FloatMinMaxAggregationOperator.cs
- ProcessStartInfo.cs
- Ray3DHitTestResult.cs
- DataGridItemEventArgs.cs
- LayoutTable.cs
- ConnectionProviderAttribute.cs
- AllowedAudienceUriElementCollection.cs
- KeyedCollection.cs
- StyleSelector.cs
- Fonts.cs
- WindowHideOrCloseTracker.cs
- SemaphoreFullException.cs
- ParagraphResult.cs
- AssemblyName.cs
- TableLayoutRowStyleCollection.cs
- UncommonField.cs
- DesignerActionHeaderItem.cs
- ReliabilityContractAttribute.cs
- ViewGenerator.cs
- CreatingCookieEventArgs.cs
- CurrencyManager.cs
- StatusStrip.cs
- SoapEnvelopeProcessingElement.cs
- ChannelReliableSession.cs
- MailDefinition.cs
- DataGridViewCheckBoxColumn.cs
- ProvidePropertyAttribute.cs
- DataBinder.cs
- InstanceData.cs
- ReaderWriterLockWrapper.cs
- Currency.cs
- MatcherBuilder.cs
- InfoCardListRequest.cs
- UIElementHelper.cs
- ObjectDataSource.cs
- VisualStyleRenderer.cs
- SamlAuthorityBinding.cs
- LogicalExpr.cs
- EnglishPluralizationService.cs
- ListViewDeletedEventArgs.cs
- ArgumentsParser.cs
- DbParameterCollectionHelper.cs
- MenuItemBindingCollection.cs
- OracleTimeSpan.cs
- DataTableReaderListener.cs
- BaseTreeIterator.cs
- PolyBezierSegment.cs
- GenericArgumentsUpdater.cs
- VirtualPathUtility.cs
- JsonClassDataContract.cs
- SqlDataAdapter.cs
- SqlException.cs
- BaseParser.cs
- ObjectViewEntityCollectionData.cs
- MetafileEditor.cs
- XhtmlBasicLiteralTextAdapter.cs
- _NetRes.cs
- DurationConverter.cs
- ListenerTraceUtility.cs
- XmlSerializationWriter.cs
- SBCSCodePageEncoding.cs
- RsaEndpointIdentity.cs
- OrderPreservingSpoolingTask.cs
- NonVisualControlAttribute.cs
- ResourcePart.cs
- ResourceExpressionBuilder.cs
- RuntimeHelpers.cs
- SslStreamSecurityUpgradeProvider.cs
- XmlExtensionFunction.cs
- CapabilitiesUse.cs
- XslAst.cs
- HwndHost.cs
- StyleCollection.cs
- TrackingProfileSerializer.cs
- AppModelKnownContentFactory.cs
- EntityObject.cs
- ObjectConverter.cs
- RelationshipConverter.cs
- CheckedListBox.cs
- SiteMapNodeItemEventArgs.cs
- MulticastNotSupportedException.cs
- XmlSchemaExporter.cs
- BitmapEffectGeneralTransform.cs
- EventLogPermission.cs
- ComponentEditorPage.cs
- Geometry3D.cs
- ProfileSettingsCollection.cs
- DataGridViewRowsRemovedEventArgs.cs
- RuntimeEnvironment.cs
- ObjectPersistData.cs
- SystemThemeKey.cs
- PathGradientBrush.cs
- DefaultEventAttribute.cs
- URLAttribute.cs
- EdmType.cs
- WindowVisualStateTracker.cs
- GenericWebPart.cs
- WebContext.cs
- SingleKeyFrameCollection.cs