public string[] GetTree(string path, int depth) { if (!string.IsNullOrEmpty(path)) { return path == "tagger" ? new[] { "name", "email", "date" } } : Array.Empty <string>(); if (depth == 0) { return(Array.Empty <string>()); } return(new[] { "object", "type", "tag", "message" }.Concat(Tagger.GetTree("tagger", depth)).ToArray()); }