/// <summary> /// Indicates whether the passed in INullable's String value is null or a String with just blank /// characters in it. /// </summary> /// <param name="o">The INullable object to test</param> /// <returns>True if the object's IsNull property is true or its String value is blank</returns> public static bool IsNullOrBlank(INullable o) { if (o == null) { return(true); } if (o.IsNull) { return(true); } else { return(IsNullOrBlank(o.ToString())); } }