[Modify] Polish it
This commit is contained in:
parent
a85e637d5b
commit
728f13d1de
@ -48,7 +48,10 @@ namespace Example2
|
||||
|
||||
protected override void OnMessage (MessageEventArgs e)
|
||||
{
|
||||
Sessions.Broadcast (String.Format ("{0}: {1}", _name, e.Data));
|
||||
var fmt = "{0}: {1}";
|
||||
var msg = String.Format (fmt, _name, e.Data);
|
||||
|
||||
Sessions.Broadcast (msg);
|
||||
}
|
||||
|
||||
protected override void OnOpen ()
|
||||
|
Loading…
Reference in New Issue
Block a user