Skip to content

Instantly share code, notes, and snippets.

@trnktms
Created February 9, 2023 10:52
Show Gist options
  • Save trnktms/846daf17c43543a7338b8318d2fdf56c to your computer and use it in GitHub Desktop.
Save trnktms/846daf17c43543a7338b8318d2fdf56c to your computer and use it in GitHub Desktop.
namespace Feature.DI
{
public class RegisterContainer : IServicesConfigurator
{
public void Configure(IServiceCollection serviceCollection)
{
serviceCollection.AddTransient<ItemAuthorizationHelper, CustomItemAuthorizationHelper>();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment