Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check subclass of ObservableCollection<> #451

Merged
merged 1 commit into from
Sep 4, 2022

Conversation

kzrnm
Copy link
Contributor

@kzrnm kzrnm commented Aug 21, 2022

What changed?

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> { }

@punker76 punker76 added this to the 3.2.0 milestone Sep 4, 2022
@punker76 punker76 merged commit a83a220 into punker76:develop Sep 4, 2022
@punker76
Copy link
Owner

punker76 commented Sep 4, 2022

@kzrnm your changes have been merged, thanks for your contribution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants