예제 #1
0
 /// <summary>
 ///     <see cref="Dictionary{TKey,TValue}.Clear"/>
 /// </summary>
 public Task ClearAsync()
 {
     return(RunOnSynchronizationContext(() => {
         BackingDictionary.Clear();
         OnCollectionReset();
     }));
 }