Radarr/src/NzbDrone.Update/UpdateContainerBuilder.cs

27 lines
754 B
C#
Raw Normal View History

2018-04-21 04:59:31 +00:00
using System.Collections.Generic;
using NzbDrone.Common.Composition;
2013-08-16 03:32:23 +00:00
using NzbDrone.Common.EnvironmentInfo;
using NzbDrone.Common.Http.Dispatchers;
2013-04-20 00:05:48 +00:00
namespace NzbDrone.Update
{
public class UpdateContainerBuilder : ContainerBuilderBase
{
2018-04-21 04:59:31 +00:00
private UpdateContainerBuilder(IStartupContext startupContext, List<string> assemblies)
: base(startupContext, assemblies)
2013-04-20 00:05:48 +00:00
{
2013-04-20 00:05:48 +00:00
}
2013-11-26 06:53:36 +00:00
public static IContainer Build(IStartupContext startupContext)
2013-04-20 00:05:48 +00:00
{
var assemblies = new List<string>
{
2018-04-21 04:59:31 +00:00
"Radarr.Update"
};
2018-04-21 04:59:31 +00:00
return new UpdateContainerBuilder(startupContext, assemblies).Container;
2013-04-20 00:05:48 +00:00
}
}
}