jellyfin/MediaBrowser.Controller/Providers/IHasChangeMonitor.cs

30 lines
1.2 KiB
C#
Raw Normal View History

2014-02-08 22:38:02 +00:00
using MediaBrowser.Controller.Entities;
using System;
2014-02-03 17:44:13 +00:00
namespace MediaBrowser.Controller.Providers
{
public interface IHasChangeMonitor
{
/// <summary>
/// Determines whether the specified item has changed.
/// </summary>
/// <param name="item">The item.</param>
2014-02-10 18:39:41 +00:00
/// <param name="directoryService">The directory service.</param>
2014-02-03 17:44:13 +00:00
/// <param name="date">The date.</param>
/// <returns><c>true</c> if the specified item has changed; otherwise, <c>false</c>.</returns>
2014-02-10 18:39:41 +00:00
bool HasChanged(IHasMetadata item, IDirectoryService directoryService, DateTime date);
2014-02-03 17:44:13 +00:00
}
2014-09-11 01:57:11 +00:00
public interface IHasItemChangeMonitor
{
/// <summary>
/// Determines whether the specified item has changed.
/// </summary>
/// <param name="item">The item.</param>
/// <param name="status">The status.</param>
/// <param name="directoryService">The directory service.</param>
/// <returns><c>true</c> if the specified item has changed; otherwise, <c>false</c>.</returns>
bool HasChanged(IHasMetadata item, MetadataStatus status, IDirectoryService directoryService);
}
2014-02-03 17:44:13 +00:00
}