2
0

IApplicationPaths.cs 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. using MediaBrowser.Model.Configuration;
  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. Additionally,
  19. /// the value for <see cref="ServerConfiguration.DashboardSourcePath"/> takes precedence over this one.
  20. /// </remarks>
  21. string WebPath { get; }
  22. /// <summary>
  23. /// Gets the path to the program system folder.
  24. /// </summary>
  25. /// <value>The program data path.</value>
  26. string ProgramSystemPath { get; }
  27. /// <summary>
  28. /// Gets the folder path to the data directory.
  29. /// </summary>
  30. /// <value>The data directory.</value>
  31. string DataPath { get; }
  32. /// <summary>
  33. /// Gets the image cache path.
  34. /// </summary>
  35. /// <value>The image cache path.</value>
  36. string ImageCachePath { get; }
  37. /// <summary>
  38. /// Gets the path to the plugin directory.
  39. /// </summary>
  40. /// <value>The plugins path.</value>
  41. string PluginsPath { get; }
  42. /// <summary>
  43. /// Gets the path to the plugin configurations directory.
  44. /// </summary>
  45. /// <value>The plugin configurations path.</value>
  46. string PluginConfigurationsPath { get; }
  47. /// <summary>
  48. /// Gets the path to the log directory.
  49. /// </summary>
  50. /// <value>The log directory path.</value>
  51. string LogDirectoryPath { get; }
  52. /// <summary>
  53. /// Gets the path to the application configuration root directory.
  54. /// </summary>
  55. /// <value>The configuration directory path.</value>
  56. string ConfigurationDirectoryPath { get; }
  57. /// <summary>
  58. /// Gets the path to the system configuration file.
  59. /// </summary>
  60. /// <value>The system configuration file path.</value>
  61. string SystemConfigurationFilePath { get; }
  62. /// <summary>
  63. /// Gets the folder path to the cache directory.
  64. /// </summary>
  65. /// <value>The cache directory.</value>
  66. string CachePath { get; }
  67. /// <summary>
  68. /// Gets the folder path to the temp directory within the cache folder.
  69. /// </summary>
  70. /// <value>The temp directory.</value>
  71. string TempDirectory { get; }
  72. /// <summary>
  73. /// Gets the magic string used for virtual path manipulation.
  74. /// </summary>
  75. /// <value>The magic string used for virtual path manipulation.</value>
  76. string VirtualDataPath { get; }
  77. }
  78. }