CubePdf.PostProcess.GetNormalizedPath C# (CSharp) Method

GetNormalizedPath() private method

変換に成功したファイル名(パス)を取得します。
private GetNormalizedPath ( ) : string
return string
        private string GetNormalizedPath()
        {
            if (IoEx.File.Exists(FileName)) return FileName;
            var directory = IoEx.Path.GetDirectoryName(FileName);
            var basename  = IoEx.Path.GetFileNameWithoutExtension(FileName) + "-001";
            var extension = IoEx.Path.GetExtension(FileName);
            return IoEx.Path.Combine(directory, basename + extension);
        }