public SomeClassWithMultipleDependencies(SomeClass firstDependency, OtherDependency otherDependency) { _firstDependency = firstDependency; _otherDependency = otherDependency; }
public DefaultLossCalculator(Dependency a, OtherDependency b) { //just an example, but here we inject the other classes that the //default implementation requires to do the calculation. }
protected Entity(Dependency a, OtherDependency b) { _lossCalculator = new DefaultLossCalculator(a, b); }