Example #1
0
 public static bool AllLocations(this IRolCan me, params LocationDao[] locations) => me.ByAll(locations);
Example #2
0
 // Many types
 public static bool AllTypes(this IRolCan me, params Type[] types) => me.ByAll(types.Select(t => Factory.Get <TypeDiscriminatorFactory>().FromType(t)).ToArray());