IShortcutHandler.cs 809 B

123456789101112131415161718192021222324252627
  1. #pragma warning disable CS1591
  2. namespace MediaBrowser.Model.IO
  3. {
  4. public interface IShortcutHandler
  5. {
  6. /// <summary>
  7. /// Gets the extension.
  8. /// </summary>
  9. /// <value>The extension.</value>
  10. string Extension { get; }
  11. /// <summary>
  12. /// Resolves the specified shortcut path.
  13. /// </summary>
  14. /// <param name="shortcutPath">The shortcut path.</param>
  15. /// <returns>System.String.</returns>
  16. string? Resolve(string shortcutPath);
  17. /// <summary>
  18. /// Creates the specified shortcut path.
  19. /// </summary>
  20. /// <param name="shortcutPath">The shortcut path.</param>
  21. /// <param name="targetPath">The target path.</param>
  22. void Create(string shortcutPath, string targetPath);
  23. }
  24. }