public FalcorPath AppendAll(FalcorPath path) { var result = new KeySegment[_keys.Length + path.Count]; _keys.CopyTo(result, 0); path._keys.CopyTo(result, _keys.Length); return(new FalcorPath(result)); }
public FalcorPath Append(KeySegment key) { var result = new KeySegment[_keys.Length + 1]; _keys.CopyTo(result, 0); result[_keys.Length] = key; return(new FalcorPath(result)); }