I have a small Resharper template that I wrote to nullify the Parameter (C #) function.
Check.IsNotNull ($ param $, "$ param $"); - Suggest a parameter - # 1
Now I can check parameters parameters one by one without errors. But I want to be able to immediately check all the parameters immediately through the template. Is this possible in Resharper ?. Is there something like "$ Foreach" with which I can cycle through parameter variables and write code to check them one by one ?. (without writing foreach to code)
I see that "Alt + Ins" does something similar. (Taking all the properties in the class and entering them as constructor parameters). Therefore, hoping that we have a way out.
source share