The static method has no instance to work, so no. This is not possible without passing parameters.
Another option for you might be to use a static instance of the class (the Mark example shows this method at work), although from your example, I'm not sure if this would solve your problem.
Personally, I think that passing parameters would be the best option. I'm still not sure why you want to dodge it.
Justin niessner
source share