Skip to content

2.3.0

Choose a tag to compare

@pamidur pamidur released this 10 Feb 15:36
· 148 commits to master since this release
210bb8f

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