using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.Providers
{
public interface IMetadataService
{
///
/// Adds the parts.
///
/// The providers.
/// The image providers.
void AddParts(IEnumerable providers, IEnumerable imageProviders);
///
/// Determines whether this instance can refresh the specified item.
///
/// The item.
/// true if this instance can refresh the specified item; otherwise, false.
bool CanRefresh(IHasMetadata item);
///
/// Refreshes the metadata.
///
/// The item.
/// The options.
/// The cancellation token.
/// Task.
Task RefreshMetadata(IHasMetadata item, MetadataRefreshOptions options, CancellationToken cancellationToken);
///
/// Gets the order.
///
/// The order.
int Order { get; }
}
}