Ejemplo n.º 1
0
 public void WriteHeader(string header)
 {
     Dispatcher.BeginInvoke(new Action(delegate
     {
         if (BuildNotices.Count > 0)
         {
             BuildNotices.Last().Completed = true;
         }
         BuildNotices.Add(new BuildData(header));
     }));
 }
Ejemplo n.º 2
0
 public void Write(string type, string message, string statusDescription)
 {
     RunOnDispatcherThread(new Action(() => BuildNotices.Last().AddItem(message, TaskState.Normal)));
 }
Ejemplo n.º 3
0
        public void Write(string type, string message, params string[] items)
        {
            var data = string.Format(message, items);

            RunOnDispatcherThread(new Action(() => BuildNotices.Last().AddItem(data, TaskState.Normal)));
        }
Ejemplo n.º 4
0
 public void WriteDebugMessage(string message)
 {
     RunOnDispatcherThread(new Action(() => BuildNotices.Last().AddItem(message, TaskState.Normal)));
 }
Ejemplo n.º 5
0
 public ITestSuiteMessageLogger WriteTestSuiteStarted(string name)
 {
     RunOnDispatcherThread(new Action(() => BuildNotices.Last().AddItem(name, TaskState.Normal)));
     return(new UnitTestSuiteHandler(Dispatcher, BuildNotices.Last()));
 }
Ejemplo n.º 6
0
 public void WriteWarning(string type, string message)
 {
     RunOnDispatcherThread(new Action(delegate { BuildNotices.Last().AddItem(message, TaskState.Warning);
                                                 BuildNotices.Last().State = TaskState.Warning; }));
 }