FileGenerator.PathHelper.GetFullPath C# (CSharp) Method

GetFullPath() public static method

public static GetFullPath ( string path ) : string
path string
return string
    public static string GetFullPath(string path)
    {
      return Path.GetFullPath(AppDomain.CurrentDomain.BaseDirectory + @"..\..\..\..\..\" + path);
    }
  }

Usage Example

Beispiel #1
0
 public MagickTypes(QuantumDepth depth)
 {
   string folderName = GetFolderName(depth);
   string quantumName = GetQuantumName(depth);
   AssemblyFile = PathHelper.GetFullPath(@"Source\Magick.NET\bin\" + folderName + @"\x86\Magick.NET-" + quantumName + @"-x86.dll");
   MagickNET = LoadAssembly();
   Depth = depth;
 }
PathHelper