separate metadata refresh from validation

This commit is contained in:
Luke Pulverenti
2014-02-06 17:22:03 -05:00
parent 8b29e67e22
commit 14084fdd87
11 changed files with 200 additions and 193 deletions

View File

@@ -0,0 +1,19 @@
using MediaBrowser.Controller.Providers;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Entities
{
public interface IMetadataContainer
{
/// <summary>
/// Refreshes all metadata.
/// </summary>
/// <param name="refreshOptions">The refresh options.</param>
/// <param name="progress">The progress.</param>
/// <param name="cancellationToken">The cancellation token.</param>
/// <returns>Task.</returns>
Task RefreshAllMetadata(MetadataRefreshOptions refreshOptions, IProgress<double> progress, CancellationToken cancellationToken);
}
}