AddCalendarEvent(Calendar, string, DateTime) Method

Adds a calendar event.
public static Calendar AddCalendarEvent(this Calendar calendar, string description, DateTime date)
Namespace
Spectre.Console
Containing Type
CalendarExtensions

Parameters

Calendar calendar
The calendar to add the calendar event to.
string description
The calendar event description.
DateTime date
The calendar event date.

Returns