Exemplo n.º 1
0
 public static Switch Case <T>(this Switch s, Action <T> a, bool fallThrough) where T : class
 {
     return(Case(s, o => true, a, fallThrough));
 }
Exemplo n.º 2
0
 public static Switch Case <T>(this Switch s, Func <T, bool> c, Action <T> a) where T : class
 {
     return(Case(s, c, a, false));
 }
Exemplo n.º 3
0
 public static Switch Case <T>(this Switch s, Action <T> a)  where T : class
 {
     return(Case(s, o => true, a, false));
 }