FirstOrDefaultSource<TDocument>(IEnumerable<TDocument>, string[]) Method
Namespace
Statiq.Common
Containing Type
IDocumentEnumerableExtensions

Syntax

public static TDocument FirstOrDefaultSource<TDocument>(this IEnumerable<TDocument> documents, params string[] patterns) 
    where TDocument : IDocument

Type Parameters

Name Description
TDocument

Parameters

Name Type Description
documents IEnumerable<TDocument>
patterns string[]

Return Value

Type Description
TDocument