Net.Sf.Dbdeploy.ChangeScriptExecuter.CopyFileDoContentsToStdOut C# (CSharp) Method

CopyFileDoContentsToStdOut() private method

private CopyFileDoContentsToStdOut ( FileSystemInfo file ) : void
file System.IO.FileSystemInfo
return void
        private void CopyFileDoContentsToStdOut(FileSystemInfo file)
        {
            using (TextReader input = DetectEncodingAndOpenText(file.FullName))
            {
                string str;
                while ((str = input.ReadLine()) != null && !IsUndoToken(str))
                {
                    output.WriteLine(str);
                }
            }
        }