Table of Contents

Class Mbox

Namespace
Xapi
Assembly
Xapi.Core.dll

An mbox identifier: a mailto: IRI such as mailto:learner@example.com.

public sealed record Mbox : InverseFunctionalIdentifier, IEquatable<InverseFunctionalIdentifier>, IEquatable<Mbox>
Inheritance
Mbox
Implements
Inherited Members

Remarks

The format is checked by StatementValidator, not by the constructor.

Constructors

Mbox(string)

Creates an mbox identifier.

public Mbox(string value)

Parameters

value string

The mailto: IRI, used as given.

Properties

Value

The mailto: IRI.

public string Value { get; init; }

Property Value

string

Methods

FromEmail(string)

Creates an identifier from an e-mail address, adding mailto: when it is missing.

public static Mbox FromEmail(string email)

Parameters

email string

An e-mail address or mailto: IRI.

Returns

Mbox

The identifier.