public static bool IsAppInPlan(IDirig iDirig, AppIdTuple appId, string?planId) { if (planId is null) { return(false); } var planDef = iDirig.GetPlanDef(planId); return(IsAppInPlan(iDirig, appId, planDef)); }
void selectPlan(string planName) { _currentPlan = _ctrl.GetPlanDef(planName); _ctrl.Send(new Net.SelectPlanMessage(_ctrl.Name, _currentPlan is null ? string.Empty : _currentPlan.Name)); }