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

            if (string.IsNullOrEmpty(value))
            {
                return(0);
            }
            return(Convert.ToInt32(value));
        }
Beispiel #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);
        }
Beispiel #3
0
 protected string GetValue(string name)
 {
     return(ResultBuilder.GetParam(name));
 }
Beispiel #4
0
 public ResultBase(ResultBuilder resultBuilder)
 {
     ResultBuilder   = resultBuilder;
     OriginResultXml = resultBuilder.OriginResultXml;
 }
Beispiel #5
0
 public UnifiedOrderResult(ResultBuilder resultBuilder)
     : base(resultBuilder)
 {
 }
Beispiel #6
0
 public OrderQueryResult(ResultBuilder resultBuilder)
     : base(resultBuilder)
 {
 }
Beispiel #7
0
 public NotifyResult(ResultBuilder resultBuilder)
     : base(resultBuilder)
 {
 }