[Modify] Polish it

This commit is contained in:
sta 2022-01-23 17:36:12 +09:00
parent ee3a00a6e2
commit 21e8bed002

View File

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