Enum TrySingleError
- Namespace
- Badeend.Results.Extensions
- Assembly
- Badeend.Result.dll
Error returned by TrySingle<T>(IEnumerable<T>).
public enum TrySingleError
Fields
[ErrorMessage("Sequence contains more than one element.")] MoreThanOneElement = 1
The sequence produced more than one element.
[ErrorMessage("Sequence is empty.")] NoElements = 0
The sequence did not produce any elements.