Summary
Returns all documents that contain all of the specified metadata keys.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Documents - Containing Type
- CollectionExtensions
Syntax
public static IEnumerable<IDocument> WhereContainsAllKeys(this IEnumerable<IDocument> documents, params string[] metadataKeys)
Parameters
Name | Type | Description |
---|---|---|
documents | IEnumerable |
The documents. |
metadataKeys | string[] | The metadata keys. |
Return Value
Type | Description |
---|---|
IEnumerable |
All documents that contain all of the specified metadata keys. |