PathExtensions.cs 359 B

1234567891011121314
  1. using System;
  2. using System.IO;
  3. namespace MonoGame.Extended.Content.Pipeline
  4. {
  5. public static class PathExtensions
  6. {
  7. public static string GetApplicationFullPath(params string[] pathParts)
  8. {
  9. var path = Path.Combine(pathParts);
  10. return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, path);
  11. }
  12. }
  13. }