Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Xml / System / Xml / diagnosticsswitches.cs / 1 / diagnosticsswitches.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //----------------------------------------------------------------------------- namespace System.Xml { using System.Diagnostics; #if DEBUG public static class DiagnosticsSwitches { #else internal static class DiagnosticsSwitches { #endif private static BooleanSwitch xmlSchemaContentModel; private static TraceSwitch xmlSchema; private static BooleanSwitch keepTempFiles; private static BooleanSwitch pregenEventLog; private static TraceSwitch xmlSerialization; private static TraceSwitch xslTypeInference; public static BooleanSwitch XmlSchemaContentModel { get { if (xmlSchemaContentModel == null) { xmlSchemaContentModel = new BooleanSwitch("XmlSchemaContentModel", "Enable tracing for the XmlSchema content model."); } return xmlSchemaContentModel; } } public static TraceSwitch XmlSchema { get { if (xmlSchema == null) { xmlSchema = new TraceSwitch("XmlSchema", "Enable tracing for the XmlSchema class."); } return xmlSchema; } } public static BooleanSwitch KeepTempFiles { get { if (keepTempFiles == null) { keepTempFiles = new BooleanSwitch("XmlSerialization.Compilation", "Keep XmlSerialization generated (temp) files."); } return keepTempFiles; } } public static BooleanSwitch PregenEventLog { get { if (pregenEventLog == null) { pregenEventLog = new BooleanSwitch("XmlSerialization.PregenEventLog", "Log failures while loading pre-generated XmlSerialization assembly."); } return pregenEventLog; } } public static TraceSwitch XmlSerialization { get { if (xmlSerialization == null) { xmlSerialization = new TraceSwitch("XmlSerialization", "Enable tracing for the System.Xml.Serialization component."); } return xmlSerialization; } } public static TraceSwitch XslTypeInference { get { if (xslTypeInference == null) { xslTypeInference = new TraceSwitch("XslTypeInference", "Enable tracing for the XSLT type inference algorithm."); } return xslTypeInference; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CategoryAttribute.cs
- ArglessEventHandlerProxy.cs
- BroadcastEventHelper.cs
- DataGridViewRowPrePaintEventArgs.cs
- _SSPISessionCache.cs
- RoleService.cs
- FontUnitConverter.cs
- TypedElement.cs
- DaylightTime.cs
- BitmapEffect.cs
- XmlAnyElementAttribute.cs
- MessageEventSubscriptionService.cs
- FieldNameLookup.cs
- LogicalExpr.cs
- Window.cs
- HashAlgorithm.cs
- Subset.cs
- BitmapEffectGroup.cs
- XmlReflectionImporter.cs
- ControlBuilder.cs
- LinqDataSourceDisposeEventArgs.cs
- ObjectDataSourceMethodEventArgs.cs
- SByteConverter.cs
- InvokePatternIdentifiers.cs
- RoleGroup.cs
- DirectoryInfo.cs
- XmlAutoDetectWriter.cs
- PropertyStore.cs
- HttpCookiesSection.cs
- MessageAction.cs
- StreamInfo.cs
- Nodes.cs
- reliableinputsessionchannel.cs
- PageCache.cs
- EmptyTextWriter.cs
- WsatTransactionInfo.cs
- CodeIdentifier.cs
- GraphicsContainer.cs
- Int32AnimationBase.cs
- XmlEventCache.cs
- Timer.cs
- WindowsListViewGroupSubsetLink.cs
- DeleteIndexBinder.cs
- OpenFileDialog.cs
- PagePropertiesChangingEventArgs.cs
- EventLog.cs
- SystemIcmpV6Statistics.cs
- Ray3DHitTestResult.cs
- IncrementalHitTester.cs
- ExpressionNormalizer.cs
- GridViewUpdatedEventArgs.cs
- GeneralTransform3DTo2DTo3D.cs
- Paragraph.cs
- CodeStatement.cs
- TextBlock.cs
- StringFunctions.cs
- MultiBinding.cs
- WebContext.cs
- SqlClientWrapperSmiStreamChars.cs
- EventProxy.cs
- BamlTreeNode.cs
- BamlRecordReader.cs
- ThreadInterruptedException.cs
- LinkedResource.cs
- StyleXamlParser.cs
- ToolStripButton.cs
- UdpTransportSettings.cs
- InputScopeConverter.cs
- LoadRetryStrategyFactory.cs
- FontSourceCollection.cs
- GenericEnumerator.cs
- PagesSection.cs
- TabRenderer.cs
- ObjectStateEntry.cs
- MergeLocalizationDirectives.cs
- XXXOnTypeBuilderInstantiation.cs
- FrameworkElement.cs
- HttpWebRequestElement.cs
- TextSelectionHelper.cs
- Effect.cs
- RegexCaptureCollection.cs
- securestring.cs
- SqlConnectionFactory.cs
- SecurityResources.cs
- SvcMapFile.cs
- SignatureToken.cs
- StaticSiteMapProvider.cs
- UrlAuthFailedErrorFormatter.cs
- KeysConverter.cs
- ToolStripContentPanelDesigner.cs
- PixelShader.cs
- CacheSection.cs
- ReachPrintTicketSerializer.cs
- WebPartTransformer.cs
- ClientScriptManagerWrapper.cs
- StringAnimationBase.cs
- RowUpdatedEventArgs.cs
- ControlParameter.cs
- LineUtil.cs
- ComboBoxAutomationPeer.cs