This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static string FormatWith(this string format, object source) | |
{ | |
return FormatWith(format, null, source); | |
} | |
public static string FormatWith(this string format, IFormatProvider provider, object source) | |
{ | |
if (format == null) | |
throw new ArgumentNullException("format"); |
NewerOlder