Closed SimonG96 closed 4 years ago
IRegistrationBase
IRegistration
IDefaultRegistration
ISingleTypeRegistration
WithFactoryMethod()
FactoryMethod
IUnitTestResolveCallback
deprecated
WithParameters()
UpdateArgumentsWithRegistrationParameters()
CreateInstance<>()
IRegistrationBase
toIRegistration
IDefaultRegistration
into a newIRegistrationBase
and a newIDefaultRegistration
ISingleTypeRegistration
:WithFactoryMethod()
to set aFactoryMethod
that gets called when an instance of the registered type is createdFactoryMethod
an exception is thrownIUnitTestResolveCallback
and related types/functions are marked asdeprecated
WithParameters()
method toIRegistrationBase
UpdateArgumentsWithRegistrationParameters()
that handles these parameters in theCreateInstance<>()
method