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
- ScriptComponentDescriptor.cs
- SerializationInfo.cs
- shaperfactory.cs
- X509ChainElement.cs
- Semaphore.cs
- CodeExporter.cs
- WizardStepBase.cs
- ClientOptions.cs
- Rss20FeedFormatter.cs
- WebUtil.cs
- SecurityUtils.cs
- CurrentTimeZone.cs
- CustomErrorsSection.cs
- PostBackOptions.cs
- SimplePropertyEntry.cs
- SourceFileBuildProvider.cs
- RuntimeWrappedException.cs
- CheckBoxField.cs
- PathFigure.cs
- MethodBuilder.cs
- RightsManagementEncryptionTransform.cs
- CompositeTypefaceMetrics.cs
- TableTextElementCollectionInternal.cs
- Vector3DCollection.cs
- TypeConverter.cs
- DataGridAutoFormat.cs
- MemberPath.cs
- SqlPersonalizationProvider.cs
- DataGridViewRowEventArgs.cs
- SharedConnectionListener.cs
- NamespaceDisplay.xaml.cs
- RtfControls.cs
- PluralizationServiceUtil.cs
- StaticSiteMapProvider.cs
- DataServiceQueryException.cs
- StreamGeometryContext.cs
- PhysicalFontFamily.cs
- XmlIlGenerator.cs
- StateItem.cs
- AutomationPeer.cs
- MetadataWorkspace.cs
- QueryCacheEntry.cs
- ExpressionSelection.cs
- ConfigXmlComment.cs
- TimelineGroup.cs
- TraceContextRecord.cs
- RichTextBoxConstants.cs
- RelationshipWrapper.cs
- TemplateControlParser.cs
- SplineKeyFrames.cs
- PreservationFileReader.cs
- DataGridViewCellValueEventArgs.cs
- _PooledStream.cs
- XmlAnyElementAttribute.cs
- SqlError.cs
- SystemIPInterfaceProperties.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- CacheOutputQuery.cs
- RightsManagementInformation.cs
- DataGridViewCellPaintingEventArgs.cs
- DelegatingTypeDescriptionProvider.cs
- BaseTreeIterator.cs
- AttachedPropertyBrowsableAttribute.cs
- FormsAuthenticationUser.cs
- WindowsFormsSectionHandler.cs
- ConnectionStringsExpressionBuilder.cs
- Rotation3DAnimationBase.cs
- DataGridRowEventArgs.cs
- LabelDesigner.cs
- ScriptReference.cs
- BindToObject.cs
- MessageContractMemberAttribute.cs
- DataObjectPastingEventArgs.cs
- ContainerTracking.cs
- IconBitmapDecoder.cs
- SecurityCookieModeValidator.cs
- DataStreamFromComStream.cs
- EncoderParameters.cs
- ObjectNotFoundException.cs
- CultureTable.cs
- ProfileGroupSettings.cs
- VirtualPathProvider.cs
- EntityStoreSchemaFilterEntry.cs
- WindowsFormsDesignerOptionService.cs
- AssemblyName.cs
- XmlCustomFormatter.cs
- relpropertyhelper.cs
- SingleTagSectionHandler.cs
- IndexerReference.cs
- WindowsTreeView.cs
- InkCanvasFeedbackAdorner.cs
- CustomCredentialPolicy.cs
- EntityDataReader.cs
- FileLoadException.cs
- TypeToStringValueConverter.cs
- ipaddressinformationcollection.cs
- QuaternionAnimationBase.cs
- ConditionValidator.cs
- BamlTreeMap.cs
- NetworkInformationPermission.cs