Adding the Classes
Learn how to add classes, components, and style sheets to the Blazor project.
We'll cover the following...
We need to add a TaskPriority enum and a TaskItem class. We do this as follows:
- Right-click the KanbanBoardproject and select the “Add, New Folder” option from the menu.
- Name the new folder Models.
- Right-click the Modelsfolder and select the “Add, Class” option from the menu.
- Name the new class TaskPriority.
- Click the “Add” button.
- Replace the class with the following enum:
Press +  to interact
public enum TaskPriority{High,Medium,Low}
- Right-click the Modelsfolder and select the “Add, Class” option from the menu.
- Name the new class
 Ask