Skip to content

Instantly share code, notes, and snippets.

Created September 29, 2022 13:17
What would you like to do?
using Foundation.ContentsResolvers;
using Foundation.Extensions;
using Microsoft.Extensions.DependencyInjection;
using Sitecore.DependencyInjection;
namespace Feature.DI
public class RegisterContainer : IServicesConfigurator
public void Configure(IServiceCollection serviceCollection)
serviceCollection.AddScoped<IDefaultRenderingContentsResolver, DefaultRenderingContentsResolver>();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment