AddCalendarEvent(Calendar, string, int, int, int, Style) Method

Adds a calendar event.
public static Calendar AddCalendarEvent(this Calendar calendar, string description, int year, int month, int day, Style customEventHighlightStyle = null)
Namespace
Spectre.Console
Containing Type
CalendarExtensions

Parameters

Calendar calendar
The calendar.
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 customEventHighlightStyle
The calendar event custom highlight style.

Returns