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
- WebPartTransformer.cs
- ObjectPersistData.cs
- PnrpPermission.cs
- PersonalizationProvider.cs
- Baml2006KnownTypes.cs
- Graphics.cs
- _LocalDataStore.cs
- CodeVariableDeclarationStatement.cs
- FormatConvertedBitmap.cs
- BehaviorDragDropEventArgs.cs
- Range.cs
- DataGridViewLinkColumn.cs
- PieceNameHelper.cs
- AssociationTypeEmitter.cs
- SqlRetyper.cs
- versioninfo.cs
- DeploymentSection.cs
- DataServiceHost.cs
- OdbcFactory.cs
- ServiceModelStringsVersion1.cs
- HostingEnvironment.cs
- PathData.cs
- TableFieldsEditor.cs
- String.cs
- RequestNavigateEventArgs.cs
- GridViewRow.cs
- FrugalList.cs
- RotateTransform3D.cs
- CodeTypeReferenceCollection.cs
- HashRepartitionStream.cs
- TimestampInformation.cs
- ApplicationServiceHelper.cs
- MruCache.cs
- DiscoveryEndpointElement.cs
- MenuItem.cs
- CellLabel.cs
- CodeDelegateCreateExpression.cs
- XsltFunctions.cs
- RotateTransform3D.cs
- Msec.cs
- ProcessMonitor.cs
- BidOverLoads.cs
- UserPersonalizationStateInfo.cs
- ToolStripRenderer.cs
- NativeRecognizer.cs
- WindowsListView.cs
- TableLayoutPanelCellPosition.cs
- FrugalMap.cs
- RegexStringValidatorAttribute.cs
- RemoteCryptoRsaServiceProvider.cs
- LocatorGroup.cs
- EntityRecordInfo.cs
- PlatformNotSupportedException.cs
- CollectionBase.cs
- DetailsViewUpdateEventArgs.cs
- EmissiveMaterial.cs
- NamespaceEmitter.cs
- WebPartEditVerb.cs
- WebControl.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- CngKey.cs
- BufferedGraphicsManager.cs
- SymbolEqualComparer.cs
- TypeSystem.cs
- TypeListConverter.cs
- ProvidePropertyAttribute.cs
- RMPublishingDialog.cs
- SchemaMapping.cs
- MenuItemCollection.cs
- SeverityFilter.cs
- AttachedPropertyBrowsableAttribute.cs
- ErrorProvider.cs
- EventMap.cs
- SQLDecimalStorage.cs
- InputChannelBinder.cs
- UpdateTranslator.cs
- XmlSerializationGeneratedCode.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- TableLayout.cs
- OpenTypeLayoutCache.cs
- httpstaticobjectscollection.cs
- DbProviderFactory.cs
- IsolatedStoragePermission.cs
- TdsParserHelperClasses.cs
- ButtonColumn.cs
- Attributes.cs
- ForceCopyBuildProvider.cs
- InternalBufferOverflowException.cs
- CodeLinePragma.cs
- Repeater.cs
- COM2ExtendedBrowsingHandler.cs
- XmlSchemaComplexContent.cs
- ExpandButtonVisibilityConverter.cs
- ThaiBuddhistCalendar.cs
- MissingSatelliteAssemblyException.cs
- JsonStringDataContract.cs
- EventEntry.cs
- FilterQuery.cs
- KeyedHashAlgorithm.cs