Created
June 24, 2020 17:52
-
-
Save msciborski/95e4c278c39131cea884dbe5b9b56e96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ClientMetadata("email")] | |
public class EmailSender : ISender | |
{ | |
public Task Send(string message) | |
{ | |
// Sending message to client | |
return Task.CompletedTask; | |
} | |
} | |
[ClientMetadata("sms")] | |
public class SmsSender : ISender | |
{ | |
public Task Send(string message) | |
{ | |
return Task.CompletedTask; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment