Patrik Svensson
Patrik Svensson

Reputation: 13844

Delegate factory in Ninject

Autofac got delegate factories, but I can't find any information about how to implement this in Ninject. The reason for me wanting to use this is to avoid referencing the container itself, but to be able to dynamically create new objects of the specified type.

Is there something similar I can do to achieve the same result?

Upvotes: 2

Views: 542

Answers (1)

Ian Davis
Ian Davis

Reputation: 3868

I believe you are looking for the factory extension (link).

Upvotes: 4

Related Questions