Releases: pamidur/aspect-injector
Releases · pamidur/aspect-injector
2.6.1
2.6.0
Improvements:
- Improved types resolution and getting rid of force-referencing netstandard.dll #138
- Proper net5 support
- Added
[SkipInjection]
attribute so you can tell AspectInjector never inject into particular methods - Improved handling of the debug information
Fixes:
2.5.0
New feature Interface Triggers #143 :
Now interfaces are valid target for [Injection]
attribute. It works the same way as attribute based injections except it will not show up in [Argument(Source.Triggers)].
Common Aspects:
- Aspects.Cache v1.0.2 now has option to be on Per-Type basis (rather than only on Per-Instance). Thanks @MaciejWanat
Fixes:
- Fixed attributes instancing for Around aspects. Now produces valid code for attributes with named properties.
2.4.4
2.4.3
2.4.2
2.4.1
2.4.0
2.3.1
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))]