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.
|
|
|
using System.Collections.Generic;
|
|
|
|
using NzbDrone.Common.Composition;
|
|
|
|
using NzbDrone.Common.EnvironmentInfo;
|
|
|
|
|
|
|
|
namespace NzbDrone.Update
|
|
|
|
{
|
|
|
|
public class UpdateContainerBuilder : ContainerBuilderBase
|
|
|
|
{
|
|
|
|
private UpdateContainerBuilder(IStartupContext startupContext, List<string> assemblies)
|
|
|
|
: base(startupContext, assemblies)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
public static IContainer Build(IStartupContext startupContext)
|
|
|
|
{
|
|
|
|
var assemblies = new List<string>
|
|
|
|
{
|
|
|
|
"Lidarr.Update"
|
|
|
|
};
|
|
|
|
|
|
|
|
return new UpdateContainerBuilder(startupContext, assemblies).Container;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|