public TesteInjecao( ITesteA testeA, ITesteB testeB, TesteC testeC) { _testeA = testeA; _testeB = testeB; _testeC = testeC; }
public Task <object> RetornarValoresInjecao( ITesteA testeA, ITesteB testeB, TesteC testeC) { var valoresA_Singleton = new { ClasseTeste = _testeA.IdReferencia, Function = testeA.IdReferencia }; var valoresB_Transient = new { ClasseTeste = _testeB.IdReferencia, Function = testeB.IdReferencia }; var valoresC_Scoped = new { ClasseTeste = _testeC.IdReferencia, Function = testeC.IdReferencia }; return(Task.FromResult <object>( new { valoresA_Singleton, valoresB_Transient, valoresC_Scoped })); }