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