mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-27 01:57:21 +00:00
16 lines
No EOL
429 B
C#
16 lines
No EOL
429 B
C#
using Microsoft.Owin.Hosting.Services;
|
|
using Microsoft.Owin.Hosting.Tracing;
|
|
|
|
namespace NzbDrone.Host.Owin
|
|
{
|
|
public static class OwinServiceProviderFactory
|
|
{
|
|
public static ServiceProvider Create()
|
|
{
|
|
var provider = (ServiceProvider)ServicesFactory.Create();
|
|
provider.Add(typeof(ITraceOutputFactory), typeof(OwinTraceOutputFactory));
|
|
|
|
return provider;
|
|
}
|
|
}
|
|
} |