Summary
Returns all documents that contain any of the specified metadata keys.
- Assembly
- Wyam
.Common .dll - Namespace
- Wyam
.Common .Documents - Containing Type
- CollectionExtensions
Syntax
public static IEnumerable<IDocument> WhereContainsAnyKeys(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 any of the specified metadata keys. |