public interface IConsumerFactory<out TConsumer> : IProbeSite where TConsumer : class
--
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/4f5280c3-e2fc-460b-96fe-3f6ab98b7c15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
"The type argument must be a reference type; this applies also to any class, interface, delegate, or array type."So, the class in this case just means reference type, interfaces are TOTALLY allowed. :)
On Tue, Aug 9, 2016 at 4:26 PM, Eric St-Georges <thev...@gmail.com> wrote:
Hello,I have a question about the IConsumerFactory.The interface is defined as :
public interface IConsumerFactory<out TConsumer> : IProbeSite where TConsumer : classIs there a specific reason behind the class restriction? It looks like it would make sense to allow interfaces in order to make things more "Injectable".Cheers,EricSG
--
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.
To unsubscribe from this group and stop receiving emails from it, send an email to masstransit-dis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/masstransit-discuss/fee6b1ff-7e8e-4141-90c9-e41cafc7773e%40googlegroups.com.