Interface IModelCollection
- Namespace
- DuetAPI.ObjectModel
- Assembly
- DuetAPI.dll
Interface that all object model collections must implement
public interface IModelCollection : IStaticModelObject, IModelObject, ICloneable, INotifyPropertyChanged, INotifyCollectionChanged
- Inherited Members
Methods
UpdateFromJson(JsonElement, bool, int, bool)
Update this collection from a given JSON array
void UpdateFromJson(JsonElement jsonElement, bool ignoreSbcProperties, int offset = 0, bool last = true)
Parameters
jsonElementJsonElementElement to update this intance from
ignoreSbcPropertiesboolWhether SBC properties are ignored
offsetintIndex offset
lastboolWhether this is the last update
UpdateFromJsonReader(ref Utf8JsonReader, bool, int, bool)
Update this collection from a given JSON reader
void UpdateFromJsonReader(ref Utf8JsonReader reader, bool ignoreSbcProperties, int offset = 0, bool last = true)
Parameters
readerUtf8JsonReaderJSON reader
ignoreSbcPropertiesboolWhether SBC properties are ignored
offsetintIndex offset
lastboolWhether this is the last update