Domanda

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

È stato utile?

Soluzione

string targetTypeName = invocation.TargetType.FullName;
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top