Maksim Volkau

Results 237 comments of Maksim Volkau

I am not sure how to approach this functionality... we need to somehow convert the `Delegate` from the `Resolve` to the `Func` with corresponding parameters. Maybe you can use the...

> Returning a DynamicRegistration means that it is registered only for the current service request, not permanently It is permanently, but on demand > I'm guessing the best way to...

That's working, good! Probably if I expose the `GetFuncOrActionExpression` it should simplify things? Regarding the actual wrapper for this it hard to do because there is no type to match...

> When you say add as a DynamicRegistration, you mean internally via rules, or expose as a new type derived from DynamicRegistration, or ...? The rule for this, there are...

It should be possible to call the RegisteredDelegate already.. presumably. `c.RegisterDelegate((a, b) => new C(a, b));` The problem that we are losing the static types information here. We may create...

Here is the results: ```md BenchmarkDotNet=v0.12.0, OS=Windows 10.0.18363 Intel Core i7-8750H CPU 2.20GHz (Coffee Lake), 1 CPU, 12 logical and 6 physical cores .NET Core SDK=3.1.202 [Host] : .NET Core...

## Ninject Module Reference doc: https://github.com/ninject/Ninject/wiki/Modules-and-the-Kernel#modules Ninject example: ```cs public class WarriorModule: NinjectModule { public override void Load() { Bind().To(); Bind().ToSelf().InSingletonScope(); } } ``` A similar DryIocModule may be approached...

You may do it know. Even better if you have some problems I may help with improvements, or at least track this here for documentation and future improvements.

Huh, it is not ready yet (I am just starting). I mean that you can grab the code from example and start experimenting with it and I may help with...