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
- SkipStoryboardToFill.cs
- BStrWrapper.cs
- ParameterModifier.cs
- StateItem.cs
- PublisherMembershipCondition.cs
- VariantWrapper.cs
- CqlParserHelpers.cs
- NullableFloatAverageAggregationOperator.cs
- ImageConverter.cs
- AuthenticodeSignatureInformation.cs
- UxThemeWrapper.cs
- CreateUserErrorEventArgs.cs
- BeginStoryboard.cs
- CategoryGridEntry.cs
- TreeNodeEventArgs.cs
- TypeUnloadedException.cs
- NetDataContractSerializer.cs
- IImplicitResourceProvider.cs
- TreeView.cs
- TemplateField.cs
- SessionIDManager.cs
- WebPart.cs
- EventProxy.cs
- TableCellCollection.cs
- Collection.cs
- ComplexType.cs
- WCFServiceClientProxyGenerator.cs
- AssociativeAggregationOperator.cs
- DataColumnSelectionConverter.cs
- Camera.cs
- PartitionerQueryOperator.cs
- XmlSerializerNamespaces.cs
- ProbeMatchesApril2005.cs
- VariableQuery.cs
- AggregateNode.cs
- XmlUtf8RawTextWriter.cs
- GenericAuthenticationEventArgs.cs
- PerformanceCounter.cs
- ExceptionTrace.cs
- ServiceOperationParameter.cs
- ArrangedElement.cs
- Process.cs
- HttpListenerResponse.cs
- Graphics.cs
- ComponentCollection.cs
- CodeDOMProvider.cs
- PrintDocument.cs
- StyleCollectionEditor.cs
- SecurityMessageProperty.cs
- ObjectDataSourceEventArgs.cs
- shaperfactoryquerycachekey.cs
- VisualStyleElement.cs
- CrossAppDomainChannel.cs
- KeyToListMap.cs
- PersonalizationDictionary.cs
- EntitySqlException.cs
- MenuAutoFormat.cs
- BamlLocalizabilityResolver.cs
- HostingEnvironmentWrapper.cs
- SevenBitStream.cs
- RuleSetDialog.Designer.cs
- ValidationError.cs
- __TransparentProxy.cs
- Knowncolors.cs
- XmlBindingWorker.cs
- ConfigUtil.cs
- DateTimeStorage.cs
- WindowsEditBox.cs
- DeploymentSection.cs
- TemplateBindingExpression.cs
- HttpCapabilitiesBase.cs
- SupportsEventValidationAttribute.cs
- ServiceOperationParameter.cs
- UserUseLicenseDictionaryLoader.cs
- ConsumerConnectionPoint.cs
- StateMachineTimers.cs
- SerializationFieldInfo.cs
- OutArgument.cs
- TreeIterators.cs
- SimpleWebHandlerParser.cs
- ExtendedPropertyDescriptor.cs
- XPathNodeList.cs
- WorkflowQueuingService.cs
- RegexMatch.cs
- DataServiceHostFactory.cs
- EdmItemCollection.OcAssemblyCache.cs
- PageContent.cs
- OdbcStatementHandle.cs
- ErrorRuntimeConfig.cs
- LifetimeServices.cs
- HtmlTextArea.cs
- Normalizer.cs
- SkipStoryboardToFill.cs
- ReturnEventArgs.cs
- log.cs
- ElementNotAvailableException.cs
- DbConnectionPoolOptions.cs
- EventEntry.cs
- SqlExpander.cs
- ReferencedCollectionType.cs