Skip to content

Operand class

Represents one operand in some operator’s expression

public class Korzh.EasyQuery.Operand

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

Assembly: Korzh.EasyQuery.dll

NameTypeDescription
Operand(DataModel model, DataType dataType, DataKind kind, ValueEditor editor)voidInitializes a new instance of the Korzh.EasyQuery.Operand class.
Operand(Operand source)voidInitializes a new instance of the Korzh.EasyQuery.Operand class.
Operand(DataModel model)voidInitializes a new instance of the Korzh.EasyQuery.Operand class.
NameTypeDescription
DataTypeDataTypeGets or sets the type of the data.
DefaultTextstringGets the text for default operand value.
DefaultValuestringGets or sets the default value for this operand.
EditorValueEditorGets or sets the value editor associated with this operand. If there is no such editor in the model, it will be added on Set.
KindDataKindGets or sets the kind of operand (scalar, list, etc)
ModelDataModelGets or sets the model.
NamestringGets or sets the name of operand.
NameTypeDescription
ReadFromJsonAsync(JsonReader reader)TaskReads all operand’s properties from JSON (asynchronous way).
SetEditorWithoutChecking(ValueEditor editor)voidSets editor without adding it to model.
ToString()stringReturns a System.String that represents this instance.
WriteToJsonAsync(JsonWriter writer)TaskWrites operand’s content to JSON (asynchronous way).