Table of Contents

Class PatchObjectModel

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the PatchObjectModel command

public sealed class PatchObjectModel : PatchObjectModel
Inheritance
PatchObjectModel
Inherited Members

Constructors

PatchObjectModel(ObjectModel, IOptions<Settings>)

Implementation of the PatchObjectModel command

public PatchObjectModel(ObjectModel model, IOptions<Settings> settings)

Parameters

model ObjectModel

Object model

settings IOptions<Settings>

Settings

Methods

ExecuteAsync(CancellationToken)

Apply a full patch to the object model. May be used only if explicitly enabled

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task