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
- Binding.cs
- TextBoxRenderer.cs
- Panel.cs
- XmlSchemaElement.cs
- AutomationProperties.cs
- BaseProcessor.cs
- CSharpCodeProvider.cs
- TemplatePartAttribute.cs
- InstancePersistence.cs
- EmptyEnumerator.cs
- DataViewSetting.cs
- BitmapEffectGroup.cs
- PathData.cs
- Parser.cs
- ComboBoxAutomationPeer.cs
- SQLBytesStorage.cs
- ConfigXmlWhitespace.cs
- HttpConfigurationContext.cs
- ExpressionCopier.cs
- TableStyle.cs
- ToolStripArrowRenderEventArgs.cs
- ServiceEndpointElement.cs
- HasCopySemanticsAttribute.cs
- Timer.cs
- SoapHeaderAttribute.cs
- RemoteWebConfigurationHostStream.cs
- TableCellAutomationPeer.cs
- SoapReflectionImporter.cs
- ToolStripOverflow.cs
- SqlWebEventProvider.cs
- UInt64.cs
- RectangleGeometry.cs
- ReferenceEqualityComparer.cs
- ObjectListCommandEventArgs.cs
- ActivityCodeDomSerializationManager.cs
- SharedConnectionInfo.cs
- Component.cs
- FixedSOMElement.cs
- IntegerFacetDescriptionElement.cs
- BooleanToVisibilityConverter.cs
- NumericExpr.cs
- MultilineStringConverter.cs
- CommonRemoteMemoryBlock.cs
- DWriteFactory.cs
- PhonemeConverter.cs
- WmlControlAdapter.cs
- HttpWebResponse.cs
- selecteditemcollection.cs
- DetailsViewRowCollection.cs
- AddInProcess.cs
- DocumentGrid.cs
- X509Certificate2Collection.cs
- GridViewSortEventArgs.cs
- RowSpanVector.cs
- PaginationProgressEventArgs.cs
- SortedDictionary.cs
- OdbcConnectionStringbuilder.cs
- ConnectionConsumerAttribute.cs
- NotImplementedException.cs
- WSDualHttpBindingCollectionElement.cs
- AttachInfo.cs
- TypeUsage.cs
- OpenTypeCommon.cs
- Message.cs
- DocumentGridContextMenu.cs
- xmlsaver.cs
- RoutedUICommand.cs
- OdbcConnectionFactory.cs
- XpsFontSubsetter.cs
- TagNameToTypeMapper.cs
- ListCardsInFileRequest.cs
- XPathAxisIterator.cs
- CodeGenerator.cs
- SecureStringHasher.cs
- ParamArrayAttribute.cs
- ReadOnlyCollectionBase.cs
- DataControlFieldCollection.cs
- Pair.cs
- BaseAsyncResult.cs
- IntSecurity.cs
- NullToBooleanConverter.cs
- CustomPopupPlacement.cs
- SchemaObjectWriter.cs
- Point3DCollectionValueSerializer.cs
- TemplateComponentConnector.cs
- ClientConvert.cs
- ChannelDispatcherBase.cs
- WebBrowserNavigatingEventHandler.cs
- RepeatInfo.cs
- Int32AnimationBase.cs
- ObjectHelper.cs
- ParserContext.cs
- MdiWindowListStrip.cs
- CodeTypeMember.cs
- TypeUtil.cs
- MaskInputRejectedEventArgs.cs
- RequestCacheValidator.cs
- Comparer.cs
- EventListenerClientSide.cs
- PerspectiveCamera.cs