sharp-chat/SharpChatCommon/UserStatusInfo.cs

17 lines
410 B
C#
Raw Normal View History

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);
}
}