30 lines
718 B
C#
30 lines
718 B
C#
namespace ZA.CoreService.ESBCertificateManager.Setup;
|
|
|
|
public sealed class SetupCheckResult
|
|
{
|
|
public bool RuntimeReady { get; init; }
|
|
|
|
public bool CertificateReady { get; init; }
|
|
|
|
public bool DatabaseReady { get; init; }
|
|
|
|
public bool CredentialsReady { get; init; }
|
|
|
|
public string RuntimeMessage { get; init; } =
|
|
string.Empty;
|
|
|
|
public string CertificateMessage { get; init; } =
|
|
string.Empty;
|
|
|
|
public string DatabaseMessage { get; init; } =
|
|
string.Empty;
|
|
|
|
public string CredentialsMessage { get; init; } =
|
|
string.Empty;
|
|
|
|
public bool IsReady =>
|
|
RuntimeReady
|
|
&& CertificateReady
|
|
&& DatabaseReady
|
|
&& CredentialsReady;
|
|
} |