public int findCount(Regex regExPattern, FieldType fieldType)
{
int count = 0;
if ( (fieldType & FieldType.Name) >0 ) count = count + findCountForType(regExPattern, _Name);
if ( (fieldType & FieldType.Description) > 0) count = count + findCountForType(regExPattern, _Description);
if ((fieldType & FieldType.Stereotype) > 0) count = count + findCountForType(regExPattern, _Stereotype);
return count;
}
#endregion