OptionTypeLinqExtensions Class

Summary

Provides extension methods for IEnumerable of IOption of T.
Namespace
FunctionalSharp.OptionTypes
Base Types
  • object
graph TD Base0["object"]-->Type Type["OptionTypeLinqExtensions"] class Type type-node

Syntax

public static class OptionTypeLinqExtensions

Methods

Name Value Summary
ToNullable<T>(IEnumerable<IOption<T>>) IEnumerable<T>
Turns all items into nullable values.
static
WithoutValue<T>(IEnumerable<IOption<T>>) IEnumerable<T>
Returns all elements without a value.
static
WithValue<T>(IEnumerable<IOption<T>>) IEnumerable<T>
Returns all elements with a value.
static