-XML documentation

This commit is contained in:
James Newton-King
2013-12-16 20:32:59 +13:00
parent f085a4bff9
commit 17873ce735
+13 -2
View File
@@ -1907,7 +1907,7 @@ namespace Newtonsoft.Json.Linq
}
/// <summary>
/// Selects the token that matches the object path.
/// Selects the token that matches the JSON path.
/// </summary>
/// <param name="path">
/// The object path from the current <see cref="JToken"/> to the <see cref="JToken"/>
@@ -1922,7 +1922,7 @@ namespace Newtonsoft.Json.Linq
}
/// <summary>
/// Selects the token that matches the object path.
/// Selects the token that matches the JSON path.
/// </summary>
/// <param name="path">
/// The object path from the current <see cref="JToken"/> to the <see cref="JToken"/>
@@ -1944,11 +1944,22 @@ namespace Newtonsoft.Json.Linq
return result.SingleOrDefault();
}
/// <summary>
/// Selects tokens that match the JSON path.
/// </summary>
/// <param name="path"></param>
/// <returns></returns>
public IEnumerable<JToken> SelectTokens(string path)
{
return SelectTokens(path, false);
}
/// <summary>
/// Selects tokens that match the JSON path.
/// </summary>
/// <param name="path"></param>
/// <param name="errorWhenNoMatch"></param>
/// <returns></returns>
public IEnumerable<JToken> SelectTokens(string path, bool errorWhenNoMatch)
{
JPath p = new JPath(path);