Extensions for creating lookups from document sequences.
- Namespace
- Statiq
.Common - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["IDocumentToLookupExtensions"]
class Type type-node
Syntax
public static class IDocumentToLookupExtensions
Methods
Name | Return Value | Summary |
---|---|---|
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.
static
|
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.
static
|
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.
static
|
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.
static
|
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.
static
|
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.
static
|
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.
static
|
ToLookupMany |
ILookup |
Creates a lookup from a sequence of documents according to a specified metadata key
that contains a sequence of keys.
static
|
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.
static
|
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.
static
|