using System; using Kyoo.Controllers; using Unity; namespace Kyoo { /// /// A static class with helper functions to setup external modules /// public static class Module { /// /// Register a new task to the container. /// /// The container /// The type of the task /// The initial container. public static IUnityContainer RegisterTask(this IUnityContainer container) where T : class, ITask { container.RegisterType(); return container; } } }