blob: 9bc936fd1ac429adc5090a3fa04a306a276ed4cb [file] [log] [blame]
using System.Collections.Generic;
namespace OfficeOpenXml.FormulaParsing
{
internal class DependencyChain
{
internal List<FormulaCell> list = new List<FormulaCell>();
internal Dictionary<ulong, int> index = new Dictionary<ulong, int>();
internal List<int> CalcOrder = new List<int>();
internal void Add(FormulaCell f)
{
list.Add(f);
f.Index = list.Count - 1;
index.Add(ExcelCellBase.GetCellID(f.SheetID, f.Row, f.Column), f.Index);
}
}
}