Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / fx / src / Xml / System / Xml / diagnosticsswitches.cs / 2 / 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; private static BooleanSwitch nonRecursiveTypeLoading; 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; } } public static BooleanSwitch NonRecursiveTypeLoading { get { if (nonRecursiveTypeLoading == null) { nonRecursiveTypeLoading = new BooleanSwitch("XmlSerialization.NonRecursiveTypeLoading", "Turn on non-recursive algorithm generating XmlMappings for CLR types."); } return nonRecursiveTypeLoading; } } } } // 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
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- DataGridCellsPanel.cs
- MimeTypeMapper.cs
- UnsafeNativeMethods.cs
- PostBackOptions.cs
- AnimationStorage.cs
- CorrelationToken.cs
- AccessKeyManager.cs
- StringPropertyBuilder.cs
- SequenceNumber.cs
- Currency.cs
- ClientRuntimeConfig.cs
- Encoder.cs
- EncryptedKey.cs
- ModelServiceImpl.cs
- RadioButtonRenderer.cs
- ChannelSinkStacks.cs
- FixedDocumentSequencePaginator.cs
- HttpCachePolicyElement.cs
- PriorityBinding.cs
- ClientTargetSection.cs
- BaseValidator.cs
- CompiledRegexRunner.cs
- ToolStripSeparator.cs
- ChannelOptions.cs
- BitStack.cs
- HwndSubclass.cs
- CodeExpressionCollection.cs
- SubtreeProcessor.cs
- CreatingCookieEventArgs.cs
- SocketException.cs
- ValidatorAttribute.cs
- BaseTemplateBuildProvider.cs
- TableColumn.cs
- XmlWriter.cs
- WebBrowserNavigatingEventHandler.cs
- MachineKey.cs
- WindowsSolidBrush.cs
- DataGridViewAdvancedBorderStyle.cs
- TemplateBuilder.cs
- CurrencyWrapper.cs
- AccessKeyManager.cs
- ResourcesBuildProvider.cs
- FixedSOMElement.cs
- ProbeMatches11.cs
- DataTableReaderListener.cs
- PixelShader.cs
- HyperLinkColumn.cs
- XPathParser.cs
- HashCodeCombiner.cs
- Misc.cs
- SiteMap.cs
- StorageInfo.cs
- SignatureTargetIdManager.cs
- TakeQueryOptionExpression.cs
- Properties.cs
- SecurityDescriptor.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- WorkflowInstance.cs
- Root.cs
- util.cs
- XPathDescendantIterator.cs
- Base64Encoder.cs
- XPathPatternBuilder.cs
- SystemDropShadowChrome.cs
- TreeNode.cs
- BrowserDefinition.cs
- Button.cs
- DefaultProxySection.cs
- SqlDependencyListener.cs
- RijndaelManagedTransform.cs
- HttpServerUtilityWrapper.cs
- Size.cs
- WebServicesInteroperability.cs
- HealthMonitoringSectionHelper.cs
- TextEditorThreadLocalStore.cs
- RadioButtonFlatAdapter.cs
- WebServiceAttribute.cs
- BamlResourceDeserializer.cs
- OpenFileDialog.cs
- ReachFixedDocumentSerializer.cs
- ContractMethodInfo.cs
- StringUtil.cs
- CanonicalizationDriver.cs
- BitFlagsGenerator.cs
- ClientSession.cs
- Oci.cs
- OdbcDataAdapter.cs
- SoapElementAttribute.cs
- TrackingStringDictionary.cs
- Compiler.cs
- xmlsaver.cs
- MessageRpc.cs
- HttpRuntime.cs
- ColumnWidthChangedEvent.cs
- CollectionEditor.cs
- CommandArguments.cs
- CommandConverter.cs
- ColumnCollection.cs
- coordinatorscratchpad.cs