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
<PackageReference Include="YngveHestem.BytesPreview.Maui.Core" Version="1.0.1" />
paket add YngveHestem.BytesPreview.Maui.Core --version 1.0.1
#r "nuget: YngveHestem.BytesPreview.Maui.Core, 1.0.1"
// 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 | Versions 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. |
-
net7.0
- YngveHestem.FileTypeInfo (>= 1.0.2)
-
net7.0-android33.0
- YngveHestem.FileTypeInfo (>= 1.0.2)
-
net7.0-ios16.1
- YngveHestem.FileTypeInfo (>= 1.0.2)
-
net7.0-maccatalyst16.1
- YngveHestem.FileTypeInfo (>= 1.0.2)
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.
- 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...