Results 23 comments of Zach Painter

@brianmhunt Doesn't fast-foreach have a beforeQueueFlush and afterQueueFlush events? do these events basically fire at the same time in the process as the afterRenderAll() and beforeRenderAll() events in my pull-request?...

@fervanrijswijk I noticed what you are talking about as well... however, this is not an issue with the afterRenderAll or beforeRenderAll callbacks. This is an issue with jsFiddle and how...

@fervanrijswijk can you post a link to your project? I'd love to take a look at it and try and figure out what the problem is. You can contact me...

#635 I have a similar issue... I was able to solve it by using the AutoFac container but couldn't get it to work using the default container.

I actually got this working with AutoFac as a container. ```csharp public static ContainerBuilder AddGenericHandlers(this ContainerBuilder builder) { builder.RegisterSource(new ContravariantRegistrationSource()); builder.RegisterGeneric(typeof(FetchDropdownItemByEnumQueryHandler)).AsImplementedInterfaces(); builder.RegisterGeneric(typeof(FetchAllNotesForParentQueryHandler)).AsImplementedInterfaces(); builder.RegisterGeneric(typeof(FetchAllNotesWithTypeForParentQueryHandler)).AsImplementedInterfaces(); builder.RegisterGeneric(typeof(FetchAllSelectListItemsQueryHandler)).AsImplementedInterfaces(); builder.RegisterGeneric(typeof(AddNoteCommandHandler)).AsImplementedInterfaces(); builder.RegisterGeneric(typeof(AddNoteWithTypeCommandHandler)).AsImplementedInterfaces(); return builder; } ```...

@OculiViridi One way I've found to achieve it is by creating concrete handlers that are derived from the generic ones. The downside to this is that you still have to...

@abuzaforfagun This sample is registered without having to explicitly register the handlers by using the default AddMediatr extension method. Since they are concrete handlers derived from a closed generic base...

I have a similar issue.. I was able to resolve it by using AutoFac container. But wished I could have solved it using the default container. Here is what I...

It is my understanding (and I tested this) that explicitly registering the GenericHandlerBase isn't necessary... If you are going to create concrete handlers for each generic type for that handler...

there are a couple of ways to do it.. The easiest way in my opinion is using AutoFac... But with some extra code (defining concrete handler types that derive from...