Пример #1
0
        /// <summary>
        /// Adds a deployment item.
        /// </summary>
        /// <param name="deploymentItem">The deployment item to add.</param>
        public void AddDeploymentItem(MSTestDeploymentItem deploymentItem)
        {
            if (deploymentItem == null)
                throw new ArgumentNullException("deploymentItem");

            if (deploymentItems == null)
                deploymentItems = new List<MSTestDeploymentItem>();

            deploymentItems.Add(deploymentItem);
        }
Пример #2
0
        /// <summary>
        /// Adds a deployment item.
        /// </summary>
        /// <param name="deploymentItem">The deployment item to add.</param>
        public void AddDeploymentItem(MSTestDeploymentItem deploymentItem)
        {
            if (deploymentItem == null)
            {
                throw new ArgumentNullException("deploymentItem");
            }

            if (deploymentItems == null)
            {
                deploymentItems = new List <MSTestDeploymentItem>();
            }

            deploymentItems.Add(deploymentItem);
        }