public override bool Execute()
        {
            var items = new List <ITaskItem> ();

            foreach (string abi in BuildTargetAbis)
            {
                var item = new TaskItem(ItemNamePattern.Replace("@abi@", abi));
                item.SetMetadata("abi", abi);
                items.Add(item);
            }

            OutputItems = items.ToArray();
            return(!Log.HasLoggedErrors);
        }
Beispiel #2
0
        public override bool Execute()
        {
            string[] abis  = BuildTargetAbis.Split(new [] { ';', ',' }, StringSplitOptions.RemoveEmptyEntries);
            var      items = new List <ITaskItem> ();

            foreach (string abi in abis)
            {
                var item = new TaskItem(ItemNamePattern.Replace("@abi@", abi));
                item.SetMetadata("abi", abi);
                items.Add(item);
            }

            OutputItems = items.ToArray();
            return(!Log.HasLoggedErrors);
        }