This project example for DI and Interceptor with LightInject.
When I use Java spring framework.I realized that There aren't some very attractive features while using c# (such as JPA implementation Hibernate attributes or AspectJ )
in the python language there are decorator to intersept and add new behavior or change behaviour . for more information https://realpython.com/primer-on-python-decorators/#syntactic-sugar
I declared same attribute such as Logging ,Exception, Query even you can use attribute in interface.
[Logging] [Exception] [Query(CommandText = "GetSeqNextValue", CommandType = System.Data.CommandType.StoredProcedure)]