コード例 #1
0
        public override bool SetProperty(string propertyName, string value, string[] source, ref int line)
        {
            // Derived classes should attempt to SetProperty first, and call into this class if they can't
            switch (propertyName)
            {
            case "Event Header":
                m_header = new EventHeader();
                m_header.Parse(source, ref line, OwnerProject);
                break;

            default:
                return(false);
            }

            return(true);
        }
コード例 #2
0
ファイル: Event.cs プロジェクト: GlennSandoval/JSIL
		public override bool SetProperty( string propertyName, string value, string[] source, ref int line )
		{
			// Derived classes should attempt to SetProperty first, and call into this class if they can't
			switch ( propertyName )
			{
				case "Event Header":
					m_header = new EventHeader();
					m_header.Parse( source, ref line, OwnerProject );
					break;

				default:
					return false;
			}

			return true;
		}