Exemplo n.º 1
0
        public float ComputeWeight()
        {
            var weight = DbEntry.GetCombinedPropFloat("weight", m_Properties);

            if (weight == 0.0f)
            {
                weight = 0.1f;
            }
            return(m_Count * weight);
        }