Esempio n. 1
0
 public override bool IsContainsIn(TreeListNodeCollection dest)
 {
     return dest.Any(n => n.Content is CommentDto && ((CommentDto)n.Content).Id == Id);
 }
Esempio n. 2
0
 public override bool IsContainsIn(TreeListNodeCollection dest)
 {
     return dest.Any(n => n.Content is ReferenceDto
                   && ((ReferenceDto) n.Content).FirstBlockId == FirstBlockId);
 }