You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
288 B
C#
12 lines
288 B
C#
namespace TinyChat;
|
|
|
|
/// <summary>
|
|
/// Represents a sender identified by their name.
|
|
/// </summary>
|
|
/// <param name="Name">The name of the sender.</param>
|
|
public record NamedSender(string Name) : ISender
|
|
{
|
|
/// <inheritdoc />
|
|
public override string ToString() => Name ?? string.Empty;
|
|
}
|