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

add overload, and change the order of arguments #74

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

zerodev1200
Copy link
Contributor

Add and Modify Overloads for ToWritableNotifyCollectionChanged

Changes Overview

  1. Added methods to Filtable that can operate without the converter parameter that exists in NonFiltered

  2. Standardized parameter order between Filtable and NonFilter methods

    • Unified order: WritableViewChangedEventHandler<T, TView>?, ICollectionEventDispatcher?
    • Note: Considering the pattern in NotifyCollectionChangedSynchronizedViewList, reversing this order might be more appropriate
  3. Fixed issue where converter parameter wasn't being passed in NonFilter

  4. Fixed issue where collectionEventDispatcher wasn't being passed in Filtable

Technical Details

These modifications improve the consistency and functionality of the ToWritableNotifyCollectionChanged method overloads, ensuring better usability and proper parameter handling across different scenarios.

Related Issues

Please review and provide feedback on these changes.

@neuecc
Copy link
Member

neuecc commented Oct 7, 2024

thanks, it seems good!

@neuecc neuecc merged commit dcfb3ed into Cysharp:master Oct 7, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants