1 year ago

#388582

test-img

Артём Кузнецов

How to register dependencies with IList<T>

My class constructor has a dependency like the following

public EngineService(
 IList<ICommand<CalculationRequest,CalculationContext<CalculationRequest>>> commands)

and I have no idea how to register it correctly, any help would be helpful

c#

dependency-injection

0 Answers

Your Answer

Accepted video resources