Class
Author

Represent a chat participant. Author of messages.

Definition

Constructors

Author(string)

Initializes a new instance of the Author class.

Declaration

cs-api-definition
public Author(string name)

Parameters

name

string

Author(string, ImageSource)

Initializes a new instance of the Author class.

Declaration

cs-api-definition
public Author(string name, ImageSource avatar)

Parameters

name

string

avatar

ImageSource

Properties

Avatar

Gets or sets the Author's avatar.

Declaration

cs-api-definition
public ImageSource Avatar { get; set; }

Property Value

ImageSource

Data

Gets or sets additional data.

Declaration

cs-api-definition
public object Data { get; set; }

Property Value

object

DefaultAuthor

Gets the default author that is used if no CurrentAuthor is assigned.

Declaration

cs-api-definition
public static Author DefaultAuthor { get; }

Property Value

Author

IsCurrent

Gets a value that indicates whether this Author instance represents the current author.

Declaration

cs-api-definition
public bool IsCurrent { get; }

Property Value

bool

Name

Gets or sets the Author's name.

Declaration

cs-api-definition
public string Name { get; set; }

Property Value

string