public override bool SetProperty(string propertyName, string value, string[] source, ref int line) { switch (propertyName) { // Docs say "not supported" but I'm not sure that that's true! case "Conditional": m_conditional = new Conditional(); m_conditional.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 "Pause Playback": m_pause = Parser.ParseInt(value, line); break; case "Conditional": m_conditional = new Conditional(); m_conditional.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 "Pause Playback": m_pause = Parser.ParseInt( value, line ); break; case "Conditional": m_conditional = new Conditional(); m_conditional.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 ) { // Docs say "not supported" but I'm not sure that that's true! case "Conditional": m_conditional = new Conditional(); m_conditional.Parse( source, ref line, OwnerProject ); break; default: return base.SetProperty( propertyName, value, source, ref line ); } return true; }