Example #1
0
 public List<Message> test()
 {
   List<Message> ret = new List<Message>();
   Message first = new Message();
   first.Msg = "hello earth";
   ret.Add(first);
   Message second = new Message();
   second.Msg = "hello moon";
   ret.Add(second);
   return ret;
 }
Example #2
0
 public List<Message> test()
 {
    List<Message> ret = new List<Message>();
   MessageExample.Message first = new MessageExample.Message();
   first.Msg = "hello earth";
   first.Passed = true;
   first.TestID = 1;
   ret.Add(first);
   Message second = new Message();
   second.Msg = "hello moon";
   second.Passed = true;
   second.TestID = 2;
   ret.Add(second);
   return ret;
 }