Пример #1
0
        public string ReceiveRequest(string request)
        {
            AbstractQuery query = QueryFactory.GetQueryFactory().GetQuery(new XmlMessage(request), this);

            query.ValidateParameters();
            query.Execute();
            return(query.GetResult());
        }
Пример #2
0
        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());
        }