Class Todo
A to-do item (RFC 5545 §3.6.2), the value of a VTODO component.
Inherited Members
Namespace: DRIT.Mail.Rfc.ICal
Assembly: DRIT.Mail.dll
Syntax
public sealed class Todo
Constructors
View SourceTodo(string?, ICalDateTime?, ICalDateTime?, ICalDuration?, string?, string?, ICalDateTime?, int?, TodoStatus?, int?, Classification?, Organizer?, IReadOnlyList<Attendee>, RecurrenceRule?, IReadOnlyList<Alarm>, IReadOnlyList<ICalProperty>)
Initializes a new instance of the Todo class.
Declaration
public Todo(string? uid, ICalDateTime? start, ICalDateTime? due, ICalDuration? duration, string? summary, string? description, ICalDateTime? completed, int? percentComplete, TodoStatus? status, int? priority, Classification? classification, Organizer? organizer, IReadOnlyList<Attendee> attendees, RecurrenceRule? recurrenceRule, IReadOnlyList<Alarm> alarms, IReadOnlyList<ICalProperty> extendedProperties)
Parameters
| Type | Name | Description |
|---|---|---|
| string | uid | |
| ICalDateTime | start | |
| ICalDateTime | due | |
| ICalDuration | duration | |
| string | summary | |
| string | description | |
| ICalDateTime | completed | |
| int? | percentComplete | |
| TodoStatus? | status | |
| int? | priority | |
| Classification? | classification | |
| Organizer | organizer | |
| IReadOnlyList<Attendee> | attendees | |
| RecurrenceRule | recurrenceRule | |
| IReadOnlyList<Alarm> | alarms | |
| IReadOnlyList<ICalProperty> | extendedProperties |
Properties
View SourceAlarms
Gets the alarms (VALARM). May be empty.
Declaration
public IReadOnlyList<Alarm> Alarms { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<Alarm> |
Attendees
Gets the attendees (ATTENDEE). May be empty.
Declaration
public IReadOnlyList<Attendee> Attendees { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<Attendee> |
Classification
Gets the classification (CLASS), or null.
Declaration
public Classification? Classification { get; }
Property Value
| Type | Description |
|---|---|
| Classification? |
Completed
Gets the completion date-time (COMPLETED), or null.
Declaration
public ICalDateTime? Completed { get; }
Property Value
| Type | Description |
|---|---|
| ICalDateTime |
Description
Gets the description (DESCRIPTION), or null.
Declaration
public string? Description { get; }
Property Value
| Type | Description |
|---|---|
| string |
Due
Gets the due date-time (DUE), or null.
Declaration
public ICalDateTime? Due { get; }
Property Value
| Type | Description |
|---|---|
| ICalDateTime |
Duration
Gets the duration (DURATION), or null.
Declaration
public ICalDuration? Duration { get; }
Property Value
| Type | Description |
|---|---|
| ICalDuration |
ExtendedProperties
Gets the X-* extension properties. May be empty.
Declaration
public IReadOnlyList<ICalProperty> ExtendedProperties { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<ICalProperty> |
Organizer
Gets the organizer (ORGANIZER), or null.
Declaration
public Organizer? Organizer { get; }
Property Value
| Type | Description |
|---|---|
| Organizer |
PercentComplete
Gets the percent complete (PERCENT-COMPLETE, 0-100), or null.
Declaration
public int? PercentComplete { get; }
Property Value
| Type | Description |
|---|---|
| int? |
Priority
Gets the priority (PRIORITY, 0-9), or null.
Declaration
public int? Priority { get; }
Property Value
| Type | Description |
|---|---|
| int? |
RecurrenceRule
Gets the recurrence rule (RRULE), or null.
Declaration
public RecurrenceRule? RecurrenceRule { get; }
Property Value
| Type | Description |
|---|---|
| RecurrenceRule |
Start
Gets the start date-time (DTSTART), or null.
Declaration
public ICalDateTime? Start { get; }
Property Value
| Type | Description |
|---|---|
| ICalDateTime |
Status
Gets the status (STATUS), or null.
Declaration
public TodoStatus? Status { get; }
Property Value
| Type | Description |
|---|---|
| TodoStatus? |
Summary
Gets the summary (SUMMARY), or null.
Declaration
public string? Summary { get; }
Property Value
| Type | Description |
|---|---|
| string |
Uid
Gets the unique identifier (UID), or null.
Declaration
public string? Uid { get; }
Property Value
| Type | Description |
|---|---|
| string |