Method

ToHashSetOrException

static func ToHashSetOrException<T>(self: IEnumerable<T>) -> Result<HashSet<T>, Exception>

Type: EnumerableOption<T>
Namespace: System.Linq
Assembly: Raven.Core.dll
Source file: LinqExtensions.rvn

Materializes the sequence as a hash set and captures any exception as an error.