Ejemplo n.º 1
0
 public bool HasAllJobsCompleted()
 {
    var completed = Jobs.All( x => x.State == TranslationJobState.Succeeded );
    if( completed )
    {
       foreach( var child in ChildrenContexts )
       {
          completed = child.HasAllJobsCompleted();
          if( !completed ) return false;
       }
    }
    return completed;
 }