Method

ToHashSetOrError

static func ToHashSetOrError<T, E>(self: IEnumerable<T>, errorFactory: Exception -> E) -> Result<HashSet<T>, E>

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

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