1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
namespace SourceBrowser.Site.Models
{
    using System;

    using Newtonsoft.Json.Linq;

    public class GithubSolutionStructure
    {
        public string Name { get; set; }

        public string RelativePath { get; set; }

        public string RelativeRootPath { get; set; }

        public GithubRepoStructure ParentRepo { get; set; }

        public override string ToString()
        {
            return String.Format("'{0}' from {1}'s repo {2}", Name, ParentRepo.ParentUserName, ParentRepo.Name);
        }
    }
}