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
modelObjectModelObject model
settingsIOptions<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
cancellationTokenCancellationTokenOptional cancellation token
Returns
- Task
Asynchronous task