public override string ToString() { string isSubArea = SubArea != default(Enum_s.SubArea) ? " Specific Area: " + SubArea.ToString("g") : ""; return("Hosting Unit ID: " + HostingUnitKey.ToString() + " Hosting Unit Name: " + HostingUnitName + " Owner: " + Owner.ToString() + "\nArea: " + Area.ToString("g") + isSubArea + " Hosting Unit Type: " + Type + "\nYour Group: Adults- " + Adults.ToString() + " Children- " + Children.ToString() + " Special Additions: Pool- " + Pool.ToString() + " Jucuzzi- " + Jacuzzi.ToString() + " Garden- " + Garden.ToString() + " Attractions For Children- " + ChildrenAttractions.ToString() + "price for a day: " + Price.ToString() + '\n'); }
public override string ToString() { string isSubArea = SubArea != default(Enum_s.SubArea) ? " Specific Area: " + SubArea.ToString("g") : ""; return("Guest Request ID: " + GuestRequestKey.ToString() + " Name: " + FirstName + ' ' + LastName + " Mail Address: " + MailAddress + "\nOrder Status: " + Status.ToString("g") + " Application Date: " + RegistrationDate.ToString("d") + " Check In Date: " + EntryDate.ToString("d") + " Check Out Date: " + ReleaseDate.ToString("d") + "\nArea: " + Area.ToString("g") + isSubArea + " Hosting Unit Type: " + Type + "\nYour Group: Adults- " + Adults.ToString() + " Children- " + Children.ToString() + " Special Additions: Pool- " + Pool.ToString("g") + " Jucuzzi- " + Jacuzzi.ToString("g") + " Garden- " + Garden.ToString("g") + " Attractions For Children- " + ChildrenAttractions.ToString("g") + '\n'); }
public override string ToString() { string str = ""; str += "GuestRequest Key" + guestRequestKey + "\n"; str += client.ToString(); str += "\nThe request is from " + EntryDate.Day + "/" + EntryDate.Month + "/" + EntryDate.Year; str += " to " + ReleaseDate.Day + "/" + ReleaseDate.Month + "/" + ReleaseDate.Year; str += " for " + Adults + " adults and " + Children + " childrens\n"; str += (Pool.ToString() == "Necessary") ? "necessary with a pool\n" : ""; str += (Pool.ToString() == "Possible") ? "possible with a pool\n" : ""; str += (Jacuzzi.ToString() == "Necessary") ? "necessary with a jacuzzi\n" : ""; str += (Jacuzzi.ToString() == "Possible") ? "possible with a jacuzzi\n" : ""; str += (Garden.ToString() == "Necessary") ? "necessary with a garden\n" : ""; str += (Garden.ToString() == "Possible") ? "possible with a garden\n" : ""; str += (ChildrenAttractions.ToString() == "necessary") ? "necessary with a pool\n" : ""; str += (ChildrenAttractions.ToString() == "possible") ? "possible with a pool\n" : ""; return(str); }
public override string ToString() { return("Guest Request Key: " + GuestRequestKey.ToString() + "\n" + "Private Name: " + PrivateName.ToString() + "\n" + "Family Name: " + FamilyName.ToString() + "\n" + "Mail Address: " + MailAddress.ToString() + "\n" + "Request's status: " + Status.ToString() + "\n" + "Registration Date: " + RegistrationDate.ToString() + "\n" + "Entry Date: " + EntryDate.ToString() + "\n" + "Release Date: " + ReleaseDate.ToString() + "\n" + "Request Area: " + Area.ToString() + "\n" + "Request Type: " + Type.ToString() + "\n" + "Adults: " + Adults.ToString() + "\n" + "Children: " + Children.ToString() + "\n" + "Pool: " + Pool.ToString() + "\n" + "Jacuzzi " + Jacuzzi.ToString() + "\n" + "Garden: " + Garden.ToString() + "\n" + "Beach: " + Beach.ToString() + "\n" + "Attractions: " + ChildrenAttractions.ToString() + "\n" + "Minimum price: " + minPrice.ToString() + "\n" + "Maximum price: " + maxPrice.ToString() + "\n"); }