using System;
using MediaBrowser.Controller.Library;
using MediaBrowser.Controller.Plugins;
using System.Threading;
namespace Emby.Server.Implementations.EntryPoints
{
///
/// Class RefreshUsersMetadata
///
public class RefreshUsersMetadata : IServerEntryPoint
{
///
/// The _user manager
///
private readonly IUserManager _userManager;
///
/// Initializes a new instance of the class.
///
/// The user manager.
public RefreshUsersMetadata(IUserManager userManager)
{
_userManager = userManager;
}
///
/// Runs this instance.
///
public async void Run()
{
await _userManager.RefreshUsersMetadata(CancellationToken.None).ConfigureAwait(false);
}
///
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
///
public void Dispose()
{
GC.SuppressFinalize(this);
}
}
}