ConnectionCheckResult
using System;
using System.Collections.Generic;
namespace Relativity.Transfer
{
public class ConnectionCheckResult : IConnectionCheckResult
{
public Guid ClientId { get; set; }
public bool IsSuccessful { get; set; }
public string Message { get; set; }
public IDictionary<string, object> HealthCheckDetail { get; }
public ConnectionCheckResult()
: this(new Dictionary<string, object>())
{
}
public ConnectionCheckResult(IDictionary<string, object> healthCheckDetail)
{
if (healthCheckDetail == null)
throw new ArgumentNullException("healthCheckDetail");
HealthCheckDetail = healthCheckDetail;
}
}
}