Ejemplo n.º 1
0
 public override string ToString()
 {
     return("Hosting unit key: " + HostingUnitKey.ToString() + "/n" +
            "Guest request key: " + GuestRequestKey.ToString() + "/n" +
            "Order key: " + OrderKey.ToString() + "/n" +
            "Status: " + Status.ToString() + "/n" +
            "Orderd date: " + OrderDate.ToString() + "/n" +
            "Create date" + CreateDate.ToString() + "/n");
 }
Ejemplo n.º 2
0
 public override string ToString()
 {
     return
         ("Hosting Unit Key: " + HostingUnitKey.ToString() + "\n"
          + "Guest Request Key: " + GuestRequestKey.ToString() + "\n"
          + "Order Key: " + OrderKey.ToString() + "\n"
          + "Fee: " + Fee.ToString() + "\n"
          + "Status: " + Status.ToString() + "\n"
          + "Create Date: " + CreateDate.ToString() + "\n");
     //+ "Order Date: " + OrderDate.ToString() + "\n";
 }
Ejemplo n.º 3
0
 public override string ToString()
 {
     return("Hosting Unit ID: " + HostingUnitKey.ToString() + " Hosting Request ID: " + GuestRequestKey.ToString() +
            " Order ID: " + OrderKey.ToString() + " Order Status: " + Status + " Order Creation Date: " +
            CreateDate.ToString("d") + " Offer Date Submission: " + OrderDate.ToString("d"));
 }
Ejemplo n.º 4
0
        public override string ToString()
        {
            string text = "Hosting Unit Key: " + HostingUnitKey.ToString() + "Guest Request Key: " + GuestRequestKey.ToString() + "\n Order Key: " + OrderKey.ToString() + "\n The request was created on " + CreateDate.ToString() + "\nStatus: ";

            switch ((int)Status)
            {
            case 0:
                text += " Not answered";
                break;

            case 1:
                text += " The mail was sent";
                break;

            case 2:
                text += " Closed because the client was not interested";
                break;

            case 3:
                text += " Closed by answer to the client";
                break;
            }
            if ((int)Status > 0)
            {
                text += "\nOrderDate: " + OrderDate.ToString();
            }
            return(text);
        }