@ -13,13 +13,13 @@ namespace Example2
private string _prefix;
public Chat ()
: this ("anon#")
: this (null)
{
}
public Chat (string prefix)
_prefix = prefix;
_prefix = prefix ?? "anon#";
private string getName ()
@ -13,13 +13,13 @@ namespace Example3
@ -294,13 +294,13 @@ public class Chat : WebSocketService
private string _suffix;
: this (String.Empty)
public Chat (string suffix)
_suffix = suffix;
_suffix = suffix ?? String.Empty;
protected override void OnMessage (MessageEventArgs e)