2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-07-09 19:40:28 -04:00
Files
pulsar/Pulsar/Features/Interfaces/IJournalHandler.cs
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();
}