Method
ToHashSetOrException
func ToHashSetOrException<T>() -> Result<HashSet<T>, Exception>
Declaring type: EnumerableOption<T>
Namespace: System.Linq
Assembly: Raven.Core.dll
Source file: LinqExtensions.rvn
Extension from EnumerableOption<T>.ToHashSetOrException
Materializes the sequence as a hash set and captures any exception as an error.
Parameters
| Name | Type | Description |
|---|---|---|
self |
IEnumerable<T> |
Return value
Result<HashSet<T>, Exception>