public override bool SetProperty(string propertyName, string value, string[] source, ref int line) { switch (propertyName) { case "Ramp": m_ramp = new Ramp(); m_ramp.Parse(source, ref line, OwnerProject); break; case "Equation": m_equation = new Equation(); m_equation.Parse(source, ref line, OwnerProject); break; case "Recurrence": m_recurrence = new Recurrence(); m_recurrence.Parse(source, ref line, OwnerProject); break; default: return(base.SetProperty(propertyName, value, source, ref line)); } return(true); }
public override bool SetProperty( string propertyName, string value, string[] source, ref int line ) { switch ( propertyName ) { case "Ramp": m_ramp = new Ramp(); m_ramp.Parse( source, ref line, OwnerProject ); break; case "Equation": m_equation = new Equation(); m_equation.Parse( source, ref line, OwnerProject ); break; case "Recurrence": m_recurrence = new Recurrence(); m_recurrence.Parse( source, ref line, OwnerProject ); break; default: return base.SetProperty( propertyName, value, source, ref line ); } return true; }