Implemented much more of the new tree api structure. Have converted most of the content tree over to use it.

This commit is contained in:
Shannon
2013-07-30 13:29:05 +10:00
parent bf1f78e3aa
commit b3b2b5b9ee
23 changed files with 664 additions and 427 deletions

View File

@@ -436,6 +436,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>