Adds parent id option, finally getting some examine tests passing

This commit is contained in:
Shannon
2016-04-26 15:48:25 +02:00
parent af95e4bb29
commit 2de8f5117c
14 changed files with 49 additions and 50 deletions

View File

@@ -457,7 +457,7 @@ namespace Umbraco.Core
/// <returns>The is null or white space.</returns>
public static bool IsNullOrWhiteSpace(this string str)
{
return (str == null) || (str.Trim().Length == 0);
return string.IsNullOrWhiteSpace(str);
}
public static string IfNullOrWhiteSpace(this string str, string defaultValue)