Esempio 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));
 }
Esempio 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));
 }
Esempio n. 3
0
 public static Switch Case <T>(this Switch s, Action <T> a)  where T : class
 {
     return(Case(s, o => true, a, false));
 }