--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To post to this group, send email to masstransit-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/26efc1aa-00f8-47f3-ba6b-e2491b34222f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Each container is different, so you do implement what is supported. For instance, MS DI doesn't allow instances to be added to a newly created scope, which sucks, but it is what it is.
On Tue, Aug 7, 2018 at 8:23 AM, Pete Roberts <peterob...@gmail.com> wrote:
Hello,I've been looking at the various container extensions in the Mass Transit source as I am attempting to integrate our custom DI container in the same way.In most cases, ActivityScopeProviders and CompensateActivityScopeProviders persist features of the passed-in context (the TLog member in the case of the latter for example) This is done using whatever constructor parameter override facility the container provides.However, in the case of the ExtensionsDIIntegration, a new object is resolved from the container and it looks like nothing is passed into it from the passed-in argument.I'm struggling to understand if this is ok or not. Our container doesn't have any parameter override facility, so I would copy this behaviour if I could understand why it isn't an error.Many thanks,Pete
--
You received this message because you are subscribed to the Google Groups "masstransit-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-discuss+unsub...@googlegroups.com.
To post to this group, send email to masstrans...@googlegroups.com.