CalendarAttendee Class

An attendee or the organizer of an event (ATTENDEE, ORGANIZER).

public sealed class CalendarAttendee : IEquatable<CalendarAttendee>
Implements

Constructors

NameDescription
CalendarAttendee(string, string?, string?, string?)An attendee or the organizer of an event (ATTENDEE, ORGANIZER).

CalendarAttendee(string, string?, string?, string?)

CalendarAttendee.cs

An attendee or the organizer of an event (ATTENDEE, ORGANIZER).

public CalendarAttendee(string Address, string? Name = null, string? Role = null, string? ParticipationStatus = null)

Parameters

Address string
The address, without its mailto: prefix.
Name string?
The name (CN), or null.
Role string?
The role (ROLE), such as REQ-PARTICIPANT or OPT-PARTICIPANT, or null.
ParticipationStatus string?
The participation status (PARTSTAT), such as ACCEPTED, or null.

Properties

NameDescription
AddressThe address, without its mailto: prefix.
NameThe name (CN), or null.
ParticipationStatusThe participation status (PARTSTAT), such as ACCEPTED, or null.
RoleThe role (ROLE), such as REQ-PARTICIPANT or OPT-PARTICIPANT, or null.

The address, without its mailto: prefix.

public string Address { get; init; }

Property value

string

The name (CN), or null.

public string? Name { get; init; }

Property value

string?

ParticipationStatus

CalendarAttendee.cs

The participation status (PARTSTAT), such as ACCEPTED, or null.

public string? ParticipationStatus { get; init; }

Property value

string?

The role (ROLE), such as REQ-PARTICIPANT or OPT-PARTICIPANT, or null.

public string? Role { get; init; }

Property value

string?

Methods

NameDescription
Deconstruct(string, string?, string?, string?)
Equals(CalendarAttendee?)
Equals(object?)
GetHashCode()
ToString()

Deconstruct(string, string?, string?, string?)

public void Deconstruct(out string Address, out string? Name, out string? Role, out string? ParticipationStatus)

Parameters

Address string
Name string?
Role string?
ParticipationStatus string?

No documentation is available.

Equals overloads

Equals(CalendarAttendee?)

public bool Equals(CalendarAttendee? other)
Parameters
other CalendarAttendee?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(CalendarAttendee?, CalendarAttendee?)
operator !=(CalendarAttendee?, CalendarAttendee?)

operator ==(CalendarAttendee?, CalendarAttendee?)

public static bool operator ==(CalendarAttendee? left, CalendarAttendee? right)

Parameters

left CalendarAttendee?
right CalendarAttendee?

Returns

bool

No documentation is available.

operator !=(CalendarAttendee?, CalendarAttendee?)

public static bool operator !=(CalendarAttendee? left, CalendarAttendee? right)

Parameters

left CalendarAttendee?
right CalendarAttendee?

Returns

bool

No documentation is available.