/// <summary>
        /// Factory method which construct a file output sink instance.
        /// </summary>
        /// <param name="path">The path to the output file</param>
        /// <returns>A sink which represents a file output</returns>
        public static Sink File(string path)
        {
            if (string.IsNullOrEmpty(path))
            {
                throw new ArgumentNullException("path");
            }

            if ((path == StandardOutput.ToString()) || (path == StandardError.ToString()))
            {
                throw new ArgumentException("The value of the 'path' argument is a reserved keyword", "path");
            }

            return(new Sink(path));
        }
 public override string ToString()
 {
     return(StandardOutput.ToString());
 }