private static void HandleChildAction(StatusModel sm, ChildActionState childAction) { childAction.Details = sm.Info.Text; var ac = GetActiveComponent(sm.Info); if (ac != null) { childAction.Progress = ac.Progress; childAction.Speed = ac.Speed; childAction.Title = ac.Title; } else { childAction.Title = "Processing"; } }
private static void HandleChildAction(StatusModel sm, ChildActionState childAction) { childAction.Details = sm.Info.Text; var ac = GetActiveComponent(sm.Info); if (ac != null) { childAction.Progress = ac.Progress; childAction.Speed = ac.Speed; childAction.Title = ac.Title; } else childAction.Title = "Processing"; }