Skip to content

Instantly share code, notes, and snippets.

@haraldfianbakken
Created April 13, 2013 13:45
Show Gist options
  • Save haraldfianbakken/5378465 to your computer and use it in GitHub Desktop.
Save haraldfianbakken/5378465 to your computer and use it in GitHub Desktop.
Not allowed inheritance by structuremap
public class SecureController : Controller
{
protected SecureController(IMemberService memberService, ISecurityContext securityContext) : base(memberService, securityContext)
{
}
}
public class AccountController : SecureController
{
public AccountController(IMemberService memberService,ISecurityContext securityContext) : base(memberService,securityContext)
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment