The return value for the sourceDataFunc can be of type IEnumerable<T> instead of ObservableCollection<T>. This makes it easier for people to use the class and makes sure collections of different types don't have to be converted to ObservableCollection<T> before returning it as a result.
The return value for the
sourceDataFunc
can be of typeIEnumerable<T>
instead ofObservableCollection<T>
. This makes it easier for people to use the class and makes sure collections of different types don't have to be converted toObservableCollection<T>
before returning it as a result.