Refactor variations

This commit is contained in:
Stephan
2018-06-20 14:18:57 +02:00
parent a697608529
commit ecf9a928d7
56 changed files with 1121 additions and 897 deletions

View File

@@ -1504,7 +1504,7 @@ namespace Umbraco.Core
/// <summary>
/// Turns an null-or-whitespace string into a null string.
/// </summary>
public static string NullEmpty(this string text)
public static string NullOrWhiteSpaceAsNull(this string text)
=> string.IsNullOrWhiteSpace(text) ? null : text;
}
}