public static Task Apply <TUnionType, TUnionDefinition, TOne, TTwo, TThree>(this IUnionTask <IUnionValue <UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo, TThree> > > union, Action <TOne> one, Action <TTwo> two, Action <TThree> three)
     where TUnionType : struct
     where TUnionDefinition : notnull, UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo, TThree>
     where TOne : notnull
     where TTwo : notnull
     where TThree : notnull
 => union.Do(one, two, three);
 public static Task Apply <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive, TSix>(this IUnionTask <IUnionValue <UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive, TSix> > > union, Action <TOne> one, Action <TTwo> two, Action <TThree> three, Action <TFour> four, Action <TFive> five, Action <TSix> six)
     where TUnionType : struct
     where TUnionDefinition : notnull, UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive, TSix>
     where TOne : notnull
     where TTwo : notnull
     where TThree : notnull
     where TFour : notnull
     where TFive : notnull
     where TSix : notnull
 => union.Do(one, two, three, four, five, six);
Example #3
0
 public static Task Apply <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive, TSix, TSeven, TEight>(this IUnionTask <IUnionValue <UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive, TSix, TSeven, TEight> > > union, Action <TOne> one, Action <TTwo> two, Action <TThree> three, Action <TFour> four, Action <TFive> five, Action <TSix> six, Action <TSeven> seven, Action <TEight> eight)
     where TUnionType : struct
     where TUnionDefinition : UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive, TSix, TSeven, TEight>
 => union.Do(one, two, three, four, five, six, seven, eight);
Example #4
0
 public static Task Apply <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive>(this IUnionTask <IUnionValue <UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive> > > union, Action <TOne> one, Action <TTwo> two, Action <TThree> three, Action <TFour> four, Action <TFive> five)
     where TUnionType : struct
     where TUnionDefinition : UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive>
 => union.Do(one, two, three, four, five);
Example #5
0
 public static Task Apply <TUnionType, TUnionDefinition, TOne, TTwo>(this IUnionTask <IUnionValue <UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo> > > union, Action <TOne> one, Action <TTwo> two)
     where TUnionType : struct
     where TUnionDefinition : UnionDefinitionBase <TUnionType, TUnionDefinition, TOne, TTwo>
 => union.Do(one, two);
 public static Task Apply <TUnionType, TUnionDefinition, TOne>(this IUnionTask <IUnionValue <UnionDefinitionBase <TUnionType, TUnionDefinition, TOne> > > union, Action <TOne> one)
     where TUnionType : struct
     where TUnionDefinition : notnull, UnionDefinitionBase <TUnionType, TUnionDefinition, TOne>
     where TOne : notnull
 => union.Do(one);