OptAndAllT1, T2, T3, T4(FuncOptT1, FuncOptT2, FuncOptT3, FuncOptT4) Method

Returns the tuple combining unwrapped values of the optionals if all of them are of Some variant; returns None otherwise.

Definition

Namespace: Orx.Fun.Option
Assembly: Orx.Fun.Option (in Orx.Fun.Option.dll) Version: 1.2.1+ea79806fa5e0e04bfdaef2a1916930e75e2cde74
C#
public static Opt<(T1 , T2 , T3 , T4 )> AndAll<T1, T2, T3, T4>(
	Func<Opt<T1>> opt1,
	Func<Opt<T2>> opt2,
	Func<Opt<T3>> opt3,
	Func<Opt<T4>> opt4
)

Parameters

opt1  FuncOptT1

[Missing <param name="opt1"/> documentation for "M:Orx.Fun.Option.Opt.AndAll``4(System.Func{Orx.Fun.Option.Opt{``0}},System.Func{Orx.Fun.Option.Opt{``1}},System.Func{Orx.Fun.Option.Opt{``2}},System.Func{Orx.Fun.Option.Opt{``3}})"]

opt2  FuncOptT2

[Missing <param name="opt2"/> documentation for "M:Orx.Fun.Option.Opt.AndAll``4(System.Func{Orx.Fun.Option.Opt{``0}},System.Func{Orx.Fun.Option.Opt{``1}},System.Func{Orx.Fun.Option.Opt{``2}},System.Func{Orx.Fun.Option.Opt{``3}})"]

opt3  FuncOptT3

[Missing <param name="opt3"/> documentation for "M:Orx.Fun.Option.Opt.AndAll``4(System.Func{Orx.Fun.Option.Opt{``0}},System.Func{Orx.Fun.Option.Opt{``1}},System.Func{Orx.Fun.Option.Opt{``2}},System.Func{Orx.Fun.Option.Opt{``3}})"]

opt4  FuncOptT4

[Missing <param name="opt4"/> documentation for "M:Orx.Fun.Option.Opt.AndAll``4(System.Func{Orx.Fun.Option.Opt{``0}},System.Func{Orx.Fun.Option.Opt{``1}},System.Func{Orx.Fun.Option.Opt{``2}},System.Func{Orx.Fun.Option.Opt{``3}})"]

Type Parameters

T1

[Missing <typeparam name="T1"/> documentation for "M:Orx.Fun.Option.Opt.AndAll``4(System.Func{Orx.Fun.Option.Opt{``0}},System.Func{Orx.Fun.Option.Opt{``1}},System.Func{Orx.Fun.Option.Opt{``2}},System.Func{Orx.Fun.Option.Opt{``3}})"]

T2

[Missing <typeparam name="T2"/> documentation for "M:Orx.Fun.Option.Opt.AndAll``4(System.Func{Orx.Fun.Option.Opt{``0}},System.Func{Orx.Fun.Option.Opt{``1}},System.Func{Orx.Fun.Option.Opt{``2}},System.Func{Orx.Fun.Option.Opt{``3}})"]

T3

[Missing <typeparam name="T3"/> documentation for "M:Orx.Fun.Option.Opt.AndAll``4(System.Func{Orx.Fun.Option.Opt{``0}},System.Func{Orx.Fun.Option.Opt{``1}},System.Func{Orx.Fun.Option.Opt{``2}},System.Func{Orx.Fun.Option.Opt{``3}})"]

T4

[Missing <typeparam name="T4"/> documentation for "M:Orx.Fun.Option.Opt.AndAll``4(System.Func{Orx.Fun.Option.Opt{``0}},System.Func{Orx.Fun.Option.Opt{``1}},System.Func{Orx.Fun.Option.Opt{``2}},System.Func{Orx.Fun.Option.Opt{``3}})"]

Return Value

OptValueTupleT1, T2, T3, T4

See Also