2
0

IRepository.cs 578 B

1234567891011121314151617181920212223
  1. using System;
  2. using System.Threading.Tasks;
  3. namespace MediaBrowser.Controller.Persistence
  4. {
  5. /// <summary>
  6. /// Provides a base interface for all the repository interfaces
  7. /// </summary>
  8. public interface IRepository : IDisposable
  9. {
  10. /// <summary>
  11. /// Opens the connection to the repository
  12. /// </summary>
  13. /// <returns>Task.</returns>
  14. Task Initialize();
  15. /// <summary>
  16. /// Gets the name of the repository
  17. /// </summary>
  18. /// <value>The name.</value>
  19. string Name { get; }
  20. }
  21. }