ninject/ninject.extensions.factory — pull request #4 by ursenzler (2012-05-21 14:13:27+00:00)
Title: Added binding syntax extension method NamedLikeFactoryMethod

added binding syntax extension method for defining a named binding corresponding with a GetXYZ factory method

An extension method to write this:
this.kernel.Bind().To().NamedLikeFactoryMethod((IWeaponFactory f) => f.GetSword());
this.kernel.Bind().ToFactory();

instead of this:
this.kernel.Bind().To().Named("Sword");
this.kernel.Bind().ToFactory();