mirror of
https://github.com/SoPat712/allstarr.git
synced 2026-02-10 07:58:39 -05:00
20 lines
599 B
C#
20 lines
599 B
C#
namespace octo_fiesta.Services.Validation;
|
|
|
|
/// <summary>
|
|
/// Interface for service startup validators
|
|
/// </summary>
|
|
public interface IStartupValidator
|
|
{
|
|
/// <summary>
|
|
/// Gets the name of the service being validated
|
|
/// </summary>
|
|
string ServiceName { get; }
|
|
|
|
/// <summary>
|
|
/// Validates the service configuration and connectivity
|
|
/// </summary>
|
|
/// <param name="cancellationToken">Cancellation token</param>
|
|
/// <returns>Validation result containing status and details</returns>
|
|
Task<ValidationResult> ValidateAsync(CancellationToken cancellationToken);
|
|
}
|