Пример #1
0
 public void Accumulate(SqlString colName, SqlString colId, SqlString ColVal)
 {
     if (!isInitialized)
     {
         concatStr     = new StringBuilder();
         isInitialized = true;
     }
     if ((SqlInt32)colId < 50 && (SqlInt32)ColVal < 2)
     {
         concatStr = concatStr + colId + "," + ColVal + ".";
     }
 }
Пример #2
0
        public string GetJsonString()
        {
            var sb         = new StringBuilder();
            var jsonString = new List <string> {
                Stringbuilder.ToString()
            };

            AppendDataToTrace(ElasticJsonWriterChildItem, jsonString);

            for (var i = jsonString.Count - 1; i == 0; i--)
            {
                sb.Append(jsonString[i]);
            }

            return(sb.ToString());
        }
Пример #3
0
 public void Read(BinaryReader r)
 {
     concatStr = new StringBuilder(r.ReadString());
 }