Eliassen.Documents
0.1.81-dev-gh-pipline.3
See the version list below for details.
dotnet add package Eliassen.Documents --version 0.1.81-dev-gh-pipline.3
NuGet\Install-Package Eliassen.Documents -Version 0.1.81-dev-gh-pipline.3
<PackageReference Include="Eliassen.Documents" Version="0.1.81-dev-gh-pipline.3" />
paket add Eliassen.Documents --version 0.1.81-dev-gh-pipline.3
#r "nuget: Eliassen.Documents, 0.1.81-dev-gh-pipline.3"
// Install Eliassen.Documents as a Cake Addin #addin nuget:?package=Eliassen.Documents&version=0.1.81-dev-gh-pipline.3&prerelease // Install Eliassen.Documents as a Cake Tool #tool nuget:?package=Eliassen.Documents&version=0.1.81-dev-gh-pipline.3&prerelease
Eliassen.Documents
Overview
The Eliassen.Documents library provides functionality for managing documents, including storage, conversion, and type detection. It offers classes and factories for creating and interacting with blob containers, document conversion services, and document type tools. These components enable developers to store, convert, and identify document types in their applications.
Key Classes and Features
- BlobContainerFactory: Creates blob containers for storing documents.
- DocumentConversion: Performs document conversion from one format to another.
- DocumentConversionChainBuilder: Constructs document conversion chains.
- DocumentTypeTools: Provides tools for managing document types, including content type detection.
- ServiceCollectionExtensions: Extension methods for configuring document-related services in dependency injection.
Usage Example
Here's a simple example demonstrating how to use Eliassen.Documents to perform document conversion:
using Eliassen.Documents.Conversion;
using Eliassen.Documents.DocumentTypeTools;
// Initialize document conversion chain builder
var conversionChainBuilder = new DocumentConversionChainBuilder();
// Add document conversion steps for converting from PDF to Word
var steps = conversionChainBuilder.Steps("application/pdf", "application/msword");
// Initialize document conversion service
var documentConversion = new DocumentConversion(conversionChainBuilder);
// Perform document conversion asynchronously
await documentConversion.ConvertAsync(sourceStream, "application/pdf", destinationStream, "application/msword");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net8.0
- Eliassen.Documents.Abstractions (>= 0.1.81-dev-gh-pipline.3)
- Eliassen.TestUtilities (>= 0.1.81-dev-gh-pipline.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Eliassen.Documents:
Package | Downloads |
---|---|
Eliassen.Common
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.