IApplicationPaths.cs 2.7 KB

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