Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / Xml / System / Xml / Xslt / XsltSettings.cs / 5 / 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
- FileRegion.cs
- RawStylusInput.cs
- ObjectTypeMapping.cs
- InputLangChangeEvent.cs
- filewebresponse.cs
- Double.cs
- Shape.cs
- XPathSelfQuery.cs
- NativeMethods.cs
- MessageBox.cs
- TrustManager.cs
- GeometryValueSerializer.cs
- Behavior.cs
- NativeMethods.cs
- ActivityWithResultValueSerializer.cs
- AsymmetricKeyExchangeDeformatter.cs
- BufferedStream.cs
- ToolStripDesignerUtils.cs
- ManagedWndProcTracker.cs
- InputProcessorProfilesLoader.cs
- AccessDataSourceView.cs
- StoreConnection.cs
- HttpValueCollection.cs
- GridEntry.cs
- OverflowException.cs
- BCLDebug.cs
- XmlILIndex.cs
- CriticalFinalizerObject.cs
- EntitySqlQueryState.cs
- StorageSetMapping.cs
- ImageCodecInfoPrivate.cs
- ScriptResourceHandler.cs
- MinMaxParagraphWidth.cs
- DesignerEventService.cs
- BindingContext.cs
- DbConnectionPool.cs
- RequestSecurityToken.cs
- SafeTokenHandle.cs
- ListViewHitTestInfo.cs
- WpfXamlMember.cs
- TlsnegoTokenAuthenticator.cs
- RSAPKCS1SignatureFormatter.cs
- GridLengthConverter.cs
- SinglePageViewer.cs
- MetadataUtil.cs
- PermissionListSet.cs
- ThreadPool.cs
- ToolBarButton.cs
- CharacterBufferReference.cs
- DragEvent.cs
- ServiceModelPerformanceCounters.cs
- CodeDOMProvider.cs
- SelfIssuedAuthAsymmetricKey.cs
- DataObjectCopyingEventArgs.cs
- WindowsComboBox.cs
- NamedPipeAppDomainProtocolHandler.cs
- TriggerCollection.cs
- PluggableProtocol.cs
- FormatStringEditor.cs
- CollectionChangeEventArgs.cs
- ISFTagAndGuidCache.cs
- InputBinding.cs
- CommandID.cs
- IpcClientChannel.cs
- DialogWindow.cs
- StatusCommandUI.cs
- ColorConvertedBitmap.cs
- InvalidStoreProtectionKeyException.cs
- MultiAsyncResult.cs
- SemanticKeyElement.cs
- Currency.cs
- WebServiceMethodData.cs
- ThreadStaticAttribute.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- FilterQuery.cs
- InvalidDataContractException.cs
- SourceInterpreter.cs
- MDIWindowDialog.cs
- SpeechSeg.cs
- HotSpotCollection.cs
- DbMetaDataColumnNames.cs
- StatusBarItem.cs
- InvalidOleVariantTypeException.cs
- EntityConnectionStringBuilderItem.cs
- XmlSerializerAssemblyAttribute.cs
- ValidationSummary.cs
- PreProcessor.cs
- HuffCodec.cs
- ToolStripStatusLabel.cs
- KeyNotFoundException.cs
- HyperLinkStyle.cs
- CategoryGridEntry.cs
- ModelProperty.cs
- OdbcInfoMessageEvent.cs
- Win32.cs
- NullExtension.cs
- DataSvcMapFileSerializer.cs
- ToolStripItemCollection.cs
- MenuItemBinding.cs
- Events.cs