Creating template with parameters on line basis
How can I create a template with parameters in my case Asp.Net Core, where some lines in certain files exist only purely based on passed parameters? Like
-I true/false
for Identity Server 4 and if false i shouldn't be registering the service for it in the MVC part and there shouldn't be Identity Server
project? Could you point me where i can read about it?2 Replies
Parameters is a more accurate word
should i use
in some way
or
and put "" to delete the line
can i do ?
Im just a little bit tempted to do multiple projects each for a different setup even for a few lines like this and toggle them using char option selector
Bump?