INotifyPropertyChanged: AoP or IoC / DI?

I am stuck and I will be grateful for your opinion on this matter. I want to implement INotifyPropertyChangedfor my objects. I can’t understand which way is the best and why. The only obvious difference from me is that AoP is a little faster since everything is done at compile time using IoC / DI, which makes it easier to change the behavior of the latter. So which one would you use (or use in the past) and why?

Thank.

Please rephrase my question, I'm not a native speaker

+3
source share
1 answer

, , AOP - . AOP DI/IoC, . , , , . Java, , DI, Spring, AspectJ, . , .NET.

, , , , . , AOP , / pointcuts, .

+1

Source: https://habr.com/ru/post/1728642/


All Articles