Tolitech / CodeGenerator.Infrastructure

Infrastructure library used in projects created by the Code Generator tool.

Home Page:https://www.tolitech.com.br

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tolitech.CodeGenerator.Infrastructure

Infrastructure library used in projects created by the Code Generator tool.

This project contains the implementation of common services used in the infrastructure layer for the projects generated by the Tolitech Code Generator tool.

Tolitech Code Generator Tool: http://www.tolitech.com.br

Examples:

string filePath = Path.Combine(
    Directory.GetCurrentDirectory(),
    "Assets",
    "Test.html");

string template = emailService.GetTemplate(filePath, "Tolitech");

var attachments = new List<Attachment>();
attachments.Add(new Attachment(file1));
attachments.Add(new Attachment(file2));
attachments.Add(new Attachment(file3));

emailService.Send("host", 587, "username", "password", "From<from@domain.com>", "to@domain.com", "Subject", template, "cc@domain.com", "bcc@domain.com", attachments);

About

Infrastructure library used in projects created by the Code Generator tool.

https://www.tolitech.com.br

License:MIT License


Languages

Language:C# 99.2%Language:HTML 0.8%