Represents an individual with a Name, Age, and Height. More...
Public Member Functions | |
EntryInformation (string name, int age, int height) | |
Constructor. | |
override string | ToString () |
Convert the entry into a string. In this case, a formatted string where name, age, and height are confined to columns. | |
Public Attributes | |
string | Name |
Name of this individual. | |
int | Age |
Age of this individual, in years. | |
int | Height |
Height of this individual, in inches. | |
Represents an individual with a Name, Age, and Height.
Definition at line 15 of file Strategy_ShowEntries_Class.cs.
|
inline |
Constructor.
name | Name of the individual. |
age | Age of the individual (in years). |
height | Height of the individual (in inches). |
Definition at line 38 of file Strategy_ShowEntries_Class.cs.
References EntryInformation.Age, EntryInformation.Height, and EntryInformation.Name.
|
inline |
Convert the entry into a string. In this case, a formatted string where name, age, and height are confined to columns.
Definition at line 51 of file Strategy_ShowEntries_Class.cs.
References EntryInformation.Age, EntryInformation.Height, and EntryInformation.Name.
int Age |
Age of this individual, in years.
Definition at line 25 of file Strategy_ShowEntries_Class.cs.
Referenced by EntryInformation.EntryInformation(), Strategy_SortEntries_ByAge.Sort(), and EntryInformation.ToString().
int Height |
Height of this individual, in inches.
Definition at line 30 of file Strategy_ShowEntries_Class.cs.
Referenced by EntryInformation.EntryInformation(), Strategy_SortEntries_ByHeight.Sort(), and EntryInformation.ToString().
string Name |
Name of this individual.
Definition at line 20 of file Strategy_ShowEntries_Class.cs.
Referenced by EntryInformation.EntryInformation(), Visitor_Shop.PickupOrder(), Visitor_Shop.PlaceOrder(), Strategy_SortEntries_ByName.Sort(), and EntryInformation.ToString().