2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00
2024-04-21 17:10:45 +10:00

23 lines
508 B
C#

using Observatory.Framework.Files.Journal;
namespace Pulsar.Features;
/// <summary>
/// Interface for Handling Journal Files.
/// </summary>
public interface IJournalHandler : IFileHandler
{
string FileName { get; }
Task HandleFile(string filePath);
public bool ValidateFile(string filePath);
}
/// <summary>
/// Interface for Getting Journal Files.
/// Only used for Controllers
/// </summary>
public interface IJournalHandler<T> : IJournalHandler
where T: IJournal
{
Task<T> Get();
}