public string ReceiveRequest(string request) { AbstractQuery query = QueryFactory.GetQueryFactory().GetQuery(new XmlMessage(request), this); query.ValidateParameters(); query.Execute(); return(query.GetResult()); }
public static string ReceiveRequest(UserThread thread, string request) { AbstractQuery query = QueryFactory.GetQueryFactory().GetQuery(new XmlMessage(request), thread); Console.WriteLine(thread.username); query.ValidateParameters(); query.Execute(); return(query.GetResult()); }