Exemplo n.º 1
0
 public static string Parse(PostCode postCode)
 {
     if (string.IsNullOrEmpty(postCode.InwardCode) || string.IsNullOrEmpty(postCode.OutwardCode))
     {
         return(string.Empty);
     }
     return(string.Format("{0} {1}", postCode.InwardCode.Trim().ToUpper(), postCode.OutwardCode.Trim().ToUpper()));
 }
Exemplo n.º 2
0
 public Address()
 {
     PostCode = new PostCode();
 }
Exemplo n.º 3
0
 public Address()
 {
     PostCode = new PostCode();
 }
Exemplo n.º 4
0
 public static string Parse(PostCode postCode)
 {
     if (string.IsNullOrEmpty(postCode.InwardCode) || string.IsNullOrEmpty(postCode.OutwardCode))
         return string.Empty;
     return string.Format("{0} {1}", postCode.InwardCode.Trim().ToUpper(), postCode.OutwardCode.Trim().ToUpper());
 }