Click or drag to resize

MixedCodeDocument Class

Represents a document with mixed code and text. ASP, ASPX, JSP, are good example of such documents.
Inheritance Hierarchy
SystemObject
  WorkflowGen.My.HtmlAgilityPackMixedCodeDocument

Namespace:  WorkflowGen.My.HtmlAgilityPack
Assembly:  WorkflowGen.My (in WorkflowGen.My.dll) Version: 8.1.3.0 (8.1.3.20220620)
Syntax
public class MixedCodeDocument

The MixedCodeDocument type exposes the following members.

Constructors
  NameDescription
Public methodMixedCodeDocument
Creates a mixed code document instance.
Top
Properties
  NameDescription
Public propertyCode
Gets the code represented by the mixed code document seen as a template.
Public propertyCodeFragments
Gets the list of code fragments in the document.
Public propertyFragments
Gets the list of all fragments in the document.
Public propertyStreamEncoding
Gets the encoding of the stream used to read the document.
Public propertyTextFragments
Gets the list of text fragments in the document.
Top
Methods
  NameDescription
Public methodCreateCodeFragment
Create a code fragment instances.
Public methodCreateTextFragment
Create a text fragment instances.
Public methodLoad(Stream)
Loads a mixed code document from a stream.
Public methodLoad(TextReader)
Loads the mixed code document from the specified TextReader.
Public methodLoad(String)
Loads a mixed code document from a file.
Public methodLoad(Stream, Boolean)
Loads a mixed code document from a stream.
Public methodLoad(Stream, Encoding)
Loads a mixed code document from a stream.
Public methodLoad(String, Boolean)
Loads a mixed code document from a file.
Public methodLoad(String, Encoding)
Loads a mixed code document from a file.
Public methodLoad(Stream, Encoding, Boolean)
Loads a mixed code document from a stream.
Public methodLoad(String, Encoding, Boolean)
Loads a mixed code document from a file.
Public methodLoad(Stream, Encoding, Boolean, Int32)
Loads a mixed code document from a stream.
Public methodLoad(String, Encoding, Boolean, Int32)
Loads a mixed code document from a file.
Public methodLoadHtml
Loads a mixed document from a text
Public methodSave(Stream)
Saves the mixed document to the specified stream.
Public methodSave(StreamWriter)
Saves the mixed document to the specified StreamWriter.
Public methodSave(TextWriter)
Saves the mixed document to the specified TextWriter.
Public methodSave(String)
Saves the mixed document to the specified file.
Public methodSave(Stream, Encoding)
Saves the mixed document to the specified stream.
Public methodSave(String, Encoding)
Saves the mixed document to the specified file.
Top
Fields
  NameDescription
Public fieldTokenCodeEnd
Gets or sets the token representing code end.
Public fieldTokenCodeStart
Gets or sets the token representing code start.
Public fieldTokenDirective
Gets or sets the token representing code directive.
Public fieldTokenResponseWrite
Gets or sets the token representing response write directive.
Top
See Also