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
- ButtonBase.cs
- HScrollProperties.cs
- SrgsItemList.cs
- SqlErrorCollection.cs
- newinstructionaction.cs
- MetaData.cs
- SafeSystemMetrics.cs
- CacheHelper.cs
- TopClause.cs
- FlowDocumentReaderAutomationPeer.cs
- SystemUdpStatistics.cs
- RectangleConverter.cs
- PageCatalogPart.cs
- XmlDataImplementation.cs
- XmlNodeChangedEventManager.cs
- BaseProcessor.cs
- ParentQuery.cs
- DockPatternIdentifiers.cs
- TouchesCapturedWithinProperty.cs
- ItemAutomationPeer.cs
- DebugView.cs
- FrugalMap.cs
- Storyboard.cs
- HtmlFormParameterWriter.cs
- Configuration.cs
- SHA1.cs
- BitmapEffectGeneralTransform.cs
- DataList.cs
- oledbmetadatacolumnnames.cs
- Imaging.cs
- Timer.cs
- OptimalBreakSession.cs
- SystemFonts.cs
- ConditionChanges.cs
- DataRowChangeEvent.cs
- EntityKeyElement.cs
- DesignerForm.cs
- PersistChildrenAttribute.cs
- CorePropertiesFilter.cs
- CacheForPrimitiveTypes.cs
- TextEditorSpelling.cs
- FixUp.cs
- EntityDataSourceStatementEditorForm.cs
- ObjectDisposedException.cs
- NumericPagerField.cs
- DirectionalAction.cs
- BaseCodeDomTreeGenerator.cs
- RtfControls.cs
- ContextStack.cs
- PKCS1MaskGenerationMethod.cs
- PathFigureCollection.cs
- Parser.cs
- StylusPoint.cs
- BinarySecretKeyIdentifierClause.cs
- TdsParserStateObject.cs
- FixedSOMElement.cs
- TrustLevel.cs
- WindowsScrollBarBits.cs
- ApplicationProxyInternal.cs
- GrammarBuilderPhrase.cs
- DBDataPermissionAttribute.cs
- FormatterServices.cs
- DesignSurfaceEvent.cs
- WebPartHelpVerb.cs
- XmlArrayItemAttribute.cs
- WinFormsComponentEditor.cs
- LayoutTableCell.cs
- oledbmetadatacolumnnames.cs
- FloaterBaseParagraph.cs
- FontDialog.cs
- ActivityValidationServices.cs
- XmlDataSource.cs
- EntityViewContainer.cs
- FileUtil.cs
- IsolatedStorage.cs
- FixedSOMContainer.cs
- StaticExtensionConverter.cs
- TextViewDesigner.cs
- CollectionCodeDomSerializer.cs
- ValidationService.cs
- TraceContextRecord.cs
- TextEditorMouse.cs
- AppDomainProtocolHandler.cs
- NavigatingCancelEventArgs.cs
- BoundField.cs
- SyndicationLink.cs
- ProviderMetadataCachedInformation.cs
- DragCompletedEventArgs.cs
- SqlErrorCollection.cs
- TimeoutException.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- StylusButtonCollection.cs
- XmlExtensionFunction.cs
- StructureChangedEventArgs.cs
- DynamicQueryStringParameter.cs
- HttpCacheParams.cs
- SqlLiftWhereClauses.cs
- GroupBox.cs
- MenuDesigner.cs
- SettingsProperty.cs