public static GetNodeCommentByAuthor ( this |
||
nodes | this |
|
author | string | |
return |
public static TreeNode GetNodeCommentByAuthor(this IEnumerable<TreeNode> nodes, string author)
{
return nodes.Single(x => (x.Tag as Comment).Author == author);
}