Files
2025-10-11 09:44:08 -04:00

32 lines
735 B
C#

namespace Endpoint
{
/// <summary>
/// Describes a service endpoint, and the methods to find its current status
/// </summary>
public interface IServiceEndpoint
{
/// <summary>
/// Configuration of the endpoint
/// </summary>
IServiceEndpointConfiguration ServiceEndpointConfiguration { get; }
/// <summary>
/// Gets the service name
/// </summary>
string ServiceName { get; }
/// <summary>
/// Gets the current status result of the endpoint
/// </summary>
/// <returns>Status</returns>
Status GetStatus();
/// <summary>
/// Returns a string explaining details on the current status
/// </summary>
/// <returns>string with status message</returns>
string StatusDescription { get; }
}
}