YngveHestem.BytesPreview.Maui.Core 1.0.1

dotnet add package YngveHestem.BytesPreview.Maui.Core --version 1.0.1
NuGet\Install-Package YngveHestem.BytesPreview.Maui.Core -Version 1.0.1
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="YngveHestem.BytesPreview.Maui.Core" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add YngveHestem.BytesPreview.Maui.Core --version 1.0.1
#r "nuget: YngveHestem.BytesPreview.Maui.Core, 1.0.1"
#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.
// Install YngveHestem.BytesPreview.Maui.Core as a Cake Addin
#addin nuget:?package=YngveHestem.BytesPreview.Maui.Core&version=1.0.1

// Install YngveHestem.BytesPreview.Maui.Core as a Cake Tool
#tool nuget:?package=YngveHestem.BytesPreview.Maui.Core&version=1.0.1

BytesPreview.Maui.Core

BytesPreview.Maui.Core provides an interface for creating for example preview-functionality when selecting a file in a MAUI-application, where the host-program get a view with the content of a byte-array previewed to the user.

This can also be used for a full viewer-program of course.

How to use this package

The easiest way to use the package is to download it from nuget: https://www.nuget.org/packages/YngveHestem.BytesPreview.Maui.Core

Why was this interface made

This interface was originally made to support creating a previewer when selecting a file or other byte-content in the GenericParameterCollection's MAUI-viewer.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-android33.0 is compatible.  net7.0-ios was computed.  net7.0-ios16.1 is compatible.  net7.0-maccatalyst was computed.  net7.0-maccatalyst16.1 is compatible.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on YngveHestem.BytesPreview.Maui.Core:

Package Downloads
YngveHestem.GenericParameterCollection.Maui

This provides controls for using GenericParameterCollection in .NET MAUI.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 188 7/13/2023
1.0.0 140 6/25/2023

- Updated FileTypeInfo-package to version 1.0.2
- Updated the interface to let the user supply an optional filepath if they want to when getting the preview control. No implementation should require this path to be set, and should always support to only be given the bytes, but as some things require a file, it might be a lighter load to use a file directly than first creating a temporary file...