src/MajungaLibrary/Helpers/FileHelper.cs
/// <summary>
/// Gets the full path of a Directory or defaults to current Directories full path
/// </summary>
/// <param name="path">Partial path</param>
/// <returns>Full Path</returns>
Gets the full path of a Directory or defaults to current Directories full path
Gets the full path of a Directory or defaults to current Directories full path
public static string GetFullPath(string path)
        {
            if (string.IsNullOrWhiteSpace(path))
            {
                return Environment.CurrentDirectory;
            }
            else
            {
                return Path.GetFullPath(path);
            }
        }
public static string GetFullPath ( string path ) { if ( string . IsNullOrWhiteSpace ( path ) ) { return Environment . CurrentDirectory ; } else { return Path . GetFullPath ( path ) ; } }
Gets the full path of a Directory or defaults to current Directories full path
Gets the full path of a Directory or defaults to current Directories full path
None
path
string
None