Как я могу заставить Ninject.Extensions.Interception в основном позволить мне привязать конкретный перехватчик к любому методу, имеющему атрибут ... psudocode:
Kernel.Intercept(context => context.Binding.HasAttribute<TransactionAttribute>())
.With<TransactionInterceptor>
С таким классом, как:
public SomeClass
{
[TransactionAttribute]
public void SomeTransactedMethod()
{ /*do stuff */ }
}