IApplicationPaths.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. 
  2. namespace MediaBrowser.Common.Configuration
  3. {
  4. /// <summary>
  5. /// Interface IApplicationPaths
  6. /// </summary>
  7. public interface IApplicationPaths
  8. {
  9. /// <summary>
  10. /// Gets the path to the program data folder
  11. /// </summary>
  12. /// <value>The program data path.</value>
  13. string ProgramDataPath { get; }
  14. /// <summary>
  15. /// Gets the path to the program system folder
  16. /// </summary>
  17. /// <value>The program data path.</value>
  18. string ProgramSystemPath { get; }
  19. /// <summary>
  20. /// Gets the folder path to the data directory
  21. /// </summary>
  22. /// <value>The data directory.</value>
  23. string DataPath { get; }
  24. /// <summary>
  25. /// Gets the image cache path.
  26. /// </summary>
  27. /// <value>The image cache path.</value>
  28. string ImageCachePath { get; }
  29. /// <summary>
  30. /// Gets the path to the plugin directory
  31. /// </summary>
  32. /// <value>The plugins path.</value>
  33. string PluginsPath { get; }
  34. /// <summary>
  35. /// Gets the path to the plugin configurations directory
  36. /// </summary>
  37. /// <value>The plugin configurations path.</value>
  38. string PluginConfigurationsPath { get; }
  39. /// <summary>
  40. /// Gets the path to where temporary update files will be stored
  41. /// </summary>
  42. /// <value>The plugin configurations path.</value>
  43. string TempUpdatePath { get; }
  44. /// <summary>
  45. /// Gets the path to the log directory
  46. /// </summary>
  47. /// <value>The log directory path.</value>
  48. string LogDirectoryPath { get; }
  49. /// <summary>
  50. /// Gets the path to the application configuration root directory
  51. /// </summary>
  52. /// <value>The configuration directory path.</value>
  53. string ConfigurationDirectoryPath { get; }
  54. /// <summary>
  55. /// Gets the path to the system configuration file
  56. /// </summary>
  57. /// <value>The system configuration file path.</value>
  58. string SystemConfigurationFilePath { get; }
  59. /// <summary>
  60. /// Gets the folder path to the cache directory
  61. /// </summary>
  62. /// <value>The cache directory.</value>
  63. string CachePath { get; }
  64. /// <summary>
  65. /// Gets the folder path to the temp directory within the cache folder
  66. /// </summary>
  67. /// <value>The temp directory.</value>
  68. string TempDirectory { get; }
  69. string VirtualDataPath { get; }
  70. }
  71. }