public void FillBasisFromEnlarge(TAlternativeParserGrpCrossItemEnlarge AEnl) { for (int i = 0; i <= AEnl.Count - 1; i++) { BasisAdd(AEnl.GetItems(i).TFS); } }
void ReplaceToEnlarge(TAlternativeParserGrpCrossItemEnlarge AE) { int index = f_Basis.IndexOf(AE.Pos); f_Basis.Insert(index, AE); for (int i = 0; i <= AE.Count - 1; i++) { index = f_Basis.IndexOf(AE.GetItems(i)); if (index >= 0) { f_Basis.RemoveAt(index); } } }