1

This question already has an answer here:

I posted this question on Stack Overflow, and noticed the following behavior. The following quote does somehow cut the rest of the sentence:

'DoSomeList' cannot be used as type parameter 'TImplementation' in the generic type or method 'ServiceCollectionServiceExtensions.AddTransient(IServiceCollection)'. There is no implicit reference conversion from 'DoSomeList' to 'IDo>'.

'IDo>' should be IDo<System.Collections.Generic.List<SomeType>>. Check it out in the edit view.

marked as duplicate by Glorfindel, Community Dec 10 '18 at 15:53

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

4

Replace < with &lt; and you're good to go:

'DoSomeList<SomeType>' cannot be used as type parameter 'TImplementation' in the generic type or method 'ServiceCollectionServiceExtensions.AddTransient<TService, TImplementation>(IServiceCollection)'. There is no implicit reference conversion from 'DoSomeList<SomeType>' to 'IDo<System.Collections.Generic.List<SomeType>>'.

The Markdown parser thinks < starts an HTML tag, but it's not one of the few actually supported on Stack Exchange.

  • I see. Thank you. Someone has fixed it the same time :) – LuckyLikey Dec 10 '18 at 15:54

Not the answer you're looking for? Browse other questions tagged .