Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
var clientsQuery = from systemStatus in clientService.SystemStatus.Where(s => s == Status.Available)
from clients in clientService.LoadClients()
select clients;
while (true) {
if (_clientService.Status.IsAvailable) {
return _clientService.GetAllClients();
}
Thread.Sleep(2000);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment