IDocumentYieldExtensions Class
Namespace
Statiq.Common
Base Types
  • object
graph BT Type-->Base0["object"] Type["IDocumentYieldExtensions"] class Type type-node

Syntax

public static class IDocumentYieldExtensions

Methods

Name Return Value Summary
Yield<TDocument>(TDocument) IEnumerable<TDocument>
Returns a document enumerable given a single document. This is just a convenience method for converting a single document into an IEnumerable<T>.
static
YieldAsync<TDocument>(TDocument) Task<IEnumerable<TDocument>>
Returns a document enumerable given a single document. This is just a convenience method for converting a single document into an IEnumerable<T>.
static