Exemplo n.º 1
0
 public void WhoIs(string nick, Action<WhoIs> callback)
 {
     var whois = new WhoIs();
     RequestManager.QueueOperation("WHOIS " + nick, new RequestOperation(whois, ro =>
         {
             if (callback != null)
                 callback((WhoIs)ro.State);
         }));
     SendRawMessage("WHOIS {0}", nick);
 }
Exemplo n.º 2
0
 public void WhoIs(string nick, Action<WhoIs> callback)
 {
     var whois = new WhoIs();
     RequestOperation.QueueOperation("WHOIS " + nick, new RequestOperation(whois, ro =>
         {
             if (callback != null)
                 callback((WhoIs)ro.State);
         }));
     SendRawMessage("WHOIS {0}", nick);
 }