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() { return("Hosting Unit Key: " + HostingUnitKey.ToString() + "\n" + "Hosting Unit Name: " + HostingUnitName.ToString() + "\n" + "Price: " + price.ToString() + "\n" + "Area: " + Area.ToString() + "\n" + "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"); }
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" + "First Name: " + FirstName + "\n" + "LastName: " + LastName + "\n" + "MailAddress: " + MailAddress + "\n" + "Status: " + Status.ToString() + "\n" + "RegistrationDate: " + RegistrationDate.ToString() + "\n" + "EntryDate: " + EntryDate.ToString() + "\n" + "ReleaseDate: " + ReleaseDate.ToString() + "\n" + "Area: " + Area.ToString() + "\n" + "SubArea: " + SubArea + "\n" + "Type of unit: " + Type.ToString() + "\n" + "number of adoults: " + Adults.ToString() + "\n" + "number of children: " + Children.ToString() + "\n" + "want swimming pool? " + Pool.ToString() + "\n" + "want jacuzzi? " + Jacuzzi.ToString() + "\n" + "want a garden? " + Garden.ToString() + "\n" + "want children attractions? " + ChildrensAttractions.ToString() + "\n"); }
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"); }
public override string ToString() { return("Guest Request Key: " + GuestRequestKey.ToString() + "\n" + "PrivateName: " + PrivateName.ToString() + "\n" + "FamilyName: " + FamilyName.ToString() + "\n" + "Area: " + Area.ToString() + "\n" + "Sub Area: " + SubArea.ToString() + "\n" + "Type: " + Type.ToString() + "\n" + "Adults: " + Adults.ToString() + "\n" + "Children: " + Children.ToString() + "\n" + "Pool: " + Pool.ToString() + "\n" + "Jacuzzi " + Jacuzzi.ToString() + "\n" + "Garden: " + Garden.ToString() + "\n" + "Status: " + Status.ToString() + "\n" + "Mail Address: " + MailAddress.ToString() + "\n" + "Registration Date: " + RegistrationDate.ToString() + "\n" + "EntryDate: " + EntryDate.ToString() + "\n" + "ReleaseDate: " + ReleaseDate.ToString() + "\n" + "Synagogue: " + Synagogue.ToString() + "\n" + "Childrens Attractions: " + ChildrensAttractions.ToString() + "\n" ); }
public override string ToString() { return(PrivateName.ToString() + FamilyName.ToString() + MailAddress.ToString() + Status.ToString() + RegistrationDate.ToString() + EntryDate.ToString() + ReleaseDate.ToString() + Area.ToString() + Type.ToString() + Adults.ToString() + Children.ToString() + Pool.ToString() + Jacuzzi.ToString() + Garden.ToString() + ChildrensAttractions.ToString()); }