protected override void ProcessRecord()
        {
            var fullInputPath = InputResourceFile;

            if (!Path.IsPathRooted(InputResourceFile))
            {
                fullInputPath = Resolve(InputResourceFile);
            }

            var fullOutputPath = OutputResourceFile;

            if (!Path.IsPathRooted(OutputResourceFile))
            {
                fullOutputPath = Resolve(OutputResourceFile);
            }

            if (!File.Exists(fullInputPath))
            {
                WriteObject(string.Format("input file does not exist: {0}", fullOutputPath));
                WriteObject("closing...");
                return;
            }

            WriteObject("Pseudoizer: Adapted from MSDN BugSlayer 2004-Apr i18n Article");
            WriteObject(string.Format(" - generating resource file from {0}", fullInputPath));
            WriteObject(string.Format(" - output to {0}", fullOutputPath));

            var psuedoizer = new Psuedoizer();

            psuedoizer.Run(fullInputPath, fullOutputPath);

            WriteObject(string.Format("Psuedoizer completed successfully"));
        }
        protected override void ProcessRecord()
        {
            var fullInputPath = InputResourceFile;
            if (!Path.IsPathRooted(InputResourceFile))
            {
                fullInputPath = Resolve(InputResourceFile);
            }

            var fullOutputPath = OutputResourceFile;
            if (!Path.IsPathRooted(OutputResourceFile))
            {
                fullOutputPath = Resolve(OutputResourceFile);
            }

            if(!File.Exists(fullInputPath))
            {
                WriteObject(string.Format("input file does not exist: {0}", fullOutputPath));
                WriteObject("closing...");
                return;
            }

            WriteObject("Pseudoizer: Adapted from MSDN BugSlayer 2004-Apr i18n Article");
            WriteObject(string.Format(" - generating resource file from {0}", fullInputPath));
            WriteObject(string.Format(" - output to {0}", fullOutputPath));

            var psuedoizer = new Psuedoizer();
            psuedoizer.Run(fullInputPath, fullOutputPath);

            WriteObject(string.Format("Psuedoizer completed successfully"));
        }
        protected override void ProcessRecord()
        {
            this.WriteObject("Psuedoizer: Adapted from MSDN BugSlayer 2004-Apr i18n Article");
            this.WriteObject(string.Format(" - generating resource file from {0}", InputResourceFile));
            this.WriteObject(string.Format(" - output to {0}", OutputResourceFile));

            Psuedoizer psuedoizer = new Psuedoizer();
            psuedoizer.Run(InputResourceFile, OutputResourceFile);

            this.WriteObject(string.Format("Psuedoizer completed successfully"));
        }