Skip to content

Instantly share code, notes, and snippets.

@lgolubyev
Created May 24, 2022 15:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lgolubyev/18b01b2ac2625016b925cebba7d0cf99 to your computer and use it in GitHub Desktop.
Save lgolubyev/18b01b2ac2625016b925cebba7d0cf99 to your computer and use it in GitHub Desktop.
public class SlackNotification
{
//...
public void Handle()
{
SendMessage(this._to, this._files, this._body);
}
}
var message = new SlackNotification(...);
// What is this? A handle for the message? Are we writing to a file now?
message.Handle();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment