Interface IColumnComparator
Interface for classes implementing a Column comparator.
Namespace: HPE.Ianus.Scripting
Assembly: HPE.Ianus.dll
Syntax
public interface IColumnComparator
Methods
Compare(Object, Object)
Compares the value of two columns
Declaration
int Compare(object left, object right)
Parameters
Type | Name | Description |
---|---|---|
System.Object | left | Left value |
System.Object | right | Right right |
Returns
Type | Description |
---|---|
System.Int32 | Less than zero: Zero: More than zero: |
Initialize(Environment, Task, DBFieldPair)
Initializes the comparator
Declaration
void Initialize(Environment env, Task task, DBFieldPair pair)
Parameters
Type | Name | Description |
---|---|---|
HPE.Ianus.Environment | env | Job's environment |
HPE.Ianus.Task | task | Task object |
HPE.Ianus.DBFieldPair | pair | Field pair details |