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
- _NegotiateClient.cs
- StreamGeometry.cs
- TimelineGroup.cs
- SpellerHighlightLayer.cs
- XmlNamespaceDeclarationsAttribute.cs
- DbProviderFactory.cs
- HttpWebRequestElement.cs
- CornerRadius.cs
- EntityTypeEmitter.cs
- HelpProvider.cs
- XmlDocument.cs
- XamlFrame.cs
- OuterGlowBitmapEffect.cs
- Span.cs
- Transform3DCollection.cs
- MarginCollapsingState.cs
- BamlBinaryWriter.cs
- ArgumentException.cs
- RowParagraph.cs
- _LocalDataStore.cs
- SemanticResolver.cs
- ReaderWriterLockWrapper.cs
- fixedPageContentExtractor.cs
- CroppedBitmap.cs
- TypeUsageBuilder.cs
- COM2ExtendedTypeConverter.cs
- ConnectionsZone.cs
- ISAPIApplicationHost.cs
- CompiledRegexRunnerFactory.cs
- FormParameter.cs
- FormViewInsertedEventArgs.cs
- Point3DCollectionValueSerializer.cs
- Material.cs
- RuntimeHandles.cs
- SqlDataSourceParameterParser.cs
- NameScope.cs
- HtmlTableRowCollection.cs
- Win32.cs
- PopupEventArgs.cs
- LayoutEvent.cs
- MultiPartWriter.cs
- HttpCachePolicy.cs
- MethodInfo.cs
- VisemeEventArgs.cs
- GridViewCommandEventArgs.cs
- MethodCallTranslator.cs
- HyperLink.cs
- NullableLongMinMaxAggregationOperator.cs
- ProvidersHelper.cs
- CapabilitiesSection.cs
- QueryOptionExpression.cs
- UIElement.cs
- EncodingNLS.cs
- Mapping.cs
- AssemblyAttributes.cs
- GroupBoxRenderer.cs
- DataGridLinkButton.cs
- ComponentManagerBroker.cs
- Attributes.cs
- XmlException.cs
- NumericExpr.cs
- PagePropertiesChangingEventArgs.cs
- DBConcurrencyException.cs
- SqlAliaser.cs
- ColorAnimationBase.cs
- TcpServerChannel.cs
- KeyboardEventArgs.cs
- SizeAnimationClockResource.cs
- PropertyCollection.cs
- PenContext.cs
- RootBuilder.cs
- AvtEvent.cs
- HierarchicalDataBoundControlAdapter.cs
- DiscoveryClientOutputChannel.cs
- ByteKeyFrameCollection.cs
- RenderData.cs
- ForeignConstraint.cs
- FullTextLine.cs
- bindurihelper.cs
- EtwTrace.cs
- ViewDesigner.cs
- DuplicateWaitObjectException.cs
- DataControlField.cs
- SafeRegistryKey.cs
- PathFigureCollectionConverter.cs
- AutoResizedEvent.cs
- Matrix3D.cs
- ColumnMapVisitor.cs
- TreeViewItem.cs
- ConnectionStringsExpressionBuilder.cs
- SapiInterop.cs
- SystemResourceHost.cs
- ThemeDirectoryCompiler.cs
- TraceContext.cs
- ByteAnimationUsingKeyFrames.cs
- ConnectionStringsExpressionBuilder.cs
- Location.cs
- SoapWriter.cs
- MouseEvent.cs
- DataPointer.cs