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