public bool AllowProject(string projectGroupsFlags)
{
if(m_ProjectGroups != null && m_ProjectGroups.Length > 0)
{
if(projectGroupsFlags != null && projectGroupsFlags.Length == 0)
{
foreach(string group in projectGroupsFlags.Split('|'))
{
if(Array.IndexOf(m_ProjectGroups, group) != -1) //if included in the filter list
{
return true;
}
}
}
return false;//not included in the list or no groups specified for the project
}
return true;//no filter specified in the command line args
}