Sonarr/NzbDrone.Update/UpdateContainerBuilder.cs

19 lines
524 B
C#
Raw Normal View History

2013-07-19 03:47:55 +00:00
using NzbDrone.Common.Composition;
2013-08-16 03:32:23 +00:00
using NzbDrone.Common.EnvironmentInfo;
2013-04-20 00:05:48 +00:00
namespace NzbDrone.Update
{
public class UpdateContainerBuilder : ContainerBuilderBase
{
2013-08-16 03:32:23 +00:00
private UpdateContainerBuilder(IStartupArguments startupArguments)
: base(startupArguments, "NzbDrone.Update", "NzbDrone.Common")
2013-04-20 00:05:48 +00:00
{
}
2013-08-16 03:32:23 +00:00
public static IContainer Build(IStartupArguments startupArguments)
2013-04-20 00:05:48 +00:00
{
2013-08-16 03:32:23 +00:00
return new UpdateContainerBuilder(startupArguments).Container;
2013-04-20 00:05:48 +00:00
}
}
}