Hello, I am searching the code to see where the AddApplied is being used. I am adding a new Interceptor and need to check if the "CrossCuttingConcern" is applied.
Thank you
5 Answer(s)
-
0
Hi @bilalhaidar,
This class <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/master/src/Abp/Aspects/AbpCrossCuttingConcerns.cs">https://github.com/aspnetboilerplate/as ... oncerns.cs</a> is internal but you can create same logic for your interceptor.
-
0
Thanks Ismail. But I couldn't find anywhere else where "AddApplied" is being used? Or maybe I am missing the idea, how are concerns applied and where? Thanks
-
0
You are right, it seems like AddApplied is never used but IsApplied and Applying is used.
-
0
OK thank you. But how are cross-cutting concerns added to the system? I mean how does the IsApplied now that this concern is applied? I am building something similar and I need to understand how the framework knows that this cross cutting concern is applied or not.
Thank you
-
0
Hi,
I'm not familiar with this part of code but it seems like it is called in AbpCrossCuttingConcerns.Applying method <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/master/src/Abp/Aspects/AbpCrossCuttingConcerns.cs#L61">https://github.com/aspnetboilerplate/as ... rns.cs#L61</a>.