Table of Contents

Interface IReportUnitKey

Namespace
Cryville.EEW.Report
Assembly
Cryville.EEW.dll
Represents a key for identifying report units.
public interface IReportUnitKey : IReportGroupKey

Remarks

As IReportGroupKey, unit keys are also matched with the Equals(object) method and hashed with the GetHashCode() method.

It is recommended to use the record type to implement this interface because it automatically implements the aforementioned two methods.

Methods

IsCoveredBy(IReportUnitKey)

Determines whether the report of the current unit key is covered by another report.
bool IsCoveredBy(IReportUnitKey key)

Parameters

key IReportUnitKey
The unit key of the other report.

Returns

bool
Whether the report of the current unit key is covered by the other report.

Remarks

Unit keys are matched with the Equals(object) method instead of this method.

A report, if covered by another report, may be considered insignificant and invalidated.