private static void SetBusyJudge(string name, ListenerObject listenerObject) { name = name.Trim(); var judges = MainWindow.Competition.Judges; foreach (var judge in judges) { if (judge.ToString().Trim() == name) { judge.IsBusy = true; listenerObject.Judge = judge; break; } } }
public UpdateArgs(object update, ListenerObject listener) { Update = update; Listener = listener; }