public UserService(IQueryService queryService, Lazy<ICommandBus> commandBus) { if (queryService == null) { throw new ArgumentNullException("queryService"); } if (commandBus == null) { throw new ArgumentNullException("commandBus"); } this.queryService = queryService; this.commandBus = commandBus; }