Skip to content

Instantly share code, notes, and snippets.

@trnktms
Created February 9, 2023 10:52
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
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