Question

Is there a way I can get the type that method belongs to to log with a Castle interceptor?

Was it helpful?

Solution

string targetTypeName = invocation.TargetType.FullName;
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top