예제 #1
0
 public CombineElement Concat(CombineElement element)
 {
     return(new CombineElement(Targets.Concat(element.Targets).ToList(), SideElements.Union(element.SideElements).ToList()));
 }
예제 #2
0
 public bool CanConcat(CombineElement element)
 {
     return(element.Targets.Any(SideElements.Contains) || element.SideElements.Any(Targets.Concat(SideElements).Contains));
 }