async Task LoadToCollection(IEnumerable <AvatarItem> avatars) { await AvatarsSemaphore.WaitAsync().ConfigureAwait(false); using (Avatars.UpdatesBlock()) { Avatars.Clear(); Avatars.AddRange(avatars); TryAddCustomAvatar(); } AvatarsSemaphore.Release(); }