internal static string Format(string resourceFormat, object p1, object p2, object p3) { if (UsingResourceKeys()) { return(StringEx.Join(", ", resourceFormat, p1, p2, p3)); } return(string.Format(resourceFormat, p1, p2, p3)); }
internal static string Format(string resourceFormat, params object [] args) { if (args != null) { if (UsingResourceKeys()) { return(resourceFormat + StringEx.Join(", ", args)); } return(string.Format(resourceFormat, args)); } return(resourceFormat); }
public static string Join <T>([NotNull, InstantHandle] this IEnumerable <T> values) => // ReSharper disable once BuiltInTypeReferenceStyle StringClass.Join("", values);
public static string Join <T>([NotNull, InstantHandle] this IEnumerable <T> values, [CanBeNull] string separator) => // ReSharper disable once BuiltInTypeReferenceStyle StringClass.Join(separator, values);