Exemplo n.º 1
0
 /// <summary>
 /// Defines the entry point of the application.
 /// </summary>
 private void Main()
 {
     IQueryFor<EmptyParameter, IEnumerable<ServiceDto>> serviceQuery = new ServiceQuery();
     services = serviceQuery.ExecuteQueryWith(new EmptyParameter());
     services.ToList().ForEach(service => ServiceMonitor.SaveResults(ServiceMonitor.InvokeService(service)));
 }