public GetUserInfoCommandHandler(IWeChatCommunicator communicator) { this.communicator = communicator ?? throw new ArgumentNullException(nameof(IWeChatCommunicator)); }
public GetAppAccessTokenCommandHandler(IWeChatCommunicator communicator, IWeChatServiceContext context) { this.communicator = communicator ?? throw new ArgumentNullException(nameof(IWeChatCommunicator)); this.context = context ?? throw new ArgumentNullException(nameof(IWeChatServiceContext)); }