public override StringBuilder Represent(SearchResult.Result result, int table)
        {
            StringBuilder builder = Base.Represent(result);

            string ownPrefix = null;

            builder.AppendLine(ownPrefix + result.Counts[table].ToString());

            return(builder);
        }
コード例 #2
0
        public override StringBuilder Represent(SearchResult.Result result, int table)
        {
            StringBuilder builder   = Base.Represent(result);
            string        OwnPrefix = Prefix.Prefix == null ? null : Prefix + ".";

            foreach (string s in result.CellNames[table])
            {
                builder.AppendLine(OwnPrefix + s);
            }

            return(builder);
        }
        public override StringBuilder Represent(SearchResult.Result result)
        {
            StringBuilder builder = Base.Represent(result);

            ulong count = 0;

            for (int t = 0; t < result.Count; t++)
            {
                count += result.Counts[t];
            }

            builder.AppendLine(count.ToString());

            return(builder);
        }
        public override StringBuilder Represent(SearchResult.Result result)
        {
            StringBuilder builder = new StringBuilder();

            for (int t = 0; t < result.Count; t++)
            {
                if (result.SheetNames[t] == null)
                {
                    continue;
                }

                Prefix.Prefix = result.SheetNames[t];
                builder.Append(Base.Represent(result, t));
            }

            return(builder);
        }
コード例 #5
0
 public override StringBuilder Represent(SearchResult.Result result, int t)
 {
     throw new NotSupportedException();
 }
コード例 #6
0
 public virtual StringBuilder Represent(SearchResult.Result result, int t)
 {
     return(new StringBuilder());
 }