CustomDocument.

GetStream() Method

Summary

Gets the content associated with this document as a System.IO.Stream. The underlying stream will be reset to position 0 each time this method is called. The stream you get from this call must be disposed as soon as reading is complete. Other threads will block on this call until the previously returned stream is disposed.
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Documents
Containing Type
CustomDocument

Syntax

public Stream GetStream()

Return Value

Type Description
Stream A System.IO.Stream of the content associated with this document.
GitHub