OF-DL/OF DL.Core/Services/IStatusReporter.cs

15 lines
474 B
C#

namespace OF_DL.Services;
/// <summary>
/// Interface for reporting status updates in a UI-agnostic way.
/// This replaces Spectre.Console's StatusContext in the service layer.
/// </summary>
public interface IStatusReporter
{
/// <summary>
/// Reports a status message (e.g., "Getting Posts\n Found 42").
/// The reporter implementation decides how to format and display the message.
/// </summary>
void ReportStatus(string message);
}