FilterPredicate

Models a predicate of a filter.

Namespace:
KpokEntityTool.Models
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object
Implements:
System.IEquatable{KpokEntityTool.Models.FilterPredicate}, System.ComponentModel.INotifyPropertyChanged

Constructors

FilterPredicate

Default constructor

Signature:
public Void FilterPredicate()

Events

Type Name Summary
PropertyChangedEventHandler PropertyChanged Notify that a property was changed.

Properties

FieldKey

Key of the field to compare.

Signature:
public String FieldKey { get; set; }

Index

Index of the predicate.

Signature:
public Int32 Index { get; set; }

Operator

Comparison operator.

Signature:
public ComparisonOperator Operator { get; set; }

Relation

The relation of the predicate with it's previous predicate.

Signature:
public RelationOperator Relation { get; set; }

Value

Comparison value.

Signature:
public String Value { get; set; }

Methods

Equals

Checks whether other is equal to this object.

Signature:
public Boolean Equals(other)
Returns

true if the objects are equal.

Parameters
Name Type Summary
other FilterPredicate Object to compare.

Equals

Checks whether obj is equal to this object.

Signature:
public Boolean Equals(obj)
Returns

true if the objects are equal.

Parameters
Name Type Summary
obj Object Objects to compare.

GetHashCode

Not required, implemented to avoid warnings.

Signature:
public Int32 GetHashCode()

ToString

Returns a textual representation of a FilterPredicate.

Signature:
public String ToString()