CalendarEvent(string, int, int, int, Style) Constructor
Initializes a new instance of the
CalendarEvent
class.
public CalendarEvent(string description, int year, int month, int day, Style customHighlightStyle = null)
- Namespace
- Spectre
.Console - Containing Type
- CalendarEvent
Parameters
- string description
- The calendar event description.
- int year
- The year of the calendar event.
- int month
- The month of the calendar event.
- int day
- The day of the calendar event.
- Style customHighlightStyle
- The custom highlight style of the calendar event.