Represents a single exercise or example for a design pattern. More...

Public Member Functions | |
| Exercise (string nameOfExercise, Action exercise) | |
| Constructor. | |
Public Attributes | |
| string | name |
| Name of the exercise. | |
| Action | exercise_to_run |
| Method to call to run the exercise. | |
Represents a single exercise or example for a design pattern.
Definition at line 26 of file Program.cs.
Constructor.
| nameOfExercise | Name of the exercise. |
| exercise | Method to run (of type void ()(void)). |
Definition at line 44 of file Program.cs.
References Program.Exercise.exercise_to_run, and Program.Exercise.name.
| Action exercise_to_run |
Method to call to run the exercise.
Definition at line 36 of file Program.cs.
Referenced by Program.Exercise.Exercise(), and Program.Run().
| string name |
Name of the exercise.
Definition at line 31 of file Program.cs.
Referenced by Program.Exercise.Exercise(), Program.Help(), and Program.Run().