示例#1
0
        public override string ToString()
        {
            var result = "Name: " + Name + "\n";

            result += "Desc: " + Desc + "\n";
            result += "Type: " + Type + "\n";

            return(Requests.Aggregate(result, (current, pageRequest) => current + (pageRequest + "\n")));
        }
示例#2
0
        public override string ToString()
        {
            String result = Requests.Aggregate(String.Empty, (current, item) => current + (item.ToString() + '\n'));

            return(String.Format("Сайт: {0}\nЗапросы:\n{1}\n", SiteUrl, result));
        }