public SendNotice ( IEnumerable |
||
targets | IEnumerable |
A collection of targets to which to send the notice. |
text | string | |
Результат | void |
public static void SendNotice(this IrcLocalUser localUser, IList <IIrcMessageTarget> targets, string format, params object[] args) { localUser.SendNotice(targets, string.Format(format, args)); }
private void SendGreeting(IrcLocalUser localUser, IIrcMessageTarget target) { localUser.SendNotice(target, "This is the {0}, welcome.", ProgramInfo.AssemblyTitle); localUser.SendNotice(target, "Message me with '.help' for instructions on how to use me."); localUser.SendNotice(target, "Remember to log in via a private message and not via the channel."); }
private void SendGreeting(IrcLocalUser localUser, IIrcMessageTarget target) { localUser.SendNotice(target, "This is the {0}, welcome.", ProgramInfo.AssemblyTitle); localUser.SendNotice(target, "Message me with '.help' for instructions on how to use me."); localUser.SendNotice(target, "Remember to log in via a private message and not via the channel."); }