Code:
/ FX-1434 / FX-1434 / 1.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
- TemplateKeyConverter.cs
- UnescapedXmlDiagnosticData.cs
- metadatamappinghashervisitor.cs
- Timer.cs
- SqlDataReaderSmi.cs
- ButtonRenderer.cs
- StringExpressionSet.cs
- BaseUriHelper.cs
- Profiler.cs
- OleDbParameterCollection.cs
- ListViewItemMouseHoverEvent.cs
- CompilerCollection.cs
- DataRowChangeEvent.cs
- WizardDesigner.cs
- MouseOverProperty.cs
- TcpHostedTransportConfiguration.cs
- RootNamespaceAttribute.cs
- CollectionViewSource.cs
- login.cs
- StylusPointPropertyInfoDefaults.cs
- HashSetDebugView.cs
- StyleModeStack.cs
- InfoCardSchemas.cs
- ToolboxBitmapAttribute.cs
- Line.cs
- BufferBuilder.cs
- TemplateComponentConnector.cs
- DrawToolTipEventArgs.cs
- ResetableIterator.cs
- DivideByZeroException.cs
- DataSourceView.cs
- ListViewInsertedEventArgs.cs
- OrderedDictionaryStateHelper.cs
- LiteralControl.cs
- SQLDecimal.cs
- SqlNodeTypeOperators.cs
- TableItemStyle.cs
- ClientRolePrincipal.cs
- ArgumentOutOfRangeException.cs
- ConfigurationErrorsException.cs
- KeyFrames.cs
- ChildDocumentBlock.cs
- XmlSchemaSet.cs
- FontFamilyIdentifier.cs
- _ConnectionGroup.cs
- TdsParserStaticMethods.cs
- KeyValuePairs.cs
- Error.cs
- MembershipValidatePasswordEventArgs.cs
- DataGridViewLinkColumn.cs
- NavigationCommands.cs
- UnmanagedMarshal.cs
- NativeMethods.cs
- QueryExecutionOption.cs
- DurableInstanceProvider.cs
- CompModSwitches.cs
- InvalidAsynchronousStateException.cs
- TrustLevelCollection.cs
- ClickablePoint.cs
- CompatibleIComparer.cs
- FontStretches.cs
- NominalTypeEliminator.cs
- WindowsFormsHelpers.cs
- WhitespaceSignificantCollectionAttribute.cs
- RootBuilder.cs
- ObjectStorage.cs
- DataGridItem.cs
- MetadataHelper.cs
- ProxyManager.cs
- TypefaceMap.cs
- ActivityExecutorOperation.cs
- CodeCommentStatementCollection.cs
- SiteMap.cs
- ErrorHandler.cs
- ImmComposition.cs
- Color.cs
- WeakEventTable.cs
- StoreAnnotationsMap.cs
- PriorityQueue.cs
- DataViewListener.cs
- NativeRecognizer.cs
- Psha1DerivedKeyGenerator.cs
- MissingSatelliteAssemblyException.cs
- FlowPosition.cs
- EntityStoreSchemaFilterEntry.cs
- CryptoApi.cs
- ExternalFile.cs
- XmlNodeList.cs
- DataColumnChangeEvent.cs
- CollectionBase.cs
- TraceSection.cs
- RowCache.cs
- XPathAncestorQuery.cs
- BuildResult.cs
- DataGridAutoFormat.cs
- Root.cs
- StackSpiller.Temps.cs
- DataSourceCacheDurationConverter.cs
- StreamUpgradeAcceptor.cs
- SuppressMessageAttribute.cs