FmgLib.MauiMarkup.Generator 1.0.0

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

// Install FmgLib.MauiMarkup.Generator as a Cake Tool
#tool nuget:?package=FmgLib.MauiMarkup.Generator&version=1.0.0

FmgLib.MauiMarkup

The constructor method of the MauiMarkup() attribute automatically generates extension methods for BindableProperties and Events found within the type provided as an argument. You can provide a minimum of 1 and a maximum of 5 types inside the constructor method. Multiple MauiMarkup attributes can be added to a single class.

Example Code:

using FmgLib.MauiMarkup;

namespace GeneratedExam;

[MauiMarkup(typeof(ZXing.Net.Maui.Controls.BarcodeGeneratorView))]
public class MyBarcodeGeneratorView { }

[MauiMarkup(typeof(ZXing.Net.Maui.Controls.CameraView))]
public class MyCameraView { }


[MauiMarkup(typeof(ZXing.Net.Maui.Controls.CameraBarcodeReaderView))]
public class MyCameraBarcodeReaderView { }

[MauiMarkup(typeof(SkiaSharp.Extended.UI.Controls.SKLottieView))]
public class MySkLottieView { }

OR


using Microsoft.Extensions.Logging;
using FmgLib.MauiMarkup;
using SkiaSharp.Extended.UI.Controls;
using ZXing.Net.Maui.Controls;
using UraniumUI.Material.Controls;
namespace MauiApp1
{
    [MauiMarkup(typeof(CameraView))]
    [MauiMarkup(typeof(SKLottieView), typeof(DataGrid))]
    [MauiMarkup(typeof(SKConfettiView), typeof(BarcodeGeneratorView),typeof(InputField),typeof(EditorField),typeof(TextField))]
    public static class MauiProgram
    {
        public static MauiApp CreateMauiApp()
        {
            var builder = MauiApp.CreateBuilder();
            builder
                .UseMauiApp<App>()
                .ConfigureFonts(fonts =>
                {
                    fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
                    fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
                });

#if DEBUG
    		builder.Logging.AddDebug();
#endif
            return builder.Build();
        }
    }
}


There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on FmgLib.MauiMarkup.Generator:

Package Downloads
FmgLib.MauiMarkup

C# Code Markup Library for .NET MAUI

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 85 4/17/2024
1.0.0-prev1.0.1 50 4/16/2024
1.0.0-prev1.0.0 48 4/15/2024