public static CompareWithSet <U> NotInSet <U>(ICollection <U> col, bool passNull = true, string messageTemplate = null) { return(messageTemplate == null ? new CompareWithSet <U>(CollectionUtil.AsSet(col), false, passNull) : new CompareWithSet <U>(CollectionUtil.AsSet(col), false, passNull, messageTemplate)); }