Kamishibai.Hosting 3.0.1

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

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

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

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
3.0.1 387 9/20/2024
3.0.0 410 6/6/2024
2.6.0 305 2/23/2024
2.5.0 171 1/18/2024
2.4.0 278 11/18/2023
2.3.0 137 11/18/2023
2.2.0 148 11/18/2023
2.1.0 156 10/29/2023
2.0.1 176 9/21/2023
2.0.0 262 4/22/2023
1.1.1 585 10/14/2022
1.1.0 488 5/13/2022
1.0.0 516 5/5/2022
0.0.13-pre 193 5/5/2022
0.0.12-pre 170 5/5/2022
0.0.11-pre 181 5/5/2022