Pregunta

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

¿Fue útil?

Solución

string targetTypeName = invocation.TargetType.FullName;
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top