Skip to main content

conditionsstore-class

Represents a list of conditions linked to some Query object

public class Korzh.EasyQuery.ConditionsStore
: ConditionList

Assembly: Korzh.EasyQuery.dll

Constructors

NameTypeDescription
ConditionsStore(Condition parent)voidInitializes a new instance of the Korzh.EasyQuery.ConditionsStore class.

Properties

NameTypeDescription
QueryQueryGets the Query object.

Methods

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, CancellationToken ct = null)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, CancellationToken ct = null)TaskWrites the list of conditions to JSON (asynchronous way).