Vetuviem.Blazor.SourceGenerator 0.10.18

dotnet add package Vetuviem.Blazor.SourceGenerator --version 0.10.18                
NuGet\Install-Package Vetuviem.Blazor.SourceGenerator -Version 0.10.18                
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="Vetuviem.Blazor.SourceGenerator" Version="0.10.18">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Vetuviem.Blazor.SourceGenerator --version 0.10.18                
#r "nuget: Vetuviem.Blazor.SourceGenerator, 0.10.18"                
#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 Vetuviem.Blazor.SourceGenerator as a Cake Addin
#addin nuget:?package=Vetuviem.Blazor.SourceGenerator&version=0.10.18

// Install Vetuviem.Blazor.SourceGenerator as a Cake Tool
#tool nuget:?package=Vetuviem.Blazor.SourceGenerator&version=0.10.18                

Vetuviem

Vetuvium is a toolkit to support View to View Model binding (MVVM → V2VM → Ve-Tu-Viem) aimed at offering a structure to get more re-usability out of ReactiveUI.

Mission Statement

  • To give a mechanism to reduce the amount of boiler plate code being produced, by allowing some of the ReactiveUI specific logic to be hidden away
  • Allow the developer to think along the lines of standard behaviours for controls by offering a way to produce re-usable behaviours through a class and\or function design pattern
  • Allow the developer to focus on what matters on the ViewModel
  • Reduce the cognitive load by
    • Removing the risk of misusing 1 way or 2 way binding
    • Remove the need for the user to think about having to cater for Bind vs BindCommand
  • Offer a structure that allows for more work to be done potentially with Source Generators to reduce reflection and improve the build time developer experience.

Current Status

This is currently a proof of concept alpha. For understanding of the design reasoning please see https://www.dpvreony.com/articles/designing-vetuviem/

Nuget Packages

Purpose Package NuGet
Command Line Generation Coming soon Coming Soon
Visual Studio Integration Vetuviem.SourceGenerator VetuviemSourceGeneratorBadge
Core Functionality Vetuviem.Core VetuviemCoreBadge

An example

Currently to write binding logic in the codebehind you have to write something similar to this for a single control

TODO

But what if you have a way to simplify logic and offer a way to even make it reusable without all the boilerplate leg work?

TODO

Sponsorship

TODO

Support

TODO

Contribute

TODO

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

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
0.10.18 2,574 6/14/2024
0.10.17 123 6/14/2024
0.10.15 112 6/12/2024
0.10.12 178 6/9/2024
0.10.11 151 6/5/2024
0.10.10 128 6/4/2024
0.10.8 118 6/3/2024
0.10.5 204 5/29/2024
0.10.3 129 5/27/2024
0.10.1 98 5/26/2024