Skip to content

ConditionsStore class

Represents a list of conditions linked to some Query object

public class Korzh.EasyQuery.ConditionsStore
: ConditionList

Package: Korzh.EasyQuery (targets: netstandard2.0)

Assembly: Korzh.EasyQuery.dll

NameTypeDescription
ConditionsStore(Condition parent)voidInitializes a new instance of the Korzh.EasyQuery.ConditionsStore class.
NameTypeDescription
QueryQueryGets the Query object.
NameTypeDescription
BeginUpdate()voidBegins the update process.
ClearItems()voidRemoves all elements from the System.Collections.ObjectModel.Collection'1.
EndUpdate()voidEnds the update process.
GetNewID()intGets the new ID.
InsertItem(int index, Condition item)voidInserts an element into the System.Collections.ObjectModel.Collection'1 at the specified index.
OnAdded(Condition condition, int index)voidCalled when [added].
OnListChange()voidCalled when condition list is changed.
OnRemoved(Condition condition)voidCalled on condition removal.
ReadFromJsonAsync(JsonReader reader)TaskReads the list of conditions from JSON (asynchronous way).
RemoveItem(int index)voidRemoves the element at the specified index of the System.Collections.ObjectModel.Collection'1.
WriteToJsonAsync(JsonWriter writer)TaskWrites the list of conditions to JSON (asynchronous way).