Class Attendee
An attendee of a calendar component (RFC 5545 §3.8.4.1). The value is a
mailto: URI.
Inherited Members
Namespace: DRIT.Mail.Rfc.ICal
Assembly: DRIT.Mail.dll
Syntax
public sealed class Attendee
Constructors
View SourceAttendee(string, string?, CalendarUserType?, ParticipationRole?, ParticipationStatus?, bool?, string?, string?, string?, IReadOnlyList<string>?, IReadOnlyList<string>?, IReadOnlyList<string>?)
Initializes a new instance of the Attendee class.
Declaration
public Attendee(string email, string? commonName = null, CalendarUserType? calendarUserType = null, ParticipationRole? role = null, ParticipationStatus? participationStatus = null, bool? rsvp = null, string? sentBy = null, string? directoryUri = null, string? language = null, IReadOnlyList<string>? delegatedFrom = null, IReadOnlyList<string>? delegatedTo = null, IReadOnlyList<string>? members = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | ||
| string | commonName | |
| CalendarUserType? | calendarUserType | |
| ParticipationRole? | role | |
| ParticipationStatus? | participationStatus | |
| bool? | rsvp | |
| string | sentBy | |
| string | directoryUri | |
| string | language | |
| IReadOnlyList<string> | delegatedFrom | |
| IReadOnlyList<string> | delegatedTo | |
| IReadOnlyList<string> | members |
Properties
View SourceCalendarUserType
Gets the calendar user type (CUTYPE parameter), or null if not specified.
Declaration
public CalendarUserType? CalendarUserType { get; }
Property Value
| Type | Description |
|---|---|
| CalendarUserType? |
CommonName
Gets the display name (CN parameter), or null if not specified.
Declaration
public string? CommonName { get; }
Property Value
| Type | Description |
|---|---|
| string |
DelegatedFrom
Gets the delegated-from addresses (DELEGATED-FROM parameter). May be empty.
Declaration
public IReadOnlyList<string> DelegatedFrom { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
DelegatedTo
Gets the delegated-to addresses (DELEGATED-TO parameter). May be empty.
Declaration
public IReadOnlyList<string> DelegatedTo { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
DirectoryUri
Gets the directory URI (DIR parameter), or null if not specified.
Declaration
public string? DirectoryUri { get; }
Property Value
| Type | Description |
|---|---|
| string |
Gets the attendee's email address. May be a mailto: URI or a bare
address.
Declaration
public string Email { get; }
Property Value
| Type | Description |
|---|---|
| string |
Language
Gets the language (LANGUAGE parameter), or null if not specified.
Declaration
public string? Language { get; }
Property Value
| Type | Description |
|---|---|
| string |
Members
Gets the group members (MEMBER parameter). May be empty.
Declaration
public IReadOnlyList<string> Members { get; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
ParticipationStatus
Gets the participation status (PARTSTAT parameter), or null if not specified.
Declaration
public ParticipationStatus? ParticipationStatus { get; }
Property Value
| Type | Description |
|---|---|
| ParticipationStatus? |
Role
Gets the participation role (ROLE parameter), or null if not specified.
Declaration
public ParticipationRole? Role { get; }
Property Value
| Type | Description |
|---|---|
| ParticipationRole? |
Rsvp
Gets the RSVP expectation (RSVP parameter), or null if not specified.
Declaration
public bool? Rsvp { get; }
Property Value
| Type | Description |
|---|---|
| bool? |
SentBy
Gets the sent-by address (SENT-BY parameter), or null if not specified.
Declaration
public string? SentBy { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceToString()
Processes the to string data.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |