Contains a collection of documents output by pipelines.
- Namespace
- Statiq
.Common - Interfaces
-
- IEnumerable
<IDocument> - IEnumerable
- IDocumentPathTree
<IDocument> - IDocumentTree
<IDocument>
- IEnumerable
- Implementing Types
graph BT
Type-.->Interface0["IEnumerable<IDocument>"]
Type-.->Interface1["IEnumerable"]
Type-.->Interface2["IDocumentPathTree<IDocument>"]
Type-.->Interface3["IDocumentTree<IDocument>"]
Type["IPipelineOutputs"]
class Type type-node
Implementing0["TestPipelineOutputs"]-.->Type
click Implementing0 "/api/Statiq.Testing/TestPipelineOutputs"
Syntax
public interface IPipelineOutputs : IEnumerable<IDocument>, IEnumerable,
IDocumentPathTree<IDocument>, IDocumentTree<IDocument>
Properties
Name | Property Type | Summary |
---|---|---|
this[string[]] | FilteredDocumentList |
Returns documents with destination paths from all pipelines that satisfy the globbing pattern(s),
ordering documents in descending order of their timestamp
(I.e. the most recently created documents are returned first).
|
Methods
Name | Return Value | Summary |
---|---|---|
ByPipeline |
IReadOnlyDictionary |
Gets documents by pipeline.
|
ExceptPipeline |
DocumentList |
Gets all documents output by every pipeline except those from the
specified pipeline in their natural output order.
|
FromPipeline |
DocumentList |
Gets documents from a specific pipeline in their natural output order from the pipeline.
|
GetDestination |
IDocument |
Gets the first document in the list with the given destination path.
|
GetRelativeSource |
IDocument |
Gets the first document in the list with the given relative source path
(since source paths are generally absolute, this tests against the source path relative to it's input path).
|
GetSource |
IDocument |
Gets the first document in the list with the given source path (note that source paths are generally absolute).
|
Extension Methods
Name | Value | Summary |
---|---|---|
AsDestinationTree |
DocumentPathTree |
|
AsMetadataTree |
DocumentMetadataTree |
|
AsSourceTree |
DocumentPathTree |
|
Concat |
IEnumerable |
|
ContainsById |
bool | |
ExceptPipelines |
DocumentList |
Gets and concatenates all documents from multiple pipelines.
Note that if a document exists in more than one pipeline it
may appear multiple times in the result.
|
FilterAsync |
IAsyncEnumerable |
Filters the documents.
From ConfigExtensions
|
FilterAsync |
IAsyncEnumerable |
Filters the documents using "or" logic on multiple predicates.
From ConfigExtensions
|
FilterDestinations |
FilteredDocumentList |
Filters the documents by destination.
|
FilterDestinations |
FilteredDocumentList |
Filters the documents by destination.
|
FilterSources |
FilteredDocumentList |
Filters the documents by source.
|
FilterSources |
FilteredDocumentList |
Filters the documents by source.
|
First |
TDocument | |
First |
TDocument | |
FirstOrDefaultSource |
TDocument | |
FirstOrDefaultSource |
TDocument | |
Flatten |
DocumentList |
Flattens a tree structure.
|
Flatten |
DocumentList |
Flattens a tree structure.
|
Flatten |
DocumentList |
Flattens a tree structure.
|
FromPipelines |
DocumentList |
Gets and concatenates all documents from multiple pipelines.
Note that if a document exists in more than one pipeline it
may appear multiple times in the result.
|
GetAncestorsOf |
DocumentList |
|
GetAncestorsOf |
DocumentList |
|
GetAncestorsOf |
DocumentList |
|
GetChildrenOf |
DocumentList |
|
GetDescendantsOf |
DocumentList |
|
GetDescendantsOf |
DocumentList |
|
GetDescendantsOf |
DocumentList |
|
GetNext |
T | |
GetNext |
T | |
GetParentOf |
TDocument | |
GetPrevious |
T | |
GetPrevious |
T | |
GetSiblingsOf |
DocumentList |
|
GetSiblingsOf |
DocumentList |
|
GetSiblingsOf |
DocumentList |
|
GroupBy |
IEnumerable |
Groups the elements of a sequence of documents and the values of a specified metadata key
using the value of the specified element metadata for the elements of the group
and compares the keys by using a specified comparer.
If a document does not contain the specified key or element metadata keys, it is not included in the result set.
|
GroupBy |
IEnumerable |
Groups the elements of a sequence of documents and the values of a specified metadata key
using the value of the specified element metadata for the elements of the group.
If a document does not contain the specified key or element metadata keys, it is not included in the result set.
|
GroupBy |
IEnumerable |
Groups the elements of a sequence of documents and the values of a specified metadata key
and compares the keys by using a specified comparer.
If a document does not contain the specified metadata key, it is not included in the result set.
|
GroupBy |
IEnumerable |
Groups the elements of a sequence of documents using the values of a specified metadata key.
If a document does not contain the specified metadata key, it is not included in the result set.
|
GroupByMany |
IEnumerable |
Groups the elements of a sequence of documents according to a specified metadata key
that contains a sequence of keys.
The keys are compared by using a comparer and each group's elements
are obtained by using a specified metadata key.
|
GroupByMany |
IEnumerable |
Groups the elements of a sequence of documents according to a specified metadata key
that contains a sequence of keys
and gets the elements for each group by using a specified metadata key.
|
GroupByMany |
IEnumerable |
Groups the elements of a sequence of documents according to a specified metadata key
that contains a sequence of keys
and compares the keys by using a specified comparer.
|
GroupByMany |
IEnumerable |
Groups the elements of a sequence of documents according to a specified metadata key
that contains a sequence of keys.
|
GroupByMany |
IEnumerable |
Groups the elements of a sequence according to a specified key selector function
that returns a sequence of keys.
The keys are compared by using a comparer and each group's elements
are projected by using a specified function.
From GroupByExtensions
|
GroupByMany |
IEnumerable |
Groups the elements of a sequence according to a specified key selector function
that returns a sequence of keys
and projects the elements for each group by using a specified function.
From GroupByExtensions
|
GroupByMany |
IEnumerable |
Groups the elements of a sequence according to a specified key selector function
that returns a sequence of keys
and compares the keys by using a specified comparer.
From GroupByExtensions
|
GroupByMany |
IEnumerable |
Groups the elements of a sequence according to a specified key selector function
that returns a sequence of keys.
From GroupByExtensions
|
GroupByManyToMany |
IEnumerable |
Groups the elements of a sequence of documents according to a specified metadata key
that contains a sequence of keys.
The keys are compared by using a comparer and each group's elements
are obtained by using a specified metadata key.
|
GroupByManyToMany |
IEnumerable |
Groups the elements of a sequence of documents according to a specified metadata key
that contains a sequence of keys
and gets the elements for each group by using a specified metadata key.
|
GroupByManyToMany |
IEnumerable |
Groups the elements of a sequence according to a specified key selector function
that returns a sequence of keys.
The keys are compared by using a comparer and each group's elements
are projected by using a specified function
that returns a sequence of elements.
From GroupByExtensions
|
GroupByManyToMany |
IEnumerable |
Groups the elements of a sequence according to a specified key selector function
that returns a sequence of keys
and projects the elements for each group by using a specified function
that returns a sequence of elements.
From GroupByExtensions
|
ParallelForEachAsync |
Task | |
ParallelSelectAsync |
Task |
Invokes an async selector in parallel.
|
Parallel |
Task |
Invokes an async selector that returns multiple results in parallel.
|
ParallelWhereAsync |
Task |
|
Remove |
IEnumerable |
Removes tree placeholder documents (this method will not flatten a tree).
|
Should |
TDocument |
From ShouldExtensions
|
Should |
TDocument |
From ShouldExtensions
|
Should |
void |
From ShouldExtensions
|
ShouldNotHaveSource |
void |
From ShouldExtensions
|
StartsWith |
bool |
Determines whether the items starts with the specified values.
|
StartsWith |
bool |
Determines whether the items starts with the specified values.
|
ThrowIfNull |
T |
From GuardExtensions
|
ToDocument |
IDocument | |
ToDocument |
IDocument | |
ToDocument |
IDocument | |
ToDocument |
IDocument | |
ToDocument |
IDocument | |
ToDocument |
IDocument | |
ToDocumentList |
DocumentList |
|
ToDocuments |
IEnumerable |
|
ToDocuments |
IEnumerable |
|
ToDocuments |
IEnumerable |
|
ToDocuments |
IEnumerable |
|
ToDocuments |
IEnumerable |
|
ToDocuments |
IEnumerable |
|
To |
ImmutableArray |
Creates an immutable array from the specified document collection and removes null items.
|
ToJson |
string | |
ToLookup |
ILookup |
Creates a lookup from a sequence of documents and the values of a specified metadata key
using the value of the specified element metadata for the elements of the lookup
and compares the keys by using a specified comparer.
If a document does not contain the specified key or element metadata keys, it is not included in the result set.
|
ToLookup |
ILookup |
Creates a lookup from a sequence of documents and the values of a specified metadata key
using the value of the specified element metadata for the elements of the lookup.
If a document does not contain the specified key or element metadata keys, it is not included in the result set.
|
ToLookup |
ILookup |
Creates a lookup from a sequence of documents and the values of a specified metadata key
and compares the keys by using a specified comparer.
If a document does not contain the specified metadata key, it is not included in the result set.
|
ToLookup |
ILookup |
Creates a lookup from a sequence of documents using the values of a specified metadata key.
If a document does not contain the specified metadata key, it is not included in the result set.
|
ToLookupMany |
ILookup |
Creates a lookup from a sequence of documents according to a specified metadata key
that contains a sequence of keys.
The keys are compared by using a comparer and each group's elements
are obtained by using a specified metadata key.
|
ToLookupMany |
ILookup |
Creates a lookup from a sequence of documents according to a specified metadata key
that contains a sequence of keys
and gets the elements for each group by using a specified metadata key.
|
ToLookupMany |
ILookup |
Creates a lookup from a sequence of documents according to a specified metadata key
that contains a sequence of keys
and compares the keys by using a specified comparer.
|
ToLookupMany |
ILookup |
Creates a lookup from a sequence of documents according to a specified metadata key
that contains a sequence of keys.
|
ToLookupMany |
ILookup |
Creates a lookup from a sequence according to a specified key selector function
that returns a sequence of keys.
The keys are compared by using a comparer and each group's elements
are projected by using a specified function.
From ToLookupExtensions
|
ToLookupMany |
ILookup |
Creates a lookup from a sequence according to a specified key selector function
that returns a sequence of keys
and projects the elements for each group by using a specified function.
From ToLookupExtensions
|
ToLookupMany |
ILookup |
Creates a lookup from a sequence according to a specified key selector function
that returns a sequence of keys
and compares the keys by using a specified comparer.
From ToLookupExtensions
|
ToLookupMany |
ILookup |
Creates a lookup from a sequence according to a specified key selector function
that returns a sequence of keys.
From ToLookupExtensions
|
ToLookupManyToMany |
ILookup |
Creates a lookup from a sequence of documents according to a specified metadata key
that contains a sequence of keys.
The keys are compared by using a comparer and each group's elements
are obtained by using a specified metadata key.
|
ToLookupManyToMany |
ILookup |
Creates a lookup from a sequence of documents according to a specified metadata key
that contains a sequence of keys
and gets the elements for each group by using a specified metadata key.
|
ToLookupManyToMany |
ILookup |
Creates a lookup from a sequence according to a specified key selector function
that returns a sequence of keys.
The keys are compared by using a comparer and each group's elements
are projected by using a specified function
that returns a sequence of elements.
From ToLookupExtensions
|
ToLookupManyToMany |
ILookup |
Creates a lookup from a sequence according to a specified key selector function
that returns a sequence of keys
and projects the elements for each group by using a specified function
that returns a sequence of elements.
From ToLookupExtensions
|
ToStringTable |
string | |
WhereContainsAllKeys |
DocumentList |
Returns all documents that contain all of the specified metadata keys.
|
WhereContainsAnyKeys |
DocumentList |
Returns all documents that contain any of the specified metadata keys.
|
WhereContainsKey |
DocumentList |
Returns all documents that contain the specified metadata key.
|