public StatusResponse(StatusRequest request, ComponentState state, String?stateText, IEnumerable <Component>?components) : base(request) { this.State = state; this.StateText = stateText; if (components is not null) { this.Components.AddRange(components); } }
public StatusResponse(StatusRequest request, ComponentState state) : this(request, state, stateText : null, components : null) { }