[Modify] Polish it
This commit is contained in:
parent
5c7c3e171b
commit
750c71e1be
@ -51,7 +51,10 @@ namespace Example3
|
|||||||
|
|
||||||
protected override void OnMessage (MessageEventArgs e)
|
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 ()
|
protected override void OnOpen ()
|
||||||
|
Loading…
Reference in New Issue
Block a user