Пример #1
0
 public TrackInfo(string trackingNumber,
     Carrier carrier,
     TrackStatus status,
     string details,
     DateTime localTime,
     Address? location)
     : this()
 {
     TrackingNumber = trackingNumber;
       Carrier = carrier;
       Status = status;
       Details = details;
       LocalTime = localTime;
       Location = location;
 }
Пример #2
0
        private Address getDefaultAddress()
        {
            var result = new Address
              {
            Name = "Stan Ulam",
            Country = "US",
            State = "NM",
            City = "Los Alamos",
            EMail = "*****@*****.**",
            Street1 = "587 Kiva Street",
            PostalCode = "87544",
            Phone = "(333) 777-77-77"
              };

              return result;
        }