namespace FileFlows.Web; /// /// Extension methods /// internal static class ExtensionMethods { /// /// Returns an empty string as null, otherwise returns the original string /// /// the input string /// the string or null if empty public static string? EmptyAsNull(this string str) { return str == string.Empty ? null : str; } }