Innovenergy_trunk/csharp/Lib/StatusApi/CombinedStatus.cs

12 lines
259 B
C#

namespace InnovEnergy.Lib.StatusApi;
#pragma warning disable CS8618
public record CombinedStatus<T>
{
public T Combined { get; init; }
public IReadOnlyList<T> Children { get; init; }
public Boolean Available => Children.Any();
}