public GithubFileNode(GithubObject file) { base.Title = file.name; base.SPObjectType = file.GetType().Name; base.Url = file.download_url; //base.IconPath = ""; this._file = file; }
public GithubDirectoryNode(GithubObject folder) { base.Title = folder.name; base.SPObjectType = folder.GetType().Name; base.Url = folder.download_url; base.IconPath = ""; this._folder = folder; }