Beispiel #1
0
        /*
         *        METHODS PUBLIC: dumps
         */

        public void GErrListAdd(GErrList gerrlist)
        {
            if (gerrlist == null)
            {
                return;
            }
            gerrlist.ApplyToEach(DIActionBuilder.DIA(this, "DIAFunc_AddToPool"));
        }
Beispiel #2
0
 public void InformAll(DIAction diaToApply)
 {
     // get information about ALL GLYPHS
     foreach (DictionaryEntry entry in this.gerrlists)
     {
         GErrList gerrlist = entry.Value as GErrList;
         gerrlist.ApplyToEach(diaToApply);
     }
 }
Beispiel #3
0
        public bool Inform(int indGlyph, DIAction diaToApply)
        {
            bool bRet = true;

            if (indGlyph == GConsts.IND_ALL)
            {
                this.InformAll(diaToApply);
                bRet = true;
            }
            else
            {
                GErrList gerrlist = this.gerrlists[indGlyph] as GErrList;
                if (gerrlist != null)
                {
                    //If some error is of type Error or AppError, then return false
                    bRet &= gerrlist.TestErrors();
                    gerrlist.ApplyToEach(diaToApply);
                }
            }
            return(bRet);
        }
Beispiel #4
0
 /*
  *        METHODS PUBLIC: dumps 
  */
 
 public void GErrListAdd(GErrList gerrlist)
 {
     if (gerrlist==null)
         return;
     gerrlist.ApplyToEach(DIActionBuilder.DIA(this,"DIAFunc_AddToPool"));
 }