IApplicationPaths.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #nullable disable
  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 web UI resources folder.
  16. /// </summary>
  17. /// <remarks>
  18. /// This value is not relevant if the server is configured to not host any static web content.
  19. /// </remarks>
  20. string WebPath { get; }
  21. /// <summary>
  22. /// Gets the path to the program system folder.
  23. /// </summary>
  24. /// <value>The program data path.</value>
  25. string ProgramSystemPath { get; }
  26. /// <summary>
  27. /// Gets the folder path to the data directory.
  28. /// </summary>
  29. /// <value>The data directory.</value>
  30. string DataPath { get; }
  31. /// <summary>
  32. /// Gets the image cache path.
  33. /// </summary>
  34. /// <value>The image cache path.</value>
  35. string ImageCachePath { get; }
  36. /// <summary>
  37. /// Gets the path to the plugin directory.
  38. /// </summary>
  39. /// <value>The plugins path.</value>
  40. string PluginsPath { get; }
  41. /// <summary>
  42. /// Gets the path to the plugin configurations directory.
  43. /// </summary>
  44. /// <value>The plugin configurations path.</value>
  45. string PluginConfigurationsPath { get; }
  46. /// <summary>
  47. /// Gets the path to the log directory.
  48. /// </summary>
  49. /// <value>The log directory path.</value>
  50. string LogDirectoryPath { get; }
  51. /// <summary>
  52. /// Gets the path to the application configuration root directory.
  53. /// </summary>
  54. /// <value>The configuration directory path.</value>
  55. string ConfigurationDirectoryPath { get; }
  56. /// <summary>
  57. /// Gets the path to the system configuration file.
  58. /// </summary>
  59. /// <value>The system configuration file path.</value>
  60. string SystemConfigurationFilePath { get; }
  61. /// <summary>
  62. /// Gets the folder path to the cache directory.
  63. /// </summary>
  64. /// <value>The cache directory.</value>
  65. string CachePath { get; }
  66. /// <summary>
  67. /// Gets the folder path to the temp directory within the cache folder.
  68. /// </summary>
  69. /// <value>The temp directory.</value>
  70. string TempDirectory { get; }
  71. /// <summary>
  72. /// Gets the magic string used for virtual path manipulation.
  73. /// </summary>
  74. /// <value>The magic string used for virtual path manipulation.</value>
  75. string VirtualDataPath { get; }
  76. }
  77. }