public Alarm(LoginPrompt prompt, IEnumerable <string> badNames) { LoginPrompt.NameDelegate del = this.MaybeSetOff; prompt.NameEvent += del; this._badNames = badNames; }
public MailSender(LoginPrompt prompt, IEnumerable <string> badNames) { LoginPrompt.NameDelegate del = this.MaybeSendEmail; prompt.NameEvent += del; this._badNames = badNames; }
public Welcomer(LoginPrompt prompt) { LoginPrompt.NameDelegate del = PrintWelcome; prompt.NameEvent += del; }