Beispiel #1
0
 public static bool Type <T>(this IRolCan me) => me.AllTypes(typeof(T));
Beispiel #2
0
 // Three types
 public static bool AllTypes <T1, T2, T3>(this IRolCan me) => me.AllTypes(typeof(T1), typeof(T2), typeof(T3));
Beispiel #3
0
 // Only one type
 public static bool Type(this IRolCan me, Type type) => me.AllTypes(type);