/// <summary>
        /// Initializes a new instance of the <see cref="DeployResourceTask"/> class.
        /// </summary>
        /// <param name="resource">The resource to deploy.</param>
        public DeployResourceTask(Resource resource)
        {
            if (resource == null)
            {
                throw new ArgumentNullException(nameof(resource));
            }

            Resource = resource;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ExecuteScriptTask"/> class.
        /// </summary>
        /// <param name="resource">The resource.</param>
        /// <param name="scriptPath">The path to the scripts folder.</param>
        public ExecuteScriptTask(Resource resource, string scriptPath)
        {
            if (resource == null)
            {
                throw new ArgumentNullException(nameof(resource));
            }

            Resource = resource;
            ScriptPath = scriptPath;
        }