Currently, If collection is subclass of ObservableCollection<>, IsObservableCollection(collection) returns false.
But I hope the method call returns true.
Sample
void Check()
{
var result = new StringObservableCollection().IsObservableCollection();
// I hope result is true, but it's false.
}
class StringObservableCollection : ObservableCollection<string> { }
What changed?
Currently, If
collection
is subclass ofObservableCollection<>
,IsObservableCollection(collection)
returns false. But I hope the method call returns true.Sample