Norns.Urd
Norns.Urd copied to clipboard
A dynamic weaving aop framework base on Emit
调用方法为 ``` public virtual async Task DoAsync() { if (Count < 50) { Count++; throw new FieldAccessException(); } await Task.Yield(); } ``` 在IInterceptorCreator.cs中,注释一下三行代码即可解决 ``` public static async Task Await(Task task)...
builder.Host.UseServiceProviderFactory(new AutofacServiceProviderFactory()) .ConfigureContainer((hostBuilderContext, containerBuilder) => { });
``` csharp public readonly struct xxx {} void Method(in xxx x) ``` such scene can't emit proxy