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
- BitmapMetadata.cs
- LoadedOrUnloadedOperation.cs
- ToolStripDropDownButton.cs
- FragmentQueryKB.cs
- DataGridViewColumn.cs
- Exception.cs
- SerializationObjectManager.cs
- TextBoxAutoCompleteSourceConverter.cs
- BuildProviderCollection.cs
- Function.cs
- DEREncoding.cs
- BrowserCapabilitiesCompiler.cs
- ContainerParaClient.cs
- AssociationType.cs
- SystemColorTracker.cs
- QilChoice.cs
- UserControlBuildProvider.cs
- XmlComment.cs
- ObjectCacheSettings.cs
- PackagePart.cs
- MenuItemStyleCollection.cs
- WebColorConverter.cs
- XmlSubtreeReader.cs
- ManagementPath.cs
- CalendarDataBindingHandler.cs
- NameSpaceEvent.cs
- TemplateField.cs
- SqlDataReader.cs
- DataSetUtil.cs
- UIElementHelper.cs
- XsdDuration.cs
- RoutedPropertyChangedEventArgs.cs
- TransformerInfoCollection.cs
- VariableBinder.cs
- ReliabilityContractAttribute.cs
- DecimalFormatter.cs
- TimeSpanMinutesConverter.cs
- FigureHelper.cs
- ExtendedProperty.cs
- TcpSocketManager.cs
- DataRowChangeEvent.cs
- TextTreeTextElementNode.cs
- FontResourceCache.cs
- ISAPIApplicationHost.cs
- basevalidator.cs
- ConfigurationFileMap.cs
- UiaCoreTypesApi.cs
- ScriptManager.cs
- SelectionProviderWrapper.cs
- IncrementalReadDecoders.cs
- VisualState.cs
- SortQuery.cs
- DispatcherTimer.cs
- TraceRecord.cs
- NullRuntimeConfig.cs
- XmlNavigatorFilter.cs
- DocumentSequence.cs
- SoundPlayerAction.cs
- ViewService.cs
- ResourceType.cs
- Size3D.cs
- SmtpNtlmAuthenticationModule.cs
- ExpressionDumper.cs
- safelink.cs
- ExtensibleClassFactory.cs
- SelectionRangeConverter.cs
- _HeaderInfoTable.cs
- SerializationSectionGroup.cs
- ApplicationDirectory.cs
- DbConnectionInternal.cs
- ScopelessEnumAttribute.cs
- ContentElement.cs
- Closure.cs
- SimpleWebHandlerParser.cs
- EmptyStringExpandableObjectConverter.cs
- TreeNodeMouseHoverEvent.cs
- AssociationTypeEmitter.cs
- HttpCapabilitiesSectionHandler.cs
- LineServices.cs
- Vector.cs
- XamlSerializerUtil.cs
- PropertyBuilder.cs
- ToolStripDropDownClosedEventArgs.cs
- UnsafeNativeMethods.cs
- RolePrincipal.cs
- PersonalizationStateQuery.cs
- DictionaryTraceRecord.cs
- NativeMethods.cs
- _HeaderInfoTable.cs
- HttpCookie.cs
- ListBindingHelper.cs
- SqlNotificationRequest.cs
- TimerElapsedEvenArgs.cs
- XmlNavigatorStack.cs
- OracleConnectionString.cs
- Stylesheet.cs
- ExtendedPropertyDescriptor.cs
- FillRuleValidation.cs
- Focus.cs
- TypeElement.cs