Last active
August 29, 2015 14:02
-
-
Save mattbarrett/773946598cf1fc2e8b7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var clientsQuery = from systemStatus in clientService.SystemStatus.Where(s => s == Status.Available) | |
from clients in clientService.LoadClients() | |
select clients; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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