Class BooleanOperatorDisplayObject
Boolean operator helper for mvvm
Inheritance
System.Object
BooleanOperatorDisplayObject
Implements
System.Collections.Generic.IEqualityComparer<BooleanOperatorDisplayObject>
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class BooleanOperatorDisplayObject : IEqualityComparer<BooleanOperatorDisplayObject>, INotifyPropertyChanged
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 |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Get hashcode of BooleanOperator
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | hashcode |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
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 |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.Collections.Generic.IEqualityComparer<T>
System.ComponentModel.INotifyPropertyChanged