How do I handle classes with static methods with Ninject?
Posted
by Greg
on Stack Overflow
See other posts from Stack Overflow
or by Greg
Published on 2010-04-26T01:55:43Z
Indexed on
2010/04/26
2:03 UTC
Read the original article
Hit count: 328
ninject
How do I handle classes with static methods with Ninject?
That is, in C# one can not have static methods in an interface, and Ninject works on the basis of using interfaces?
My use case is a class that I would like it to have a static method to create an unpopulated instance of itself.
© Stack Overflow or respective owner