backports data type service updates and fixes unit tests with correct seeding value.
This commit is contained in:
@@ -439,6 +439,16 @@ namespace Umbraco.Core
|
||||
return String.Format(CultureInfo.InvariantCulture, format, args);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Converts an integer to an invariant formatted string
|
||||
/// </summary>
|
||||
/// <param name="str"></param>
|
||||
/// <returns></returns>
|
||||
public static string ToInvariantString(this int str)
|
||||
{
|
||||
return str.ToString(CultureInfo.InvariantCulture);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Compares 2 strings with invariant culture and case ignored
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user