Files
Interfaces/Interfaces/IReportUI.cs

20 lines
703 B
C#

namespace Interfaces;
/// <summary>
/// Interface for the UI component that allows users to report entities.
/// This interface defines the properties that a reporting UI should have.
/// </summary>
public interface IReportUI
{
/// <summary>
/// The type of the UI Component that should be used to display the reporting interface.
/// This should be passed to DynamicComponent to render the UI Component.
/// Component that implement this interface should return typeof(this) in this property.
/// </summary>
Type ReportType { get; }
/// <summary>
/// The reportable Entity that is being reported.
/// </summary>
IReportable ReportableEntity { get; set; }
}