示例#1
0
    public override string ToString()
    {
        var  sb      = new StringBuilder("ProductList(");
        bool __first = true;

        if (__isset.hasNext)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("HasNext: ");
            HasNext.ToString(sb);
        }
        if (__isset.bannerSequence)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("BannerSequence: ");
            BannerSequence.ToString(sb);
        }
        if (__isset.bannerTargetType)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("BannerTargetType: ");
            BannerTargetType.ToString(sb);
        }
        if (BannerTargetPath != null && __isset.bannerTargetPath)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("BannerTargetPath: ");
            BannerTargetPath.ToString(sb);
        }
        if (ProductList_ != null && __isset.productList)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("ProductList_: ");
            ProductList_.ToString(sb);
        }
        if (BannerLang != null && __isset.bannerLang)
        {
            if (!__first)
            {
                sb.Append(", ");
            }
            __first = false;
            sb.Append("BannerLang: ");
            BannerLang.ToString(sb);
        }
        sb.Append(")");
        return(sb.ToString());
    }