コード例 #1
0
        public override string ToString()
        {
            var sb = new LeveledStringBuilder("   ");

            ToString(sb, true);
            return(sb.ToString());
        }
コード例 #2
0
        public override string ToString()
        {
            var sb = new LeveledStringBuilder("-- ", "   ");

            foreach (var ds in DatasourceReports)
            {
                ds.ToString(sb.OptAppendLine());
            }

            if (UnknownSwitches != null)
            {
                sb.Append("Unknown switches: ");
                sb.Append(UnknownSwitches);
                sb.AppendLine();
            }
            if (MentionedSwitches != null)
            {
                sb.Append("Unknown switches: ");
                sb.Append(MentionedSwitches);
                sb.AppendLine();
            }
            return(sb.ToString());
        }