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
- RawStylusInput.cs
- MediaPlayer.cs
- MemberCollection.cs
- ItemCheckEvent.cs
- ParameterToken.cs
- ParentQuery.cs
- ObjectDataSourceDisposingEventArgs.cs
- CipherData.cs
- ResourcePermissionBase.cs
- SQLDecimal.cs
- XmlSchemaDocumentation.cs
- QilInvokeLateBound.cs
- HttpWriter.cs
- PopupEventArgs.cs
- ReceiveCompletedEventArgs.cs
- webproxy.cs
- ConfigurationElement.cs
- ImageCodecInfo.cs
- CodeNamespaceImportCollection.cs
- WindowsGraphicsCacheManager.cs
- ReachBasicContext.cs
- TabItemAutomationPeer.cs
- SmtpReplyReaderFactory.cs
- ExeConfigurationFileMap.cs
- HttpConfigurationContext.cs
- OdbcHandle.cs
- View.cs
- TabItem.cs
- GridEntryCollection.cs
- UnknownBitmapEncoder.cs
- SqlDataSourceCustomCommandPanel.cs
- mediapermission.cs
- UnsafeMethods.cs
- PeerDuplexChannel.cs
- MessageCredentialType.cs
- PeerNodeAddress.cs
- TargetParameterCountException.cs
- DataServiceRequest.cs
- TerminatorSinks.cs
- ContextInformation.cs
- TypeBuilder.cs
- XmlSchemaDatatype.cs
- TextTreeDeleteContentUndoUnit.cs
- AddInPipelineAttributes.cs
- XsdBuildProvider.cs
- TableCellAutomationPeer.cs
- CodeConditionStatement.cs
- IImplicitResourceProvider.cs
- SecurityResources.cs
- SinglePageViewer.cs
- ping.cs
- MouseEvent.cs
- ContourSegment.cs
- XmlRawWriter.cs
- ErrorProvider.cs
- XsltOutput.cs
- HttpGetProtocolImporter.cs
- DataPager.cs
- HttpListener.cs
- ActiveXSite.cs
- ByteAnimation.cs
- PassportPrincipal.cs
- SqlConnectionHelper.cs
- MemoryPressure.cs
- SliderAutomationPeer.cs
- TextSelectionHelper.cs
- RewritingSimplifier.cs
- BuilderPropertyEntry.cs
- CompilerErrorCollection.cs
- compensatingcollection.cs
- Debug.cs
- ControlTemplate.cs
- Error.cs
- MultiSelector.cs
- DataProviderNameConverter.cs
- ResourceManager.cs
- DetailsViewCommandEventArgs.cs
- KeyEvent.cs
- CqlGenerator.cs
- XamlRtfConverter.cs
- ServiceBusyException.cs
- EventPrivateKey.cs
- XmlRawWriter.cs
- DesignerAttribute.cs
- WebEventTraceProvider.cs
- MobileSysDescriptionAttribute.cs
- unitconverter.cs
- MarshalByRefObject.cs
- AsmxEndpointPickerExtension.cs
- XhtmlStyleClass.cs
- MediaContext.cs
- SpanIndex.cs
- DataRecordInternal.cs
- PartialTrustVisibleAssembly.cs
- MobileContainerDesigner.cs
- BinaryFormatterWriter.cs
- GeometryModel3D.cs
- MenuCommand.cs
- ASCIIEncoding.cs
- CodeCastExpression.cs