Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Xml / System / Xml / Xslt / XsltSettings.cs / 1 / 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
- ListViewContainer.cs
- TemplateBamlRecordReader.cs
- WriteableBitmap.cs
- SynchronizationScope.cs
- XmlBaseWriter.cs
- MethodRental.cs
- OpenTypeCommon.cs
- X509Certificate.cs
- Int64Animation.cs
- DataSvcMapFileSerializer.cs
- ErrorLog.cs
- COM2Properties.cs
- Converter.cs
- StreamGeometry.cs
- DesignerSerializationOptionsAttribute.cs
- UnsafeNativeMethods.cs
- CodeIndexerExpression.cs
- OciLobLocator.cs
- StaticTextPointer.cs
- ListControl.cs
- AttributeEmitter.cs
- VersionPair.cs
- DurableOperationAttribute.cs
- DbReferenceCollection.cs
- TransformedBitmap.cs
- LocalBuilder.cs
- SelectionItemPattern.cs
- Debug.cs
- ControlPaint.cs
- CatalogPartChrome.cs
- QilCloneVisitor.cs
- X509Extension.cs
- SqlHelper.cs
- SafeEventHandle.cs
- AppDomainShutdownMonitor.cs
- IDQuery.cs
- ParserStreamGeometryContext.cs
- DrawListViewSubItemEventArgs.cs
- ThreadExceptionEvent.cs
- ExpressionBindingCollection.cs
- WebResourceAttribute.cs
- StrokeCollectionConverter.cs
- SmiEventStream.cs
- OracleDateTime.cs
- PocoEntityKeyStrategy.cs
- XmlCharacterData.cs
- XmlSerializerFactory.cs
- TracedNativeMethods.cs
- FontSourceCollection.cs
- DataGridTemplateColumn.cs
- WaitHandleCannotBeOpenedException.cs
- HMACSHA256.cs
- OuterGlowBitmapEffect.cs
- ToolCreatedEventArgs.cs
- _NestedSingleAsyncResult.cs
- EditorPartChrome.cs
- ContentElement.cs
- XmlNodeList.cs
- IUnknownConstantAttribute.cs
- UnknownBitmapDecoder.cs
- XmlCustomFormatter.cs
- SymmetricAlgorithm.cs
- ExceptionValidationRule.cs
- WebServiceHandlerFactory.cs
- PlatformCulture.cs
- Profiler.cs
- MatrixAnimationUsingPath.cs
- OutputScopeManager.cs
- XmlEventCache.cs
- LambdaValue.cs
- ImageListDesigner.cs
- XmlSignificantWhitespace.cs
- XmlUtil.cs
- HttpRuntimeSection.cs
- SafePointer.cs
- PkcsUtils.cs
- SafeCryptoHandles.cs
- SHA256.cs
- WeakReferenceEnumerator.cs
- CannotUnloadAppDomainException.cs
- ColumnHeaderConverter.cs
- PrePostDescendentsWalker.cs
- NamespaceList.cs
- QueuePropertyVariants.cs
- FrameworkName.cs
- ZipIOCentralDirectoryBlock.cs
- AnnotationMap.cs
- MappingSource.cs
- SlipBehavior.cs
- TreeWalker.cs
- ChangeNode.cs
- PropertyValueEditor.cs
- DrawingBrush.cs
- TableMethodGenerator.cs
- DataContractSerializerSection.cs
- XMLSyntaxException.cs
- QilFactory.cs
- ExecutedRoutedEventArgs.cs
- ConfigurationPropertyCollection.cs
- HttpPostLocalhostServerProtocol.cs