private static void RegisterCommands(Type type, Registry registry) { var commandHandlerRegistrarm = new CommandHandlerRegistrar(type, registry); commandHandlerRegistrarm.RegisterTypes(typeof(IUpdateCommand <,>), typeof(UpdateCommandHandler <, ,>)); commandHandlerRegistrarm.RegisterTypes(typeof(IDeleteCommand <,>), typeof(DeleteCommandHandler <, ,>)); }
private static void RegisterCommands(Type type, Registry registry) { var commandHandlerRegistrarm = new CommandHandlerRegistrar(type, registry); commandHandlerRegistrarm.RegisterTypes(typeof(IUpdateCommand<,>), typeof(UpdateCommandHandler<,,>)); commandHandlerRegistrarm.RegisterTypes(typeof(IDeleteCommand<,>), typeof(DeleteCommandHandler<,,>)); }