Open magol opened 12 years ago
If I use ToFactory in Ninject as example below, I get a "Class 'Foo' is never instantiated" on the class Foo.
public class Foo {}
public interface IFactory { Foo CreateFoo() }
Bind.ToFactory();
Foo myFoo = _myFactory.CreateFoo()
Hi! Thanks for reporting, but ToFactory isn't supported yet.
I'll put it in the ever-growing TODO pile.
Thanks!
If I use ToFactory in Ninject as example below, I get a "Class 'Foo' is never instantiated" on the class Foo.
public class Foo {}
public interface IFactory { Foo CreateFoo() }
Bind.ToFactory();
Foo myFoo = _myFactory.CreateFoo()