Created
October 3, 2021 00:00
-
-
Save gerhart92/a942ba6d0b4b23baec0d272926d267f8 to your computer and use it in GitHub Desktop.
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
namespace Feature.Serialization.DI | |
{ | |
using Feature.Serialization.Services; | |
using Microsoft.Extensions.DependencyInjection; | |
using Sitecore.DependencyInjection; | |
public class RegisterContainer : IServicesConfigurator | |
{ | |
public void Configure(IServiceCollection serviceCollection) | |
{ | |
serviceCollection.AddTransient<IUserSerializationService, UserSerializationService>(); | |
serviceCollection.AddTransient<IRoleSerializationService, RoleSerializationService>(); | |
serviceCollection.AddTransient<IItemSerializationService, ItemSerializationService>(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment