Lines Matching refs:path
43 /// a field path in the FieldMask.</para>
91 /// Adds a field path to the tree. In a FieldMask, every field path matches the
92 /// specified field as well as all its sub-fields. For example, a field path
94 /// a field path to the tree, redundant sub-paths will be removed. That is,
97 /// Likewise, if the field path to add is a sub-path of an existing leaf node,
100 public FieldMaskTree AddFieldPath(string path)
102 var parts = path.Split(FIELD_PATH_SEPARATOR);
114 // Check whether the path matches an existing leaf node.
119 // The path to add is a sub-path of an existing leaf node.
143 foreach (var path in mask.Paths)
145 AddFieldPath(path);
170 private void GetFieldPaths(Node node, string path, List<string> paths)
174 paths.Add(path);
180 var childPath = path.Length == 0 ? entry.Key : path + "." + entry.Key;
186 /// Adds the intersection of this tree with the given <paramref name="path"/> to <paramref name="output"/>.
188 public void IntersectFieldPath(string path, FieldMaskTree output)
195 var parts = path.Split(FIELD_PATH_SEPARATOR);
207 // The given path is a sub-path of an existing leaf node in the tree.
208 output.AddFieldPath(path);
218 // We found a matching node for the path. All leaf children of this matching
221 GetFieldPaths(node, path, paths);
251 string path,
297 var childPath = path.Length == 0 ? entry.Key : path + "." + entry.Key;