Beispiel #1
0
        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);
        }
Beispiel #2
0
        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);
        }
Beispiel #3
0
		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;
		}
Beispiel #4
0
		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;
		}