MVFC.Connectors.Conversores 4.0.0

dotnet add package MVFC.Connectors.Conversores --version 4.0.0
                    
NuGet\Install-Package MVFC.Connectors.Conversores -Version 4.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="MVFC.Connectors.Conversores" Version="4.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MVFC.Connectors.Conversores" Version="4.0.0" />
                    
Directory.Packages.props
<PackageReference Include="MVFC.Connectors.Conversores" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add MVFC.Connectors.Conversores --version 4.0.0
                    
#r "nuget: MVFC.Connectors.Conversores, 4.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package MVFC.Connectors.Conversores@4.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MVFC.Connectors.Conversores&version=4.0.0
                    
Install as a Cake Addin
#tool nuget:?package=MVFC.Connectors.Conversores&version=4.0.0
                    
Install as a Cake Tool

MVFC.Connectors.Conversores

Connectors for content conversion services, including text translation, dictionary lookup, and HTML to PDF generation.

NuGet Downloads License CI Platform

English | Português


Features

  • Text translation via Google Translator
  • Word definitions and phonetics via Dictionary API
  • HTML to PDF conversion via Html2Pdf

Installation

dotnet add package MVFC.Connectors.Conversores

Supported Services

Interface Description
IGoogleTradutorApi Text translation via Google Translator
IDictionaryApi Word definitions, phonetics and examples
IHtml2PdfApi HTML content to PDF conversion

Quick Start

var builder = WebApplication.CreateBuilder(args);

builder.Services.AddConversores();

var app = builder.Build();

Examples

// Translate text
public class TranslationService(IGoogleTradutorApi tradutorApi)
{
    public async Task<string> TranslateAsync(string text, string targetLang, CancellationToken ct)
    {
        var result = await tradutorApi.TraduzirAsync(text, targetLang, ct);
        return result.TranslatedText;
    }
}
// Lookup word definition
public class DictionaryService(IDictionaryApi dictionaryApi)
{
    public async Task<DefinitionDto> GetDefinitionAsync(string word, CancellationToken ct)
    {
        return await dictionaryApi.ObterAsync(word, ct);
    }
}

Package Description
MVFC.Connectors.Commons Shared HTTP infrastructure
MVFC.Connectors Repository overview

Contributing

Read CONTRIBUTING.md before opening issues or pull requests.


Security

If you discover a vulnerability, please refer to SECURITY.md.


License

Distributed under the license available in LICENSE.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.0.0 76 4/7/2026
3.0.6 94 3/21/2026
3.0.5 102 3/17/2026
3.0.4 89 3/16/2026
2.1.4 94 2/19/2026
2.1.1 110 1/19/2026
2.1.0 96 1/19/2026
2.0.5 102 1/8/2026
2.0.4 109 1/7/2026
2.0.3 105 1/4/2026
2.0.2 102 1/3/2026
2.0.1 106 1/3/2026
1.2.0 237 11/16/2025
1.1.1 251 11/10/2025
1.1.0 206 11/10/2025
1.0.0 206 11/10/2025