コード例 #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);
        }
コード例 #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);
        }
コード例 #3
0
ファイル: Event.cs プロジェクト: GlennSandoval/JSIL
		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;
		}
コード例 #4
0
ファイル: Event.cs プロジェクト: GlennSandoval/JSIL
		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;
		}