/// <summary>
        /// Gets the output parameter.
        /// </summary>
        /// <returns>Returns the output parameter.</returns>
        public ParameterInfoDataContainer GetOutput()
        {
            var param = new ParameterInfoDataContainer();

            var source = this.Args.FirstOrDefault(p => p.ToLower().StartsWith("/o:"));

            if (String.IsNullOrWhiteSpace(source))
            {
                return(param);
            }

            param.Directories = new List <string>()
            {
                source.Replace("/o:", "").Replace("\"", "")
            };

            param.EncodingInfo = this.GetOutputEncoding();
            return(param);
        }
        /// <summary>
        /// Gets the input parameter.
        /// </summary>
        /// <returns>Returns the input parameter.</returns>
        public ParameterInfoDataContainer GetInput()
        {
            var param = new ParameterInfoDataContainer();

            var source = this.Args.FirstOrDefault(p => p.ToLower().StartsWith("/i:"));

            if (String.IsNullOrWhiteSpace(source))
            {
                return(param);
            }

            var conversionType = this.GetConversioinType();

            switch (conversionType)
            {
            case ConversionType.Directory:
                param.Directories = source.Replace("/i:", "")
                                    .Replace("\"", "")
                                    .Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries)
                                    .ToList();
                break;

            case ConversionType.File:
                param.Files = source.Replace("/i:", "")
                              .Replace("\"", "")
                              .Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries)
                              .ToList();
                break;

            default:
                throw new InvalidOperationException("ConversionType must be either Directory or File");
            }

            param.EncodingInfo = this.GetInputEncoding();
            return(param);
        }