IsNullOrWhiteSpace
string.IsNullOrWhiteSpace() 内部参数为null时,用Trim() 报错。
System.NullReferenceException:“Object reference not set to an instance of an object.”
IMTC.WMS.Model.xxx.get 返回 null。
string.IsNullOrWhiteSpace() 内部参数为null时,用Trim() 报错。
System.NullReferenceException:“Object reference not set to an instance of an object.”
IMTC.WMS.Model.xxx.get 返回 null。