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

Class TodoBuilder

Builder for constructing Todo instances.

Inheritance
object
TodoBuilder
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 TodoBuilder

Methods

View Source

Alarm(Action<AlarmBuilder>)

Adds an alarm (VALARM) configured by the specified callback.

Declaration
public TodoBuilder Alarm(Action<AlarmBuilder> configure)
Parameters
Type Name Description
Action<AlarmBuilder> configure

Specifies the configure value.

Returns
Type Description
TodoBuilder
View Source

Attendee(string, string?, ParticipationRole?, ParticipationStatus?)

Adds an attendee (ATTENDEE).

Declaration
public TodoBuilder Attendee(string email, string? name = null, ParticipationRole? role = null, ParticipationStatus? status = null)
Parameters
Type Name Description
string email

Specifies the email value.

string name

Specifies the name value.

ParticipationRole? role

Specifies the role value.

ParticipationStatus? status

Specifies the status value.

Returns
Type Description
TodoBuilder
View Source

Build()

Builds the Todo.

Declaration
public Todo Build()
Returns
Type Description
Todo
View Source

Classification(Classification)

Sets the classification (CLASS).

Declaration
public TodoBuilder Classification(Classification classification)
Parameters
Type Name Description
Classification classification

Specifies the classification value.

Returns
Type Description
TodoBuilder
View Source

Completed(ICalDateTime?)

Sets the completion date-time (COMPLETED).

Declaration
public TodoBuilder Completed(ICalDateTime? completed)
Parameters
Type Name Description
ICalDateTime completed

Specifies the completed value.

Returns
Type Description
TodoBuilder
View Source

Description(string)

Sets the description (DESCRIPTION).

Declaration
public TodoBuilder Description(string description)
Parameters
Type Name Description
string description

Specifies the description value.

Returns
Type Description
TodoBuilder
View Source

Due(ICalDateTime)

Sets the due date-time (DUE).

Declaration
public TodoBuilder Due(ICalDateTime due)
Parameters
Type Name Description
ICalDateTime due

Specifies the due value.

Returns
Type Description
TodoBuilder
View Source

Duration(ICalDuration?)

Sets the duration (DURATION).

Declaration
public TodoBuilder Duration(ICalDuration? duration)
Parameters
Type Name Description
ICalDuration duration

Specifies the duration value.

Returns
Type Description
TodoBuilder
View Source

ExtendedProperty(string, string)

Adds an X-* extension property.

Declaration
public TodoBuilder ExtendedProperty(string name, string value)
Parameters
Type Name Description
string name

Specifies the name value.

string value

The value to process.

Returns
Type Description
TodoBuilder
View Source

Organizer(string, string?)

Sets the organizer (ORGANIZER).

Declaration
public TodoBuilder Organizer(string email, string? name = null)
Parameters
Type Name Description
string email

Specifies the email value.

string name

Specifies the name value.

Returns
Type Description
TodoBuilder
View Source

PercentComplete(int)

Sets the percent complete (PERCENT-COMPLETE, 0-100).

Declaration
public TodoBuilder PercentComplete(int percent)
Parameters
Type Name Description
int percent

Specifies the percent value.

Returns
Type Description
TodoBuilder
View Source

Priority(int)

Sets the priority (PRIORITY, 0-9).

Declaration
public TodoBuilder Priority(int priority)
Parameters
Type Name Description
int priority

Specifies the priority value.

Returns
Type Description
TodoBuilder
View Source

RecurrenceRule(RecurrenceRule?)

Sets the recurrence rule (RRULE).

Declaration
public TodoBuilder RecurrenceRule(RecurrenceRule? rule)
Parameters
Type Name Description
RecurrenceRule rule

Specifies the rule value.

Returns
Type Description
TodoBuilder
View Source

Start(ICalDateTime)

Sets the start date-time (DTSTART).

Declaration
public TodoBuilder Start(ICalDateTime start)
Parameters
Type Name Description
ICalDateTime start

Specifies the start value.

Returns
Type Description
TodoBuilder
View Source

Status(TodoStatus)

Sets the status (STATUS).

Declaration
public TodoBuilder Status(TodoStatus status)
Parameters
Type Name Description
TodoStatus status

Specifies the status value.

Returns
Type Description
TodoBuilder
View Source

Summary(string)

Sets the summary (SUMMARY).

Declaration
public TodoBuilder Summary(string summary)
Parameters
Type Name Description
string summary

Specifies the summary value.

Returns
Type Description
TodoBuilder
View Source

Uid(string)

Sets the unique identifier (UID).

Declaration
public TodoBuilder Uid(string uid)
Parameters
Type Name Description
string uid

The uid identifier.

Returns
Type Description
TodoBuilder
  • View Source
Back to top

DR-IT Software documentation

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

Generated by DocFX