Kamishibai.View 2.6.0

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

// Install Kamishibai.View as a Cake Tool
#tool nuget:?package=Kamishibai.View&version=2.6.0

for Japanese

for Xamarin

KAMISHIBAI

KAMISHIBAI

KAMISHIBAI is a navigation library for WPF that supports MVVM pattern on Generic Host.

By declaring arguments in the ViewModel constructor, a dedicated navigation method is automatically generated.

To pass a string during a navigation, define a ViewModel as follows

[Navigate]
public class FirstViewModel
{
    public FirstViewModel(string message)
    {
        Message = message;
    }

    public string Message { get; }
}

A dedicated navigation method is then automatically generated and can be called as follows

await _presentationService.NavigateToFirstAsync("Hello, KAMISHIBAI!");

And you can use DI together.

public FirstViewModel(
    string message, 
    [Inject] ILogger<FirstViewModel> logger)

Declare an InjectAttribute for the argument you wish to inject a dependency on.

The logger is injected from the DI container. Exactly the same as in the navigation example above, only the message can be passed to the navigation.

KAMISHIBAI guarantees type safety during navigation, allowing for safe implementations that take full advantage of nullable.

KAMISHIBAI does not restrict any of the WPF functions and provides the following

  • Generic Host support
  • ViewModel-driven navigation using the MVVM pattern
  • Type-safe navigation parameters
  • Consistent event notifications for navigation
  • Support for maximizing the use of nullable

Generic Host support enables WPF to take advantage of most of the latest .NET technologies.

KAMISHIBAI provides the following features

  • Navigation
  • Display of new screens and user dialogs
  • Display of message dialogs, file selection and save dialogs

With KAMISHIBAI, the MVVM pattern can be most easily realized in WPF.

And it can be used with any existing MVVM framework or library. There is one restriction, however.

Please use KAMISHIBAI for navigation.

Documents

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed. 
.NET Framework net462 is compatible.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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 Kamishibai.View:

Package Downloads
Kamishibai.Hosting

MVVM navigation library for Generic Host.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.6.0 112 2/23/2024
2.5.0 129 1/18/2024
2.4.0 254 11/18/2023
2.3.0 112 11/18/2023
2.2.0 116 11/18/2023
2.1.0 124 10/29/2023
2.0.1 146 9/21/2023
2.0.0 223 4/22/2023
1.1.0 586 5/13/2022
1.0.0 453 5/5/2022
0.0.13-pre 146 5/5/2022
0.0.12-pre 134 5/5/2022
0.0.11-pre 151 5/5/2022
0.0.10-pre 141 5/1/2022
0.0.9-pre 160 4/30/2022
0.0.8-pre 147 4/30/2022
0.0.7-pre 127 4/29/2022
0.0.6-pre 148 4/26/2022
0.0.5-pre 146 4/26/2022
0.0.2-pre 161 4/26/2022
0.0.1-pre 154 4/25/2022