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
- UriWriter.cs
- ProvidersHelper.cs
- ReadOnlyDataSource.cs
- ValidationHelper.cs
- DoubleCollectionValueSerializer.cs
- Typeface.cs
- SrgsElementFactory.cs
- TextContainerChangedEventArgs.cs
- Binding.cs
- ClientUtils.cs
- ToolBarButtonDesigner.cs
- elementinformation.cs
- FileDialog_Vista_Interop.cs
- StructuralType.cs
- DecimalConstantAttribute.cs
- mediaeventshelper.cs
- PreservationFileWriter.cs
- EditorAttribute.cs
- MsmqAppDomainProtocolHandler.cs
- MD5HashHelper.cs
- MessageSecurityVersion.cs
- HashHelper.cs
- TypographyProperties.cs
- QilIterator.cs
- XmlSiteMapProvider.cs
- AutomationPropertyInfo.cs
- ButtonRenderer.cs
- TemplateComponentConnector.cs
- ProfileService.cs
- GridViewRow.cs
- Frame.cs
- StandardRuntimeEnumValidatorAttribute.cs
- ConfigurationManagerInternalFactory.cs
- TextBox.cs
- Int64Storage.cs
- UnmanagedMemoryStreamWrapper.cs
- OciHandle.cs
- ISAPIApplicationHost.cs
- DynamicDiscoSearcher.cs
- TraceEventCache.cs
- SystemBrushes.cs
- AlternateViewCollection.cs
- ImageSourceConverter.cs
- BitmapCache.cs
- HttpResponse.cs
- SQLBoolean.cs
- CodeCatchClause.cs
- PageBuildProvider.cs
- DbProviderConfigurationHandler.cs
- PixelShader.cs
- TemplateKey.cs
- XhtmlBasicListAdapter.cs
- MetricEntry.cs
- AttachmentCollection.cs
- DataGridPageChangedEventArgs.cs
- TreeNodeMouseHoverEvent.cs
- ListBase.cs
- EntityConnectionStringBuilder.cs
- PointAnimationClockResource.cs
- HeaderedItemsControl.cs
- IndexedEnumerable.cs
- ListDictionary.cs
- TableParaClient.cs
- EntityConnectionStringBuilderItem.cs
- TerminateDesigner.cs
- CodeTypeOfExpression.cs
- FunctionDetailsReader.cs
- EntityCollection.cs
- SqlTrackingQuery.cs
- GridViewColumnHeader.cs
- DefaultSerializationProviderAttribute.cs
- Vector3DConverter.cs
- ExtendedProperty.cs
- SiteMapDataSourceView.cs
- Int32Animation.cs
- ZoneIdentityPermission.cs
- ObjectDataSource.cs
- DataGridColumnReorderingEventArgs.cs
- SiteMapDataSource.cs
- ParserStreamGeometryContext.cs
- ComplexTypeEmitter.cs
- ClientProxyGenerator.cs
- HtmlInputFile.cs
- GradientBrush.cs
- ProjectionPlanCompiler.cs
- Set.cs
- ListBox.cs
- InlinedAggregationOperatorEnumerator.cs
- ServicePointManagerElement.cs
- Filter.cs
- StatusBarItem.cs
- Wrapper.cs
- QueryRewriter.cs
- CfgArc.cs
- ReadonlyMessageFilter.cs
- DataGridViewHitTestInfo.cs
- PolyQuadraticBezierSegment.cs
- LogicalTreeHelper.cs
- DataGridViewCellPaintingEventArgs.cs
- StdRegProviderWrapper.cs