Exemplo n.º 1
0
 public static void Apply <TUnionType, TUnionDefinition, TOne, TTwo, TThree>(this 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);
Exemplo n.º 2
0
 public static void Apply <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive, TSix>(this 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);
Exemplo n.º 3
0
 public static void Apply <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive, TSix, TSeven, TEight>(this 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);
Exemplo n.º 4
0
 public static void Apply <TUnionType, TUnionDefinition, TOne, TTwo, TThree, TFour, TFive>(this 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);
Exemplo n.º 5
0
 public static void Apply <TUnionType, TUnionDefinition, TOne, TTwo>(this 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);
Exemplo n.º 6
0
 public static void Apply <TUnionType, TUnionDefinition, TOne>(this 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);