Frage

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

War es hilfreich?

Lösung

string targetTypeName = invocation.TargetType.FullName;
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top