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

有帮助吗?

解决方案

string targetTypeName = invocation.TargetType.FullName;
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top