jellyfin/MediaBrowser.Api/HttpHandlers/UserConfigurationHandler.cs
LukePulverenti Luke Pulverenti luke pulverenti 97ee9fed14 Switched to MEF as a means to locate plugins and resolvers
2012-07-25 22:33:11 -04:00

19 lines
430 B
C#

using System;
using MediaBrowser.Controller;
namespace MediaBrowser.Api.HttpHandlers
{
public class UserConfigurationHandler : JsonHandler
{
protected override object ObjectToSerialize
{
get
{
Guid userId = Guid.Parse(QueryString["userid"]);
return Kernel.Instance.GetUserConfiguration(userId);
}
}
}
}