Oleksandr Hulyi

Results 99 comments of Oleksandr Hulyi

Yuriy, I guess that Andrew meant that if we have a advice per instance there is no point to pass that instance every time injected method called. He suggests to...

We could support ArgumentSource.Instance and ArgumentSource.TargetArguments in advice's constructor. Will it work with DI ? We also could always inject InjectionTargets.Constructor? Will it make all architecture inconsistent? Option c) -...

I think we can support ``` c# public enum AspectArgumentSource { Instance, Type, } ```

Thank you @JasonBock . it is indeed interesting case. AspectInjector only works with Portable Mode so if there is embedded pdb it will modify the code but won't modify the...

Hi, if you mean assembly-wide propagation with filter it is done like that: ```c# using AspectInjector.Broker; using ConsoleApp2; using System; using System.Reflection; [assembly: LogTextMembers] namespace ConsoleApp2 { class Program {...

Hi Now I see your point. You want to intercept method calls within the method body, something like this (after injection is applied): ```c# static void Main(string[] args) { var...

Hi @jerviscui , thanks for the suggestion! A few questions: is the only inconvenience with Kind.Around is the stacktrace? Or there some other concerns? your suggestion is definitely doable ,...

omg, just realized you posted in April, I'm so sorry)) I'm not ignoring this project, I was just away

Thank you! If we want to implement Kind.Exception we need to answer these(and maybe more) questions: - Can we choose exceptions to cover? How this is done in an aspect?...

Thank you for input, I assure you this feature is on the table we're looking into it