Table of Contents

Constructor EventProposalBlock

Namespace
MailFathom.Application.Discovery.Presentation.Blocks
Assembly
MailFathom.Application.dll

EventProposalBlock(PresentationEvidence, PresentationText, DateTimeOffset, DateTimeOffset?, bool)

Initializes a date to be put on the calendar.

public EventProposalBlock(PresentationEvidence evidence, PresentationText title, DateTimeOffset start, DateTimeOffset? end, bool isAllDay)

Parameters

evidence PresentationEvidence

What the correspondence does for the proposal.

title PresentationText

What the event would be called.

start DateTimeOffset

When it would begin.

end DateTimeOffset?

When it would end, or null where the proposal states no end.

isAllDay bool

Whether it is proposed as a day rather than as a clock time.

Exceptions

ArgumentNullException

Thrown when evidence is null.

ArgumentException

Thrown when title is the unspecified default, or when an end is stated that is not after the start.