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

feature/RM-8903-Optimize-iteration-on-ClientTransactionExtensionCollection #829

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

MichaelKetting
Copy link
Member

@MichaelKetting MichaelKetting commented Sep 7, 2023

https://re-motion.atlassian.net/browse/RM-8903

Design notes:
Split ClientTransactionExtensionCollection into ClientTransactionExtensionCollection and CompundClientTransactionExtension, similiar to CompoundClientTransactionListener. The ClientTransactionExtensionCollection then no longer exposes the IClientTransactionExtension interface and thus prevents non-infrastructure code from triggering the events, which would be cosnidered incorrect API usage anyway (see the EditorBrowsableNeverAttribute currently applied to the interface memberes). The collection API is still exposed via the ClientTransaction.Extensions property to allow registering/removing of IClientTransactionExtension implementations. Possibly, a new name (e.g. ClientTransactionExtensionRegistry would be best.

@MichaelKetting MichaelKetting force-pushed the feature/RM-8903-Optimize-iteration-on-ClientTransactionExtensionCollection branch from a9d8187 to 3d81351 Compare February 8, 2024 08:23
@MichaelKetting MichaelKetting marked this pull request as draft February 8, 2024 08:34
@MichaelKetting MichaelKetting force-pushed the feature/RM-8903-Optimize-iteration-on-ClientTransactionExtensionCollection branch from 3d81351 to 30b567b Compare February 8, 2024 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant