/// <summary> /// Get taxon quality summary for a specified taxon /// </summary> /// <param name="taxon">Taxon to get quality summary for</param> /// <returns>List of quality summary values.</returns> protected virtual TaxonChildQualityStatisticsList GetTaxonChildQualityStatistics(ITaxon taxon) { TaxonChildQualityStatisticsList taxonQualitySummaries = null; if (TaxonChildQualityStatistics.ContainsKey(taxon.Id)) { taxonQualitySummaries = (TaxonChildQualityStatisticsList)(TaxonChildQualityStatistics[taxon.Id]); } return(taxonQualitySummaries); }
/// <summary> /// Get taxon quality summary for a specified taxon /// </summary> /// <param name="taxon">Taxon to get quality summary for</param> /// <returns>List of quality summary values.</returns> protected override TaxonChildQualityStatisticsList GetTaxonChildQualityStatistics(ITaxon taxon) { TaxonChildQualityStatisticsList taxonQualitySummaries = null; lock (TaxonChildQualityStatistics) { if (TaxonChildQualityStatistics.ContainsKey(taxon.Id)) { taxonQualitySummaries = (TaxonChildQualityStatisticsList)(TaxonChildQualityStatistics[taxon.Id]); } } return(taxonQualitySummaries); }