Spring.Expressions.Parser.antlr.debug.MessageEventArgs.setValues C# (CSharp) Method

setValues() private method

This should NOT be called from anyone other than ParserEventSupport!
private setValues ( int type, string text ) : void
type int
text string
return void
		internal void  setValues(int type, string text)
		{
			setValues(type);
			this.Text   = text;
		}

Usage Example

コード例 #1
0
        public virtual void  fireReportError(System.Exception e)
        {
            MessageEventHandler eventDelegate = (MessageEventHandler)((Parser)source).Events[Parser.ReportErrorEventKey];

            if (eventDelegate != null)
            {
                messageEvent.setValues(MessageEventArgs.ERROR, e.ToString());
                eventDelegate(source, messageEvent);
            }
            checkController();
        }