Modified a few for Example3

This commit is contained in:
sta
2014-10-04 14:50:11 +09:00
parent ca4fdabb2e
commit 74ec969758
5 changed files with 105 additions and 104 deletions

View File

@@ -8,11 +8,8 @@ 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;
var name = Context.QueryString["name"];
var msg = !name.IsNullOrEmpty () ? String.Format ("'{0}' to {1}", e.Data, name) : e.Data;
Send (msg);
}
}