public List <string> GetCells(InstanceFact fact) { var taxfactkey = fact.TaxonomyKey; var cells = Taxonomy.GetCellsOfFact(taxfactkey); var result = new List <string>(); foreach (var cell in cells) { String instancecell = ""; if (fact != null) { instancecell = GetDynamicCellID(cell, fact); } if (!String.IsNullOrEmpty(instancecell)) { result.Add(instancecell); } else { result.Add(cell); } } return(result); }
public List <string> GetCellsByTaxFactIndex(int[] taxfactkey) { var cells = Taxonomy.GetCellsOfFact(taxfactkey); return(cells); }