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
- ITextView.cs
- BinaryFormatterSinks.cs
- SqlMethodCallConverter.cs
- AssemblyName.cs
- TextFormattingConverter.cs
- CanExecuteRoutedEventArgs.cs
- CodeArgumentReferenceExpression.cs
- RouteData.cs
- PersistChildrenAttribute.cs
- ActivityInstanceMap.cs
- RealProxy.cs
- Trace.cs
- ChannelCredentials.cs
- DesignerCategoryAttribute.cs
- TableRowCollection.cs
- RepeatInfo.cs
- ObjectDataSourceEventArgs.cs
- InvalidWMPVersionException.cs
- JoinCqlBlock.cs
- Double.cs
- ControlBindingsCollection.cs
- Parser.cs
- DataGridSortCommandEventArgs.cs
- DataSourceCache.cs
- InitializationEventAttribute.cs
- RemoteWebConfigurationHostStream.cs
- FixedSOMFixedBlock.cs
- TextTreeExtractElementUndoUnit.cs
- SynchronizedPool.cs
- CalendarModeChangedEventArgs.cs
- MenuCommand.cs
- ACL.cs
- HttpInputStream.cs
- HtmlLink.cs
- HelpInfo.cs
- QueryServiceConfigHandle.cs
- PeerNameRecord.cs
- Exceptions.cs
- ListViewGroupItemCollection.cs
- XmlSchemaType.cs
- DesignerSerializerAttribute.cs
- SortFieldComparer.cs
- WebPartMenuStyle.cs
- ComponentEvent.cs
- MTConfigUtil.cs
- RefExpr.cs
- PlanCompilerUtil.cs
- ItemType.cs
- DbModificationClause.cs
- SqlUtils.cs
- Unit.cs
- UInt16Storage.cs
- XmlSerializerSection.cs
- GenericPrincipal.cs
- UnsafeNativeMethods.cs
- SqlSelectStatement.cs
- ElapsedEventArgs.cs
- XmlSchemaNotation.cs
- PagesSection.cs
- _AutoWebProxyScriptEngine.cs
- Expression.cs
- SelectManyQueryOperator.cs
- SoundPlayer.cs
- QueryOperator.cs
- TableChangeProcessor.cs
- FlowDocumentPageViewerAutomationPeer.cs
- PointKeyFrameCollection.cs
- GridPattern.cs
- SimpleExpression.cs
- XmlDocumentFragment.cs
- PathFigure.cs
- SourceLineInfo.cs
- IdentityNotMappedException.cs
- BitStream.cs
- SoapSchemaMember.cs
- SpecularMaterial.cs
- InternalTypeHelper.cs
- SubMenuStyle.cs
- PlainXmlWriter.cs
- DataObjectCopyingEventArgs.cs
- XmlSchemas.cs
- Icon.cs
- NativeMethods.cs
- BitmapMetadata.cs
- DataBoundControl.cs
- MeasureItemEvent.cs
- DetailsViewUpdatedEventArgs.cs
- MergeFailedEvent.cs
- CollectionType.cs
- ParsedAttributeCollection.cs
- SoapAttributeOverrides.cs
- DefaultHttpHandler.cs
- ObjectIDGenerator.cs
- TokenDescriptor.cs
- DataGridViewColumnCollection.cs
- HtmlInputText.cs
- URLIdentityPermission.cs
- SmtpFailedRecipientException.cs
- QilVisitor.cs
- TreeIterator.cs