Hi ramister,
I was not able to reproduce your issue here.
Here's my test case: (against NorthwindIB)
var coop = Coroutine.Start(LoadListEntitiesCoroutine);
coop.Completed += (sender, args) => {
// some code
private IEnumerable<INotifyCompleted> LoadListEntitiesCoroutine() {
var employeesOp = _mgr.Employees.ExecuteAsync();
yield return employeesOp;
if (employeesOp.Results.Count() > 0) {
employeesOp.Results.Where(c => c.FullName == "Andy Fuller").ToList().ForEach(_employees.Add);
}
yield return Coroutine.Return(employeesOp.Results);
}
...
List<Employee> _employees = new List<Employee>();
...
public partial class Employee : BaseClass {
public string FullName {
get { return FirstName + " " + LastName; }
}
}
Also, I'm assuming you mean to add more async operations in your coroutine, right? (otherwhise, why not just populate your list in the callback of ExecuteAsync?)
Silvio.