コード例 #1
0
        public override string ToString()
        {
            var  sb      = new StringBuilder("TDetectResult(");
            bool __first = true;

            if (Row_set != null && isset.row_set)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Row_set: ");
                sb.Append(Row_set == null ? "<null>" : Row_set.ToString());
            }
            if (Copy_params != null && isset.copy_params)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Copy_params: ");
                sb.Append(Copy_params == null ? "<null>" : Copy_params.ToString());
            }
            sb.Append(")");
            return(sb.ToString());
        }
コード例 #2
0
        public override string ToString()
        {
            var  sb      = new StringBuilder("TQueryResult(");
            bool __first = true;

            if (Row_set != null && isset.row_set)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Row_set: ");
                sb.Append(Row_set == null ? "<null>" : Row_set.ToString());
            }
            if (isset.execution_time_ms)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Execution_time_ms: ");
                sb.Append(Execution_time_ms);
            }
            if (isset.total_time_ms)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Total_time_ms: ");
                sb.Append(Total_time_ms);
            }
            if (Nonce != null && isset.nonce)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Nonce: ");
                sb.Append(Nonce);
            }
            if (Debug != null && isset.debug)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Debug: ");
                sb.Append(Debug);
            }
            sb.Append(")");
            return(sb.ToString());
        }
コード例 #3
0
        public override string ToString()
        {
            var  sb      = new StringBuilder("TPixelTableRowResult(");
            bool __first = true;

            if (Pixel != null && isset.pixel)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Pixel: ");
                sb.Append(Pixel == null ? "<null>" : Pixel.ToString());
            }
            if (Vega_table_name != null && isset.vega_table_name)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Vega_table_name: ");
                sb.Append(Vega_table_name);
            }
            if (Table_id != null && isset.table_id)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Table_id: ");
                sb.Append(Table_id);
            }
            if (Row_id != null && isset.row_id)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Row_id: ");
                sb.Append(Row_id);
            }
            if (Row_set != null && isset.row_set)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Row_set: ");
                sb.Append(Row_set == null ? "<null>" : Row_set.ToString());
            }
            if (Nonce != null && isset.nonce)
            {
                if (!__first)
                {
                    sb.Append(", ");
                }
                __first = false;
                sb.Append("Nonce: ");
                sb.Append(Nonce);
            }
            sb.Append(")");
            return(sb.ToString());
        }