• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class CalendarReader

Reads iCalendar data (RFC 5545) from a stream.

Inheritance
object
CalendarReader
Implements
IDisposable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Mail.Rfc.ICal
Assembly: DRIT.Mail.dll
Syntax
public sealed class CalendarReader : IDisposable

Constructors

View Source

CalendarReader(Stream)

Initializes a new instance of the CalendarReader class.

Declaration
public CalendarReader(Stream stream)
Parameters
Type Name Description
Stream stream

The stream used to read or write the data.

View Source

CalendarReader(Stream, bool)

Initializes a new instance of the CalendarReader class.

Declaration
public CalendarReader(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 Source

Dispose()

Processes the dispose data.

Declaration
public void Dispose()
View Source

Read()

Reads the first calendar from the stream. Returns null if no calendar is found.

Declaration
public Calendar? Read()
Returns
Type Description
Calendar
View Source

ReadAll()

Reads all calendars from the stream.

Declaration
public IReadOnlyList<Calendar> ReadAll()
Returns
Type Description
IReadOnlyList<Calendar>

Implements

IDisposable
  • View Source
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX