Table of Contents

Class StartPlugins

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the StartPlugins command

public sealed class StartPlugins : StartPlugins
Inheritance
StartPlugins
Inherited Members

Constructors

StartPlugins(CodeFactory, CommandFactory, EventLogger, FilePathResolver, ObjectModel, IHostApplicationLifetime, ILogger<StartPlugins>, IOptions<Settings>)

Implementation of the StartPlugins command

public StartPlugins(CodeFactory codeFactory, CommandFactory commandFactory, EventLogger eventLogger, FilePathResolver filePathResolver, ObjectModel model, IHostApplicationLifetime lifetime, ILogger<StartPlugins> logger, IOptions<Settings> settings)

Parameters

codeFactory CodeFactory

Code factory

commandFactory CommandFactory

Command factory

eventLogger EventLogger
filePathResolver FilePathResolver

File path resolver

model ObjectModel

Object model

lifetime IHostApplicationLifetime

Host application lifetime

logger ILogger<StartPlugins>

Logger

settings IOptions<Settings>

Settings

Methods

ExecuteAsync(CancellationToken)

Start all the plugins

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task

Asynchronous task