Created
January 29, 2017 11:33
-
-
Save glcheetham/9bdfa48111bb15c7942c21c2d00323fa to your computer and use it in GitHub Desktop.
Using Inversion of Control with UmbracoHelper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
builder.RegisterInstance(umbracoHelper.ContentQuery).As<ITypedPublishedContentQuery>(); | |
builder.RegisterType<ResourceService>().As<IResourceService>(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment