Вопрос

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