// <copyright company="XATA">
//      Copyright (c) 2017, All Right Reserved
// </copyright>
// <author>Ivan Ivchenko</author>
// <email>iivchenko@live.com</email>

using System.Collections.Generic;

namespace ShogunLib.CommandLine.Commands.Parameters
{
    /// <summary>
    /// Lazy realization of the console command argument.
    /// </summary>
    public class Argument : IArgument
    {
        /// <summary>
        /// Initializes a new instance of the Argument class.
        /// </summary>
        /// <param name="name">Argument name.</param>
        /// <param name="values">Argument values.</param>
        public Argument(string name, IEnumerable<string> values)
        {
            Name = name;
            Values = values;
        }

        /// <summary>
        /// Gets argument name.
        /// </summary>
        public string Name { get; private set; }

        /// <summary>
        /// Gets argument values.
        /// </summary>
        public IEnumerable<string> Values { get; private set; }
    }
}
