예제 #1
0
 internal TreeViewNodeModel GetTreeViewNodeModel(Guid guid)
 {
     if (guid != null && guid != Guid.Empty)
     {
         return(Lines.FirstOrDefault(item => guid.Equals(item.Guid)) ??
                Funs.FirstOrDefault(item => guid.Equals(item.Guid)) ??
                Primitives.FirstOrDefault(item => guid.Equals(item.Guid)));
     }
     return(null);
 }