public Bot(ITickerModel model, BotConfig config) { this.model = model; this.server = config.server; this.port = config.port; this.nick = config.nick; this.twitchPass = config.twitchPass; this.channel = config.channel; }
public MainForm() { InitializeComponent(); this.model = new TickerModel(); this.controller = new TickerController(model, this); credentialsForm = new CredentialsForm(model, controller); tickerForm = new TickerForm(); model.registerBotObserver(this); }
public TickerController(ITickerModel model, MainForm view) { this.model = model; this.view = view; model.registerMessageObserver(this); }
public CredentialsForm(ITickerModel model, ITickerController controller) { InitializeComponent(); this.model = model; this.controller = controller; }