Last active
April 9, 2021 03:05
-
-
Save viniciussanchez/f3f58250f533d70799d39153f7762574 to your computer and use it in GitHub Desktop.
Refatoração do SRP (SOLID)
This file contains hidden or 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
unit Solid.SRP.MailService; | |
interface | |
type | |
TMailService = class | |
public | |
procedure SendMail; | |
end; | |
implementation | |
procedure TMailService.SendMail; | |
begin | |
// send mail | |
end; | |
end. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment