/// <summary> /// Returns the <see cref="MultiDocumentQuery"/> filtered to a single Node with a <see cref="TreeNode.NodeID"/> matching the provided value /// </summary> /// <param name="query">The current MultiDocumentQuery</param> /// <param name="nodeID">Value of the <see cref="TreeNode.NodeID" /> to filter by</param> /// <returns></returns> public static MultiDocumentQuery WhereNodeIDEquals(this MultiDocumentQuery query, int nodeID) => query.WhereEquals(nameof(TreeNode.NodeID), nodeID);
/// <summary> /// Returns the <see cref="MultiDocumentQuery"/> filtered to a single Node with a <see cref="TreeNode.DocumentID"/> matching the provided value /// </summary> /// <param name="query">The current MultiDocumentQuery</param> /// <param name="documentID">Value of the <see cref="TreeNode.DocumentID" /> to filter by</param> /// <returns></returns> public static MultiDocumentQuery WhereDocumentIDEquals(this MultiDocumentQuery query, int documentID) => query.WhereEquals(nameof(TreeNode.DocumentID), documentID);
/// <summary> /// Returns the <see cref="MultiDocumentQuery"/> filtered to a single Node with a <see cref="TreeNode.NodeGUID"/> matching the provided value /// </summary> /// <param name="query">The current MultiDocumentQuery</param> /// <param name="nodeGuid">Value of the <see cref="TreeNode.NodeGUID" /> to filter by</param> /// <returns></returns> public static MultiDocumentQuery WhereNodeGUIDEquals(this MultiDocumentQuery query, Guid nodeGuid) => query.WhereEquals(nameof(TreeNode.NodeGUID), nodeGuid);