If we have existing registrations in the DI container, we shouldn't overwrite those or blindly ignore them in the EngineBuilder and other Setup classes. For example, if we have an IParser<string, IParsedArgument> already registered, the ParserSetup.BuildUp() method can detect that and do no further work.
This is done now in v2, several methods .Add* have been replaced by .TryAdd* for setting up the DI, so those registrations will not overwrite registrations created by the user.
If we have existing registrations in the DI container, we shouldn't overwrite those or blindly ignore them in the EngineBuilder and other Setup classes. For example, if we have an
IParser<string, IParsedArgument>
already registered, theParserSetup.BuildUp()
method can detect that and do no further work.