Merq.Core
2.0.0
Prefix Reserved
dotnet add package Merq.Core --version 2.0.0
NuGet\Install-Package Merq.Core -Version 2.0.0
<PackageReference Include="Merq.Core" Version="2.0.0" />
paket add Merq.Core --version 2.0.0
#r "nuget: Merq.Core, 2.0.0"
// Install Merq.Core as a Cake Addin #addin nuget:?package=Merq.Core&version=2.0.0 // Install Merq.Core as a Cake Tool #tool nuget:?package=Merq.Core&version=2.0.0
The default implementation of the message bus interface IMessageBus
has
no external dependencies and can be instantiated via the MessageBus
constructor
directly.
The bus locates command handlers and event producers via the passed-in
IServiceProvider
instance in the constructor:
var bus = new MessageBus(serviceProvider);
// execute a command
bus.Execute(new MyCommand());
// observe an event from the bus
bus.Observe<MyEvent>().Subscribe(e => Console.WriteLine(e.Message));
For usage and authoring of commands and events, see Merq readme.
Sponsors
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Merq (>= 2.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
-
net6.0
- Merq (>= 2.0.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0.0)
- System.Diagnostics.DiagnosticSource (>= 6.0.0)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on Merq.Core:
Package | Downloads |
---|---|
Merq.VisualStudio
Merq MEF components suitable for hosting with Microsoft.VisualStudio.Composition. |
|
Merq.DependencyInjection
Merq: Microsoft Dependency Injection support with automatic IMessageBus registration via AddMessageBus. |
|
Merq.AutoMapper
A specialized Message Bus that allows cross observing and executing of events and commands from structurally compatible types even if they are from disparate assemblies, as long as their full name is the same. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.0.0 | 548 | 1/29/2024 |
2.0.0-rc.6 | 91 | 1/29/2024 |
2.0.0-rc.5 | 57 | 1/27/2024 |
2.0.0-rc.3 | 478 | 7/10/2023 |
2.0.0-rc.2 | 99 | 7/10/2023 |
2.0.0-rc.1 | 93 | 7/7/2023 |
2.0.0-beta.4 | 91 | 7/6/2023 |
2.0.0-beta.3 | 233 | 11/19/2022 |
2.0.0-beta.2 | 129 | 11/18/2022 |
2.0.0-beta | 325 | 11/16/2022 |
2.0.0-alpha | 455 | 11/16/2022 |
1.5.0 | 632 | 2/16/2023 |
1.3.0 | 680 | 7/28/2022 |
1.1.49 | 1,337 | 8/21/2018 |
1.1.38 | 1,172 | 5/17/2018 |
1.1.32 | 1,343 | 4/30/2018 |