jellyfin-server/MediaBrowser.Api/HttpHandlers/UsersHandler.cs
LukePulverenti Luke Pulverenti luke pulverenti a0d69b3804 Added Protobuf to BaseSerializationHandler
2012-08-28 10:22:25 -04:00

17 lines
487 B
C#

using System.Collections.Generic;
using System.Threading.Tasks;
using MediaBrowser.Common.Net.Handlers;
using MediaBrowser.Controller;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Api.HttpHandlers
{
class UsersHandler : BaseSerializationHandler<IEnumerable<User>>
{
protected override Task<IEnumerable<User>> GetObjectToSerialize()
{
return Task.FromResult<IEnumerable<User>>(Kernel.Instance.Users);
}
}
}