CollectionExtensions Class

Summary

Extensions for working with specific types of collections.
Assembly
Wyam.Common.dll
Namespace
Wyam.Common.Documents
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["CollectionExtensions"] class Type type-node

Syntax

public static class CollectionExtensions

Methods

Name Value Summary
WhereContainsAllKeys(IEnumerable<IDocument>, string[]) IEnumerable<IDocument>
Returns all documents that contain all of the specified metadata keys.
static
WhereContainsAnyKeys(IEnumerable<IDocument>, string[]) IEnumerable<IDocument>
Returns all documents that contain any of the specified metadata keys.
static
WhereContainsKey(IEnumerable<IDocument>, string) IEnumerable<IDocument>
Returns all documents that contain the specified metadata key.
static
GitHub