Repository navigation
2.3.0
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))]