static void Main() { UserInputMonitor inputMonitor = new UserInputMonitor(); MessageDisplayer inputProcessor = new MessageDisplayer(inputMonitor); ManagersStaffMonitor mortimer = new ManagersStaffMonitor(inputMonitor); inputMonitor.Run(); }
static void Main() { UserInputMonitor inputMonitor = new UserInputMonitor(); MessageDisplayer inputProcessor = new MessageDisplayer(inputMonitor); ManagersStaffMonitor mortimer = new ManagersStaffMonitor(inputMonitor); inputMonitor.Run(); }
public MessageDisplayer(UserInputMonitor monitor) { monitor.OnUserRequest += new UserInputMonitor.UserRequest(UserRequestHandler); }
public ManagersStaffMonitor(UserInputMonitor monitor) { monitor.OnUserRequest += new UserInputMonitor.UserRequest(UserRequestHandler); }
public MessageDisplayer(UserInputMonitor monitor) { monitor.OnUserRequest += new UserInputMonitor.UserRequest(UserRequestHandler); }
public ManagersStaffMonitor(UserInputMonitor monitor) { monitor.OnUserRequest += new UserInputMonitor.UserRequest(UserRequestHandler); }