예제 #1
0
        protected int GetIntValue(string name)
        {
            string value = ResultBuilder.GetParam(name);

            if (string.IsNullOrEmpty(value))
            {
                return(0);
            }
            return(Convert.ToInt32(value));
        }
예제 #2
0
        protected bool GetBooleanValue(string name)
        {
            string value = ResultBuilder.GetParam(name);

            if (string.IsNullOrEmpty(value))
            {
                return(false);
            }
            value = value.ToLower();
            if (value == "y" || value == "true" || value == "yes")
            {
                return(true);
            }
            return(false);
        }
예제 #3
0
 public OrderQueryResult(ResultBuilder resultBuilder)
     : base(resultBuilder)
 {
 }
예제 #4
0
 protected string GetValue(string name)
 {
     return(ResultBuilder.GetParam(name));
 }
예제 #5
0
 public ResultBase(ResultBuilder resultBuilder)
 {
     ResultBuilder   = resultBuilder;
     OriginResultXml = resultBuilder.OriginResultXml;
 }
예제 #6
0
 public UnifiedOrderResult(ResultBuilder resultBuilder)
     : base(resultBuilder)
 {
 }
예제 #7
0
 public NotifyResult(ResultBuilder resultBuilder)
     : base(resultBuilder)
 {
 }