Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

HtmlHelpers needs to use @inject for activation #700

Closed
pranavkm opened this issue Jun 24, 2014 · 2 comments
Closed

HtmlHelpers needs to use @inject for activation #700

pranavkm opened this issue Jun 24, 2014 · 2 comments
Assignees
Milestone

Comments

@pranavkm
Copy link
Contributor

  • Need to prepopulate some well known services that get injected by default into views.
    This includes IHtmlHelper for now. Might need to expand (IUrlHelper?)
@pranavkm pranavkm self-assigned this Jun 24, 2014
@rynowak
Copy link
Member

rynowak commented Jun 25, 2014

IUrlHelper and IViewComponentHelper

@yishaigalatzer
Copy link
Contributor

We need to ask if these helpers @rynowak mentions need to come through @Inject - The main reason to use @Inject for a property is to replace the signature, not to replace the implementation. For just activation we still probably just need to decorate the existing properties with [Activate]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants