Interface IReportRevisionKey
Represents a key identifying the revision of a report.
public interface IReportRevisionKey : IComparable<IReportRevisionKey>
- Inherited Members
Remarks
Implement CompareTo(T) to determine the precedence of the revision keys. By default, the precedence is determined by the following logic.
- Revision keys with IsCancellation being true is the latest revision.
- Otherwise, revision keys with a non-null Serial is the latest revision.
- Otherwise, revision keys with a greater Serial is the latest revision.
Properties
IsCancellation
Whether the revision is for cancellation.
bool IsCancellation { get; }
Property Value
IsFinalRevision
Whether the revision is the final revision.
bool IsFinalRevision { get; }
Property Value
Serial
The serial number of the revision.
int? Serial { get; }
Property Value
- int?
Methods
IsComparableWith(IReportRevisionKey)
Determines whether the revision key is comparable with the specified revision key.
bool IsComparableWith(IReportRevisionKey other)
Parameters
otherIReportRevisionKey- The other revision key.
Returns
- bool
- Whether the revision key is comparable with the specified revision key.