Example #1
0
        public void WriteDictionaryError(ErrorType errorType, string columnAddress, string val, 
			MLString message, MLString dictionaryName)
        {
            DictionaryErrorRecord record = new DictionaryErrorRecord(columnAddress, val,  message, dictionaryName);

            record.ErrorType = errorType;

            if (errorType == ErrorType.DictionaryNonCritical)
                m_DictionaryErrors.Add(record);
            else if (errorType == ErrorType.DictionaryCritical)
                m_DictionaryCriticalErrors.Add(record);
        }
Example #2
0
        public void WriteDictionaryError(ErrorType errorType, int row, int column, string val, 
			string message, MLString dictionaryName )
        {
            DictionaryErrorRecord record = new DictionaryErrorRecord(row, column, val,
                new MLString( message ), dictionaryName);

            record.ErrorType = errorType;

            if (errorType == ErrorType.DictionaryNonCritical)
                m_DictionaryErrors.Add(record);
            else if (errorType == ErrorType.DictionaryCritical)
                m_DictionaryCriticalErrors.Add(record);
        }