[Modify] Edit it

This commit is contained in:
sta 2022-01-15 17:45:26 +09:00
parent 5f346e1651
commit f271ed448f

View File

@ -340,13 +340,18 @@ public class Chat : WebSocketBehavior
private string _suffix;
public Chat ()
: this (null)
{
_suffix = String.Empty;
}
public Chat (string suffix)
{
_suffix = suffix ?? String.Empty;
public string Suffix {
get {
return _suffix;
}
set {
_suffix = value ?? String.Empty;
}
}
protected override void OnMessage (MessageEventArgs e)