Ejemplo n.º 1
0
 private static void ProcessComment(Comment comment, IKernel Kernel)
 {
     using (CommentProcessor processor = Kernel.Get <CommentProcessor>()) {
         processor.Process(comment);
     }
 }
Ejemplo n.º 2
0
        public void SubmitComment(string text)
        {
            CommentProcessor.Process(text, Proxy, Id);
//      Task.Factory.StartNew(() => Proxy.SubmitComment(Id, text))
//        .ContinueWith(r => QueryForComments(Id));
        }