THe snippet of code below is used in structuremap. It allow binding
to the concrete UserManager class directly and hten calling the
Configuring method on the class. Is there and equivalent in Ninject and if so could someone show me the code? ForConcreteType() .Configure .SetProperty(userManager => userManager.PasswordValidator = new PasswordValidator { RequiredLength = 6 }) .SetProperty(userManager => userManager.UserValidator = new UserValidator(userManager)); |