Hi!
This PR overloads with a name parameter to most IWebModuleContainer.With*() extensions methods:
Both WithRouting() methods
Both WithWebApi() methods
All With*() methods in WebModuleContainerExtensions-Files.cs
I did not add overloads to the WithAction() and On[Verb]() methods because I am not sure it would be useful and that's a lot of methods. I did not try either to add overloads to the WithCors() methods because of the potential ambiguity of a new string parameter in these methods with a lots of optional string parameters. I am also not sure either if it would be useful either.
This PR adds also a configure parameter to these methods:
WithLocalSessionManager() via an optinal parameter
WithModule() via new generic overloads
This PR comes from my need of configure parameter in WithLocalSessionManager() and a name parameter in WithWebApi().
And so, why not be exhaustive?
Hi! This PR overloads with a
name
parameter to mostIWebModuleContainer
.With*()
extensions methods:WithRouting()
methodsWithWebApi()
methodsWith*()
methods inWebModuleContainerExtensions-Files.cs
I did not add overloads to the
WithAction()
andOn[Verb]()
methods because I am not sure it would be useful and that's a lot of methods. I did not try either to add overloads to theWithCors()
methods because of the potential ambiguity of a new string parameter in these methods with a lots of optional string parameters. I am also not sure either if it would be useful either.This PR adds also a
configure
parameter to these methods:WithLocalSessionManager()
via an optinal parameterWithModule()
via new generic overloadsThis PR comes from my need of
configure
parameter inWithLocalSessionManager()
and aname
parameter inWithWebApi()
. And so, why not be exhaustive?