Table of Contents

Class CalendarFileReading

Namespace
MailFathom.Application.Calendar.Import
Assembly
MailFathom.Application.dll

What reading an offered file produced: the entries that could be events, and one reason per entry that could not.

public sealed record CalendarFileReading : IEquatable<CalendarFileReading>
Inheritance
CalendarFileReading
Implements
Inherited Members

Remarks

The skips are a reason per skipped entry rather than a tally, because the reader answers about entries and the import adds its own — an entry this calendar already holds is a skip nothing in the file could have known about. Counting happens once, where the report is composed, so the two sources cannot be counted differently.

A refusal of the whole file carries neither: an unreadable file has no entries to offer and nothing to report a skip about, and saying so with empty lists is what keeps a caller from drawing a summary of nothing.

Properties

Entries

Gets the entries that could become events, in the order the file named them.

NotCalendarData

Gets the reading of octets that are not iCalendar this reader could finish.

Outcome

Gets what became of the file as a whole.

Skipped

Gets why each entry that could not become one did not, one reason per entry.

TooManyEntries

Gets the reading of a file naming more entries than one import writes.

Methods

Read(IReadOnlyList<CalendarFileEntry>, IReadOnlyList<CalendarImportSkipReason>)

States what a readable file offered.