![]() |
CQRS.NET
2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
|
static |
Returns the first element of a sequence, or a default value if the sequence contains no elements.
predicate | A function to test an element for a condition. |
source | The sequence to type as IEnumerable<T>. |
TData | The type of the elements of source. |
ArgumentNullException | predicate is null. |
TData | : | AzureDocumentDbEntity |