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
- ViewStateException.cs
- MimeBasePart.cs
- RangeValidator.cs
- DataColumn.cs
- UIElementParaClient.cs
- PeerNameRegistration.cs
- DataPointer.cs
- SafePointer.cs
- _NestedSingleAsyncResult.cs
- DbInsertCommandTree.cs
- DataBoundControlHelper.cs
- SupportsPreviewControlAttribute.cs
- DateTimeOffset.cs
- SchemaImporterExtensionElement.cs
- NativeMethods.cs
- MinimizableAttributeTypeConverter.cs
- DesignerActionMethodItem.cs
- GeometryDrawing.cs
- PrinterSettings.cs
- TagElement.cs
- ScaleTransform.cs
- KnownTypesHelper.cs
- SymbolType.cs
- PbrsForward.cs
- SelectorItemAutomationPeer.cs
- UnsafeNativeMethods.cs
- WebRequestModuleElementCollection.cs
- ObjectDataSourceView.cs
- TextPatternIdentifiers.cs
- Attributes.cs
- SynthesizerStateChangedEventArgs.cs
- RecognizedAudio.cs
- DesignerDataTable.cs
- MaterializeFromAtom.cs
- FieldDescriptor.cs
- GridItemProviderWrapper.cs
- XmlSchemaIdentityConstraint.cs
- lengthconverter.cs
- LayoutManager.cs
- TrackingRecord.cs
- TCPClient.cs
- ButtonField.cs
- DesignOnlyAttribute.cs
- SystemIPGlobalProperties.cs
- SQLSingleStorage.cs
- ColumnMap.cs
- odbcmetadatafactory.cs
- ListViewEditEventArgs.cs
- SocketException.cs
- ResourcePart.cs
- HierarchicalDataBoundControlAdapter.cs
- _BasicClient.cs
- ExtensibleClassFactory.cs
- KnownColorTable.cs
- TypeToken.cs
- DataObject.cs
- PrePostDescendentsWalker.cs
- AssemblyNameProxy.cs
- CheckBoxFlatAdapter.cs
- PeerNodeAddress.cs
- GridEntryCollection.cs
- DataGridViewCellConverter.cs
- safelinkcollection.cs
- WebScriptMetadataMessage.cs
- SerialPinChanges.cs
- HtmlTitle.cs
- ToolBarTray.cs
- SiteMap.cs
- ToolStripGripRenderEventArgs.cs
- GridEntry.cs
- DiscoveryInnerClientAdhoc11.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- ConfigViewGenerator.cs
- VisualState.cs
- TraceSection.cs
- HttpListenerRequest.cs
- EpmSourceTree.cs
- FacetDescription.cs
- OneWayBindingElement.cs
- CodeCatchClauseCollection.cs
- DemultiplexingClientMessageFormatter.cs
- ExpressionBuilderCollection.cs
- ObjectHandle.cs
- HtmlInputFile.cs
- SizeValueSerializer.cs
- ConfigurationStrings.cs
- SID.cs
- TextProviderWrapper.cs
- MSG.cs
- ProcessHost.cs
- IDQuery.cs
- EraserBehavior.cs
- DbConnectionPool.cs
- Function.cs
- DeploymentSection.cs
- DetailsViewUpdateEventArgs.cs
- MailWriter.cs
- PropertyRecord.cs
- SuppressMessageAttribute.cs
- TemplateModeChangedEventArgs.cs