Exemplo n.º 1
0
        //---------------------------------------------------------------------

        object TypeIndependent.ICohort.this[CohortAttribute attribute]
        {
            get {
                if (attribute == AgeAttribute)
                    return age;
                return null;
            }
        }
Exemplo n.º 2
0
        //---------------------------------------------------------------------

        object TypeIndependent.ICohort.this[CohortAttribute attribute]
        {
            get {
                if (attribute == AgeAttribute)
                    return data.Age;
                if (attribute == BiomassAttribute)
                    return data.Biomass;
                return null;
            }
        }