public SignItem GetSignItem(IAopRequest <T> request, string reponseBody)
        {
            if (string.IsNullOrEmpty(reponseBody))
            {
                return(null);
            }
            SignItem signItem = new SignItem();
            string   text     = signItem.Sign = GetSign(reponseBody);
            string   text2    = signItem.SignSourceDate = GetSignSourceData(request, reponseBody);

            return(signItem);
        }
Exemple #2
0
        public SignItem GetSignItem(IAopRequest <T> request, string responseBody)
        {
            if (string.IsNullOrEmpty(responseBody))
            {
                return(null);
            }

            var signItem = new SignItem();
            var sign     = GetSign(responseBody);

            signItem.Sign = sign;

            var signSourceData = GetSignSourceData(request, responseBody);

            signItem.SignSourceDate = signSourceData;

            return(signItem);
        }
Exemple #3
0
        public SignItem GetSignItem(IAopRequest <T> request, T response)
        {
            string body = response.Body;

            if (string.IsNullOrEmpty(body))
            {
                return(null);
            }

            SignItem signItem = new SignItem();
            string   sign     = GetSign(body);

            signItem.Sign = sign;

            string signSourceData = GetSignSourceData(request, body);

            signItem.SignSourceDate = signSourceData;

            return(signItem);
        }