Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Xml / System / Xml / Xslt / XsltSettings.cs / 1305376 / XsltSettings.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //http://webdata/xml/specs/XslCompiledTransform.xml //----------------------------------------------------------------------------- using System.CodeDom.Compiler; namespace System.Xml.Xsl { public sealed class XsltSettings { private bool enableDocumentFunction; private bool enableScript; private bool checkOnly; private bool includeDebugInformation; private int warningLevel = -1; // -1 means not set private bool treatWarningsAsErrors; private TempFileCollection tempFiles; public XsltSettings() { } public XsltSettings(bool enableDocumentFunction, bool enableScript) { this.enableDocumentFunction = enableDocumentFunction; this.enableScript = enableScript; } public static XsltSettings Default { get { return new XsltSettings(false, false); } } public static XsltSettings TrustedXslt { get { return new XsltSettings(true, true); } } public bool EnableDocumentFunction { get { return enableDocumentFunction; } set { enableDocumentFunction = value; } } public bool EnableScript { get { return enableScript; } set { enableScript = value; } } internal bool CheckOnly { get { return checkOnly; } set { checkOnly = value; } } internal bool IncludeDebugInformation { get { return includeDebugInformation; } set { includeDebugInformation = value; } } internal int WarningLevel { get { return warningLevel; } set { warningLevel = value; } } internal bool TreatWarningsAsErrors { get { return treatWarningsAsErrors; } set { treatWarningsAsErrors = value; } } internal TempFileCollection TempFiles { get { return tempFiles; } set { tempFiles = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //[....] //http://webdata/xml/specs/XslCompiledTransform.xml //----------------------------------------------------------------------------- using System.CodeDom.Compiler; namespace System.Xml.Xsl { public sealed class XsltSettings { private bool enableDocumentFunction; private bool enableScript; private bool checkOnly; private bool includeDebugInformation; private int warningLevel = -1; // -1 means not set private bool treatWarningsAsErrors; private TempFileCollection tempFiles; public XsltSettings() { } public XsltSettings(bool enableDocumentFunction, bool enableScript) { this.enableDocumentFunction = enableDocumentFunction; this.enableScript = enableScript; } public static XsltSettings Default { get { return new XsltSettings(false, false); } } public static XsltSettings TrustedXslt { get { return new XsltSettings(true, true); } } public bool EnableDocumentFunction { get { return enableDocumentFunction; } set { enableDocumentFunction = value; } } public bool EnableScript { get { return enableScript; } set { enableScript = value; } } internal bool CheckOnly { get { return checkOnly; } set { checkOnly = value; } } internal bool IncludeDebugInformation { get { return includeDebugInformation; } set { includeDebugInformation = value; } } internal int WarningLevel { get { return warningLevel; } set { warningLevel = value; } } internal bool TreatWarningsAsErrors { get { return treatWarningsAsErrors; } set { treatWarningsAsErrors = value; } } internal TempFileCollection TempFiles { get { return tempFiles; } set { tempFiles = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Walker.cs
- Vector3DIndependentAnimationStorage.cs
- DataGridTextBox.cs
- relpropertyhelper.cs
- ItemsPresenter.cs
- ExpressionHelper.cs
- LabelInfo.cs
- VariableExpressionConverter.cs
- TableSectionStyle.cs
- GB18030Encoding.cs
- Tuple.cs
- ComponentResourceKeyConverter.cs
- Registration.cs
- ComplexTypeEmitter.cs
- StackSpiller.Temps.cs
- JavaScriptString.cs
- HtmlControlPersistable.cs
- WebDisplayNameAttribute.cs
- HeaderCollection.cs
- EntityProxyFactory.cs
- BindingCompleteEventArgs.cs
- HtmlElementErrorEventArgs.cs
- CollectionEditor.cs
- Activator.cs
- filewebrequest.cs
- ModuleBuilder.cs
- SystemSounds.cs
- SerializationObjectManager.cs
- MouseEventArgs.cs
- HtmlEncodedRawTextWriter.cs
- SectionXmlInfo.cs
- FileBasedResourceGroveler.cs
- RequestReplyCorrelator.cs
- RegexStringValidator.cs
- SchemaRegistration.cs
- BitmapCache.cs
- EventSetterHandlerConverter.cs
- ToolStripItemCollection.cs
- HtmlInputControl.cs
- ObjectQueryProvider.cs
- SqlBooleanizer.cs
- DocumentSequence.cs
- DesignOnlyAttribute.cs
- ParseHttpDate.cs
- MethodRental.cs
- ListBase.cs
- Properties.cs
- TextSelectionProcessor.cs
- base64Transforms.cs
- EtwTrace.cs
- PeerCredentialElement.cs
- XmlILIndex.cs
- ProcessHostMapPath.cs
- Pkcs7Recipient.cs
- Point4DConverter.cs
- CodeBlockBuilder.cs
- BamlLocalizableResource.cs
- ZeroOpNode.cs
- HScrollBar.cs
- NoneExcludedImageIndexConverter.cs
- StrokeCollectionDefaultValueFactory.cs
- InputBinder.cs
- OleAutBinder.cs
- DispatcherProcessingDisabled.cs
- AssemblyAssociatedContentFileAttribute.cs
- EnglishPluralizationService.cs
- SizeKeyFrameCollection.cs
- HierarchicalDataBoundControl.cs
- WindowShowOrOpenTracker.cs
- BitmapEffectInput.cs
- PlainXmlDeserializer.cs
- PrintPreviewControl.cs
- BasicKeyConstraint.cs
- ServiceOperation.cs
- OverflowException.cs
- CqlParser.cs
- SecureEnvironment.cs
- BitmapEffectGeneralTransform.cs
- ObjectViewFactory.cs
- CleanUpVirtualizedItemEventArgs.cs
- InstanceValue.cs
- Internal.cs
- Permission.cs
- ipaddressinformationcollection.cs
- AdvancedBindingPropertyDescriptor.cs
- FloatSumAggregationOperator.cs
- RuleRef.cs
- SizeFConverter.cs
- BufferedOutputStream.cs
- ApplicationHost.cs
- PageFunction.cs
- DesignerToolStripControlHost.cs
- SamlAction.cs
- clipboard.cs
- UIElement.cs
- TextTreeUndoUnit.cs
- PathStreamGeometryContext.cs
- ConfigXmlDocument.cs
- OleDbWrapper.cs
- ProcessRequestArgs.cs