Class SearchOperator
Search operator
Inheritance
System.Object
SearchOperator
Implements
System.Collections.Generic.IEqualityComparer<SearchOperator>
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 SearchOperator : IEqualityComparer<SearchOperator>, 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 SearchOperatorType Operator { get; set; }
Property Value
Type | Description |
---|---|
SearchOperatorType |
SqlOperator
Gets or sets the sql operator
Declaration
public string SqlOperator { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceEquals(SearchOperator, SearchOperator)
Compares two search operator instances
Declaration
public bool Equals(SearchOperator x, SearchOperator y)
Parameters
Type | Name | Description |
---|---|---|
SearchOperator | x | Left comparer |
SearchOperator | y | right comparer |
Returns
Type | Description |
---|---|
System.Boolean | True if there operators are equal |
Equals(Object)
Compares the operator with another object
Declaration
public override bool Equals(object other)
Parameters
Type | Name | Description |
---|---|---|
System.Object | other | Operator to compare |
Returns
Type | Description |
---|---|
System.Boolean | True if the inner operators are equal |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Gets the hashcode of the inner SearchOperatorType
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hashcode of the search operator type |
Overrides
System.Object.GetHashCode()
|
Improve this Doc
View Source
GetHashCode(SearchOperator)
Get the hashcode of the SearchOperatorType of obj
Declaration
public int GetHashCode(SearchOperator obj)
Parameters
Type | Name | Description |
---|---|---|
SearchOperator | obj | Object to get the hashcode of |
Returns
Type | Description |
---|---|
System.Int32 | Hashcode of SearchOperatorType |
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