Exemple #1
0
 /// <summary>
 /// clears then adds the result of a task to an <see cref="AsyncObservableCollection{T}"/>
 ///  </summary>
 public static Task ClearAndFill <T>(this Task <IEnumerable <T> > collection, AsyncObservableCollection <T> asyncCollection)
 {
     return(asyncCollection.ClearAndFillAsync(collection));
 }