Is there a way to always execute a function before any other function of a class is called?
I have a class where I need to refresh some fields always before any func
You should use Decorator in this case. Decorator is a good choice for something like interceptor. Example here: https://msdn.microsoft.com/en-us/library/dn178467(v=pandp.30).aspx