Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        public List <string> GetCellsByTaxFactIndex(int[] taxfactkey)
        {
            var cells = Taxonomy.GetCellsOfFact(taxfactkey);

            return(cells);
        }