Exemple #1
0
        /// <summary>
        /// Creates an instance of this class given the backing item.
        /// </summary>
        /// <owner>SumedhK</owner>
        /// <param name="item"></param>
        internal TaskItem(BuildItem item)
        {
            ErrorUtilities.VerifyThrow(item != null, "Need to specify backing item.");

            this.item = item.VirtualClone();
        }
Exemple #2
0
        /// <summary>
        /// Creates an instance of this class given the backing item.
        /// </summary>
        /// <owner>SumedhK</owner>
        /// <param name="item"></param>
        internal TaskItem(BuildItem item)
        {
            ErrorUtilities.VerifyThrow(item != null, "Need to specify backing item.");

            this.item = item.VirtualClone();
        }