AddCalendarEvent(Calendar, DateTime, Style) Method

Adds a calendar event.
public static Calendar AddCalendarEvent(this Calendar calendar, DateTime date, Style customEventHighlightStyle = null)
Namespace
Spectre.Console
Containing Type
CalendarExtensions

Parameters

Calendar calendar
The calendar to add the calendar event to.
DateTime date
The calendar event date.
Style customEventHighlightStyle
The calendar event custom highlight style.

Returns