![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
|
static |
Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists.
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. |
InvalidOperationException | The sequence is empty. |
TData | : | AzureDocumentDbEntity |