internal override void SetProperties(List <object> i_OtherProperties) { m_Properties = i_OtherProperties; m_CarColour = (eCarColour)i_OtherProperties.ElementAt(0); m_CarNumberOfDoors = (eCarNumberOfDoors)i_OtherProperties.ElementAt(1); }
/** * This method overrides the base's method * Receives an array of answers and updates the fields accordingly */ public override void UpdateUniqueFields(List <object> i_ListOfUniqueInfoAnswers) { m_ColourOfCar = (eCarColour)int.Parse((string)i_ListOfUniqueInfoAnswers[0]); m_NumberOfDoors = (eNumOfDoors)int.Parse((string)i_ListOfUniqueInfoAnswers[1]); }