예제 #1
0
 public GetUserInfoCommandHandler(IWeChatCommunicator communicator)
 {
     this.communicator = communicator ?? throw new ArgumentNullException(nameof(IWeChatCommunicator));
 }
예제 #2
0
 public GetAppAccessTokenCommandHandler(IWeChatCommunicator communicator,
                                        IWeChatServiceContext context)
 {
     this.communicator = communicator ?? throw new ArgumentNullException(nameof(IWeChatCommunicator));
     this.context      = context ?? throw new ArgumentNullException(nameof(IWeChatServiceContext));
 }