//remove handle that has transition out of this state public void RemoveNext(Handle startHandle) { NextElem.RemoveAll(x => startHandle.NextElem.Contains(x)); Next.Remove(startHandle); }
//add handle that has transition out of this state public void AddNext(Handle h) { NextElem.AddRange(h.NextElem); Next.Add(h); }