Skip to content

Add AddNewAsync() methods to lists with AddNew which are using IObservableBindingList #3868

@StefanOssendorf

Description

@StefanOssendorf

IObservableBindingList currently only provides a method object AddNew();. This method internally uses a sync Create to create a new Item for the collection.
This is not usable - and can result in a deadlock - when async is required.

Add new methods to the following types and make sure to pass them down the inheritance chain if necessary (like to BusinessListBase).
IObservableBindingList

  • AddNewAsync()

ObservableBindingList

  • T AddNewAsync()

ViewModel

  • AddNewAsync()

ViewModelBase

  • BeginAddNewAsync
  • DoAddNewAsync

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions