MiF.Messenger
1.0.0
dotnet add package MiF.Messenger --version 1.0.0
NuGet\Install-Package MiF.Messenger -Version 1.0.0
<PackageReference Include="MiF.Messenger" Version="1.0.0" />
<PackageVersion Include="MiF.Messenger" Version="1.0.0" />
<PackageReference Include="MiF.Messenger" />
paket add MiF.Messenger --version 1.0.0
#r "nuget: MiF.Messenger, 1.0.0"
#:package MiF.Messenger@1.0.0
#addin nuget:?package=MiF.Messenger&version=1.0.0
#tool nuget:?package=MiF.Messenger&version=1.0.0
MiF.Messenger
MiF.Messenger is a lightweight and extensible .NET library that implements the Messenger design pattern.
Installation
To use MiF.Messenger in your project, add the library to your solution. Ensure your project targets .NET 9
or higher.
Getting Started
1. Install the Library
Add a reference to the MiF.Messenger project in your solution.
2. Create a Message Class
Define a message class that will be sent between components:
3. Register a Message Handler
Subscribe to messages by registering a handler:
4. Send a Message
Send a message from anywhere in your code.
5. Unregister a Handler (Optional)
To stop receiving messages, unregister the handler
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve the library.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.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 |
---|---|---|
1.0.0 | 300 | 6/12/2025 |