C# Class SIL.FieldWorks.XWorks.RecordNavigationInfo

The argument used when we broadcast OnRecordNavigation.
Inheritance: IComparable
Exibir arquivo Open project: sillsdev/FieldWorks Class Usage Examples

Public Methods

Method Description
CompareTo ( object obj ) : int
Equals ( object obj ) : bool

RecordNavigation info can be considered equivalent if the CurrentObject hasn't changed.

GetHashCode ( ) : int
GetSendingClerk ( object argument ) : RecordClerk

Given an argument from OnRecordNavigation, expected to be a RecordNavigationInfo, if it really is return it's clerk. Otherwise return null.

RecordNavigationInfo ( RecordClerk clerk, bool suppressSaveOnChangeRecord, bool skipShowRecord, bool suppressFocusChange ) : System

Make one.

Method Details

CompareTo() public method

public CompareTo ( object obj ) : int
obj object
return int

Equals() public method

RecordNavigation info can be considered equivalent if the CurrentObject hasn't changed.
public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetSendingClerk() public static method

Given an argument from OnRecordNavigation, expected to be a RecordNavigationInfo, if it really is return it's clerk. Otherwise return null.
public static GetSendingClerk ( object argument ) : RecordClerk
argument object
return RecordClerk

RecordNavigationInfo() public method

Make one.
public RecordNavigationInfo ( RecordClerk clerk, bool suppressSaveOnChangeRecord, bool skipShowRecord, bool suppressFocusChange ) : System
clerk RecordClerk The clerk.
suppressSaveOnChangeRecord bool
skipShowRecord bool
suppressFocusChange bool
return System