/// <summary> /// Create the instance. /// </summary> /// <param name="host"></param> protected CommandLineModule(IModuleHost host) : base(host) { Collection = host.GetCommandLineModuleCollection(); _manifest = new Lazy <CommandLineModuleManifest>(() => Collection.GetManifest(GetType())); }
public CommandLineCoreModule(IModuleHost host, ICommandLineModuleCollection collection) : base(host) { Collection = collection; }
public CommandLineWorker(IServiceProvider services, IHostApplicationLifetime lifetime, ICommandLineModuleCollection collection) { Services = services; Lifetime = lifetime; Collection = collection; }