public override void OnRegisterModules(IModuleRegistry registry) { if (registry is null) { throw new ArgumentNullException(nameof(registry)); } base.OnRegisterModules(registry); registry.Register <IUserManager, UserManager>(); }
public override void OnRegisterModules(IModuleRegistry registry) { base.OnRegisterModules(registry); registry.Register <ICalculator, Calculator>(); }