private static void PullChanges(ISyncClient client, ISyncServer server) { var date = client.GetMaxServerSyncDate(); while(true) { var proxy = server.GetChangedFromServer(date); if (proxy == null) break; client.ApplyChangeFromServer(proxy); date = proxy.ServerSyncDate; } }
private static void PullChanges(ISyncClient client, ISyncServer server) { var date = client.GetMaxServerSyncDate(); while (true) { var proxy = server.GetChangedFromServer(date); if (proxy == null) { break; } client.ApplyChangeFromServer(proxy); date = proxy.ServerSyncDate; } }