ConditionsChangeEventArgs class

Provides data for Korzh.EasyQuery.Query.ConditionsChanged event

public class Korzh.EasyQuery.ConditionsChangeEventArgs
    : EventArgs

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

Assembly: Korzh.EasyQuery.dll

Constructors

Name Type Description
ConditionsChangeEventArgs(ChangeType what, Condition condition, int info) void Initializes a new instance of the Korzh.EasyQuery.ConditionsChangeEventArgs class.
ConditionsChangeEventArgs(ChangeType what, Condition condition) void Initializes a new instance of the Korzh.EasyQuery.ConditionsChangeEventArgs class.
ConditionsChangeEventArgs() void Initializes a new instance of the Korzh.EasyQuery.ConditionsChangeEventArgs class.

Properties

Name Type Description
Condition Condition Gets or sets the condition which was changed. Can be null in case of Total change
Info int Gets or sets the addtional information of changed condition. This property can be used for different purposes. For example for ChangeType.Remove events it contains index of removed condition
What ChangeType Gets or sets the attribute that shows what exactly was changed.

Static Fields

Name Type Description
Default ConditionsChangeEventArgs Gets the default ConditionsChangedEventArgs object.