Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TimeIntervalCollection.cs
- StringInfo.cs
- CollectionViewGroup.cs
- BeginEvent.cs
- CellParaClient.cs
- AssociationSetEnd.cs
- EntityClassGenerator.cs
- XmlLanguageConverter.cs
- MetadataArtifactLoaderComposite.cs
- DynamicHyperLink.cs
- Comparer.cs
- CodeTypeParameter.cs
- ListViewItem.cs
- SequenceDesigner.xaml.cs
- TypeDelegator.cs
- RegexCompilationInfo.cs
- PropertyGeneratedEventArgs.cs
- WebPartDisplayMode.cs
- PlatformNotSupportedException.cs
- LazyTextWriterCreator.cs
- SoapHeaderException.cs
- RoleManagerModule.cs
- XmlSchemaSimpleTypeList.cs
- XmlSchemaSimpleContentExtension.cs
- _NetRes.cs
- PermissionSet.cs
- InputQueue.cs
- InvokePatternIdentifiers.cs
- InkCanvasSelection.cs
- LinkTarget.cs
- ExpressionsCollectionConverter.cs
- ServiceNotStartedException.cs
- BezierSegment.cs
- HierarchicalDataSourceIDConverter.cs
- HtmlContainerControl.cs
- DynamicMetaObjectBinder.cs
- DataStorage.cs
- UnlockInstanceCommand.cs
- OnOperation.cs
- CommandBindingCollection.cs
- BevelBitmapEffect.cs
- StaticResourceExtension.cs
- NullExtension.cs
- DetailsViewDesigner.cs
- ConvertTextFrag.cs
- MimeParameters.cs
- ResourceSetExpression.cs
- DialogDivider.cs
- EntityException.cs
- MimeBasePart.cs
- HttpCachePolicyElement.cs
- ChangeProcessor.cs
- SQLInt32Storage.cs
- ResourceExpression.cs
- ServiceDescriptions.cs
- ShutDownListener.cs
- ImpersonationContext.cs
- SuppressMergeCheckAttribute.cs
- DataBindingExpressionBuilder.cs
- ToolStripItemCollection.cs
- ColumnClickEvent.cs
- AdapterUtil.cs
- ToggleProviderWrapper.cs
- SqlInternalConnectionTds.cs
- ListViewGroupItemCollection.cs
- WebPartHeaderCloseVerb.cs
- ColorTransform.cs
- DBConnection.cs
- InputGestureCollection.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ZipPackagePart.cs
- SafeFileMapViewHandle.cs
- PeerApplication.cs
- SystemIcmpV6Statistics.cs
- ObjectDataSourceSelectingEventArgs.cs
- DataServiceProviderWrapper.cs
- VerificationException.cs
- CodeAttributeDeclarationCollection.cs
- IEnumerable.cs
- EmbossBitmapEffect.cs
- NameService.cs
- MediaContext.cs
- ReadOnlyCollection.cs
- ParserExtension.cs
- SchemaInfo.cs
- UIElementAutomationPeer.cs
- HttpCookiesSection.cs
- TableRowGroupCollection.cs
- SoapProtocolReflector.cs
- SByteConverter.cs
- SettingsPropertyNotFoundException.cs
- Throw.cs
- IpcClientChannel.cs
- AnimationClock.cs
- SafeUserTokenHandle.cs
- DefaultExpression.cs
- MsiStyleLogWriter.cs
- SettingsPropertyNotFoundException.cs
- Marshal.cs
- ExtendedTransformFactory.cs