private void InitializeEngine() { _CalcData = new CalcData(); Engine = new CalcEngine(_CalcData); Engine.UseNoAmpersandQuotes = true; int i = CalcEngine.CreateSheetFamilyID(); Engine.RegisterGridAsSheet("CalcData" + i.ToString(), _CalcData, i); }
public ComputeCommand(FunctionsLibraryViewModel _viewModel) { viewModel = _viewModel; calcData = viewModel._CalcData; }
internal void Dispose() { _CalcData = null; Engine.Dispose(); Engine = null; }