/// <inheritdoc/> public Task StartAsync(CancellationToken cancellationToken) { Server.OnStarted(); var clients = new AppCommonClient[] { GetService <AppPartAngularJobCodeGenerateClient>(), GetService <AppPartNetCoreJobCodeGenerateClient>() }; foreach (var client in clients) { client.Run(); } Console.WriteLine(); Console.Write("Press <Enter> to exit"); Console.ReadLine(); return(Task.CompletedTask); }
/// <inheritdoc/> public Task StartAsync(CancellationToken cancellationToken) { Server.OnStarted(); var clients = new AppCommonClient[] { GetService <AppPartCoreBaseResourceErrorsClient>(), GetService <AppPartModDummyMainBaseJobItemGetClient>(), GetService <AppPartModDummyMainBaseJobListGetClient>() }; foreach (var client in clients) { client.Run(); } Console.WriteLine(); Console.Write("Press <Enter> to exit"); Console.ReadLine(); return(Task.CompletedTask); }