You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
429 B
16 lines
429 B
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;
|
|
}
|
|
}
|
|
} |