IsEmpty() public method

public IsEmpty ( ) : bool
return bool
示例#1
0
 public bool IsEmpty()
 {
     return(Address.IsEmpty() &&
            Contact.IsEmpty() &&
            !BusinessType.HasValue &&
            string.IsNullOrWhiteSpace(Name) &&
            string.IsNullOrWhiteSpace(RegistrationNumber));
 }
示例#2
0
 public bool IsEmpty()
 {
     return(Address.IsEmpty() &&
            string.IsNullOrWhiteSpace(Name) &&
            Contact.IsEmpty());
 }