Aspect Injector v2.3.0 Release Notes

Release Date: 2020-02-10 // almost 2 years ago
  • 🆕 New Feature:
    Injection attributes can be inherited #122 :

     [Injection(typeof(CacheAspect), Inherited=true)] public abstract class CacheAttribute : Attribute { public abstract ObjectCache Cache { get; } public abstract CacheItemPolicy Policy { get; } } public class MemoryCacheAttribute : CacheAttribute { ... implementation }
    

    And then MemoryCacheAttribute will behave as if it has [Injection(typeof(CacheAspect))]