Class BooleanOperatorDisplayObject
Boolean operator helper for mvvm
Inheritance
System.Object
BooleanOperatorDisplayObject
Implements
INotifyPropertyChanged
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class BooleanOperatorDisplayObject : IEqualityComparer<BooleanOperatorDisplayObject>
Properties
| Improve this Doc View SourceDisplayName
Gets or sets the display name
Declaration
public string DisplayName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Operator
Gets or sets the operator
Declaration
public BooleanOperator Operator { get; set; }
Property Value
Type | Description |
---|---|
BooleanOperator |
Methods
| Improve this Doc View SourceEquals(BooleanOperatorDisplayObject, BooleanOperatorDisplayObject)
Compares two BooleanOperatorDisplayObject
Declaration
public bool Equals(BooleanOperatorDisplayObject x, BooleanOperatorDisplayObject y)
Parameters
Type | Name | Description |
---|---|---|
BooleanOperatorDisplayObject | x | Left comparer |
BooleanOperatorDisplayObject | y | Right comparer |
Returns
Type | Description |
---|---|
System.Boolean | True if the operator is equal |
Equals(Object)
Compare with other
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | Other to compare with |
Returns
Type | Description |
---|---|
System.Boolean | True of the operators are equal |
GetHashCode()
Get hashcode of BooleanOperator
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | hashcode |
GetHashCode(BooleanOperatorDisplayObject)
Get hashcode of BooleanOperator
Declaration
public int GetHashCode(BooleanOperatorDisplayObject obj)
Parameters
Type | Name | Description |
---|---|---|
BooleanOperatorDisplayObject | obj | Object to get the hashcode from |
Returns
Type | Description |
---|---|
System.Int32 | Hashcode as int |
Events
| Improve this Doc View SourcePropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
PropertyChangedEventHandler |
Implements
INotifyPropertyChanged