AGS.Types.BuildTargetsInfo.GetRegisteredBuildTargetNames C# (CSharp) Method

GetRegisteredBuildTargetNames() public static method

Returns a list of the names of all registered build targets.
public static GetRegisteredBuildTargetNames ( bool onlyNormalTargets ) : string[]
onlyNormalTargets bool
return string[]
        public static string[] GetRegisteredBuildTargetNames(bool onlyNormalTargets)
        {
            List<string> names = new List<string>(_buildTargets.Count);
            for (int i = 0; i < _buildTargets.Count; ++i)
            {
                if (onlyNormalTargets ? _buildTargets[i].IsNormalBuildTarget : true)
                {
                    names.Add(_buildTargets[i].Name);
                }
            }
            return names.ToArray();
        }

Same methods

BuildTargetsInfo::GetRegisteredBuildTargetNames ( ) : string[]