Skip to content

yilmazax/AspectSample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AspectSample

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)]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages