Subversion Repositories DevTools

Rev

Rev 2088 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

using System;

namespace EA_DocGen
{
   /// <summary>
        /// Class containing EA model find/search functions. 
        /// </summary>
        public class EA_Finders
        {

      public static bool elementNameExistsInPackage(EA.Package parentPackage, string name)
      {
         foreach (EA.Element element in parentPackage.Elements)
         {
            if (element.Name.ToString() == name)
            {
               return true;
            }
         }
         return false;
      }


        }
}