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

GetSelectedBuildTargets() public static method

Returns a list of the IBuildTargets that are currently available and selected for building.
public static GetSelectedBuildTargets ( ) : IList
return IList
        public static IList<IBuildTarget> GetSelectedBuildTargets()
        {
            List<IBuildTarget> targets = new List<IBuildTarget>(_buildTargets.Count);
            foreach (IBuildTarget target in _buildTargets)
            {
                if (target.IsTargetedForBuild)
                {
                    targets.Add(target);
                }
            }
            return targets;
        }