Class CalendarWriter
Writes iCalendar data (RFC 5545) to a stream.
Implements
Inherited Members
Namespace: DRIT.Mail.Rfc.ICal
Assembly: DRIT.Mail.dll
Syntax
public sealed class CalendarWriter : IDisposable
Constructors
View SourceCalendarWriter(Stream)
Initializes a new instance of the CalendarWriter class.
Declaration
public CalendarWriter(Stream stream)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream used to read or write the data. |
CalendarWriter(Stream, bool)
Initializes a new instance of the CalendarWriter class.
Declaration
public CalendarWriter(Stream stream, bool leaveOpen)
Parameters
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream used to read or write the data. |
| bool | leaveOpen | The leave open used by the operation. |
Methods
View SourceDispose()
Processes the dispose data.
Declaration
public void Dispose()
Write(Calendar)
Writes a single calendar to the stream.
Declaration
public void Write(Calendar calendar)
Parameters
| Type | Name | Description |
|---|---|---|
| Calendar | calendar | Specifies the calendar value. |