Interface IModelCollection
Interface that all object model collections must implement
Inherited Members
Namespace: DuetAPI.ObjectModel
Assembly: DuetAPI.dll
Syntax
public interface IModelCollection : IModelObject, ICloneable, INotifyPropertyChanged, INotifyCollectionChanged
Methods
UpdateFromJson(JsonElement, bool, int, bool)
Update this collection from a given JSON array
Declaration
void UpdateFromJson(JsonElement jsonElement, bool ignoreSbcProperties, int offset = 0, bool last = true)
Parameters
Type | Name | Description |
---|---|---|
JsonElement | jsonElement | Element to update this intance from |
bool | ignoreSbcProperties | Whether SBC properties are ignored |
int | offset | Index offset |
bool | last | Whether this is the last update |