Is it possible to get the name of a C# method parameter without having to use “magic strings”?
I’m using Ninject as my IoC container. I have a few instances where I need to configure the injected service at runtime, so I need to pass in constructor arguments. I’m currently doing something like this: