Loading files
797882a6aThis file is pinned to the selected release. Download the original to open it in your design tool.
namespace IDE.Controls
{
using System.Globalization;
public static class Extensions
{
/// <summary>
/// Extend the string constructor with a string.Format like syntax.
/// </summary>
/// <param name="s"></param>
/// <param name="args"></param>
/// <returns></returns>
public static string FormatWith(this string s, params object[] args)
{
return string.Format(CultureInfo.InvariantCulture, s, args);
}
}
}