sharp-chat/SharpChatCommon/UserStatusInfo.cs

16 lines
410 B
C#

namespace SharpChat {
public class UserStatusInfo {
public UserStatus Status { get; }
public string Text { get; }
public UserStatusInfo(
UserStatus status,
string text
) {
Status = status;
Text = text;
}
public static readonly UserStatusInfo EmptyInstance = new(UserStatus.Unknown, string.Empty);
}
}