I have a snippet that creates a method that starts something like this:
private $ReturnType$ $QueryName$($Param1Type$ $Param1Name$, $Param2Type$ $Param2Name$, $Param3Type$ $Param3Name$, $Param4Type$ $Param4Name$, $Param5Type$ $Param5Name$)
The names and types are used further on to create, cache and call a compiled Linq query.
If the query needs less than 5 parameters I need to remove the extras, if it needs more it's a pain to add them in everywhere.
Can I set up a snippet where the number of parameters can vary automatically.