Summary
Extensions for creating lookups from document sequences.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Documents - Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["ToLookupExtensions"]
class Type type-node
Syntax
public static class ToLookupExtensions
Methods
Name | 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.
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
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 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
|
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
|
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.
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.
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
|
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
|
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
|