U4-4743 - Add IMemberService and IUserService to ServiceContext ctor

Created by Aaron Powell 23 Apr 2014, 03:30:45 Updated by Shannon Deminick 23 Apr 2014, 10:52:47

The public ctor for the ServiceContext doesn't allow you to inject some of the services, in particular the IMemberService and IUserService.

This means if you're using Umbraco internal code that relies on them you can't work around it without using reflection.

Since the majority of the services are injectable can we not just make them all injectable?

Comments

Shannon Deminick 23 Apr 2014, 07:17:44

Sorry, just an oversight, will update


Priority: Normal

Type: Bug

State: Fixed

Assignee: Shannon Deminick

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version: 6.2.0, 7.1.2

Sprint:

Story Points:

Cycle: