Skip to content

ConditionsStore class

Represents a list of conditions linked to some Query object

public class Korzh.EasyQuery.ConditionsStore
: ConditionList, IList<Condition>, ICollection<Condition>, IEnumerable<Condition>, IEnumerable, IList, ICollection, IReadOnlyList<Condition>, IReadOnlyCollection<Condition>
TypeNameDescription
QueryQueryGets the Query object.
TypeNameDescription
voidBeginUpdate()Begins the update process.
voidCheckMaxID()
voidClearItems()Removes all elements from the System.Collections.ObjectModel.Collection'1.
voidEndUpdate()Ends the update process.
Int32GetNewID()Gets the new ID.
voidInsertItem(Int32 index, Condition item)Inserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
voidOnAdded(Condition condition, Int32 index)Called when [added].
voidOnListChange()Called when condition list is changed.
voidOnRemoved(Condition condition)Called on condition removal.
voidReadFromJson(JsonReader reader)Reads the list of conditions from JSON.
TaskReadFromJsonAsync(JsonReader reader)Reads the list of conditions from JSON (asynchronous way).
voidRemoveItem(Int32 index)Removes the element at the specified index of the System.Collections.ObjectModel.Collection'1.
voidWriteToJson(JsonWriter writer)Writes the list of conditions to JSON.
TaskWriteToJsonAsync(JsonWriter writer)Writes the list of conditions to JSON (asynchronous way).