MixedCodeDocument Members

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image

The MixedCodeDocument type exposes the following members.

Constructors

  NameDescription
Public methodMixedCodeDocument
Creates a mixed code document instance.

Methods

  NameDescription
Public methodCreateCodeFragment
Create a code fragment instances.
Public methodCreateTextFragment
Create a text fragment instances.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
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
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

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.

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.

See Also