Skip to content

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