/// <summary> /// Returns the string value that was passed in, or an empty string if the value was null /// </summary> public static string NullObjectToEmptyString(this object input) { return(GeneralHelper.DenullString(input)); }
/// <summary> /// Returns the bool value that was passed in, or false if the value was null /// </summary> public static bool NullObjectToFalse(this object input) { return(GeneralHelper.DenullBoolean(input)); }
/// <summary> /// Returns the bool value that was passed in, or false if the value was null /// </summary> public static bool NullBoolToFalse(this bool?input) { return(GeneralHelper.DenullBoolean(input)); }