- Namespace
- Statiq
.Common - Containing Type
- I
Document Enumerable Extensions
Syntax
public static TDocument FirstOrDefaultDestination<TDocument>(this IEnumerable<TDocument> documents, params string[] patterns)
where TDocument : IDocument
Type Parameters
| Name | Description |
|---|---|
| TDocument |
Parameters
| Name | Type | Description |
|---|---|---|
| documents | IEnumerable |
|
| patterns | string[] |
Return Value
| Type | Description |
|---|---|
| TDocument |