/// <summary> /// Gets the full path. /// </summary> /// <returns>System.String.</returns> public string GetFullPath() { LightCollection <string> paths = new LightCollection <string>(); paths.Add(_id); TreeItem <T> parent = this.Parent; while (parent != null) { paths.Add(parent.Id); parent = parent.Parent; } paths.Reverse(); string fullPath = string.Join("/", paths.GetItems()); return(fullPath); }
public void Reverse() { _coll.Reverse(); }