Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Find function Invoker

Tags:

c#

I have C# Function like this :

private void test(){}

Is there any way to find Invoker or caller of a function ?
For example :

private void Caller(){
test();
}

then how can I understand that test was invoked by Caller ?

like image 418
Shahin Avatar asked Mar 11 '26 05:03

Shahin


1 Answers

See how to get invoker class of this method

like image 137
Jishnu A P Avatar answered Mar 12 '26 18:03

Jishnu A P



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!