[Modify] Polish it

This commit is contained in:
sta
2015-11-28 15:52:44 +09:00
parent b1b728eefd
commit 83aa8c9460
4 changed files with 33 additions and 30 deletions

View File

@@ -9,8 +9,7 @@ namespace Example3
protected override void OnMessage (MessageEventArgs e)
{
var name = Context.QueryString["name"];
var msg = !name.IsNullOrEmpty () ? String.Format ("'{0}' to {1}", e.Data, name) : e.Data;
Send (msg);
Send (!name.IsNullOrEmpty () ? String.Format ("\"{0}\" to {1}", e.Data, name) : e.Data);
}
}
}