{"id":39493026,"url":"https://github.com/henningtandberg/mando","last_synced_at":"2026-04-26T11:03:48.248Z","repository":{"id":312688077,"uuid":"1047149230","full_name":"henningtandberg/Mando","owner":"henningtandberg","description":"A super lightweight and free alternative to libraries that provide decoupled, in-process communication.","archived":false,"fork":false,"pushed_at":"2026-04-26T09:26:39.000Z","size":2279,"stargazers_count":11,"open_issues_count":0,"forks_count":2,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-26T10:08:00.450Z","etag":null,"topics":["command","command-pattern","mediator-design-pattern"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/Mando","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/henningtandberg.png","metadata":{"files":{"readme":"README.NuGet.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-29T20:27:35.000Z","updated_at":"2026-04-26T09:25:41.000Z","dependencies_parsed_at":"2025-09-01T12:38:44.490Z","dependency_job_id":null,"html_url":"https://github.com/henningtandberg/Mando","commit_stats":null,"previous_names":["henningtandberg/mando"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/henningtandberg/Mando","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henningtandberg%2FMando","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henningtandberg%2FMando/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henningtandberg%2FMando/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henningtandberg%2FMando/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henningtandberg","download_url":"https://codeload.github.com/henningtandberg/Mando/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henningtandberg%2FMando/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32294592,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["command","command-pattern","mediator-design-pattern"],"created_at":"2026-01-18T05:38:09.249Z","updated_at":"2026-04-26T11:03:48.242Z","avatar_url":"https://github.com/henningtandberg.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mando\nA super lightweight and free alternative to libraries that provide\ndecoupled, in-process communication.\n\n![Mando Logo](mando.png)\n\n[![Build and Test](https://github.com/henningtandberg/Mando/actions/workflows/build-test.yml/badge.svg)](https://github.com/henningtandberg/Mando/actions/workflows/build-test.yml)\n![GitHub License](https://img.shields.io/github/license/henningtandberg/Mando)\n![GitHub Release](https://img.shields.io/github/v/release/henningtandberg/Mando)\n![NuGet Version](https://img.shields.io/nuget/v/Mando)\n![NuGet Downloads](https://img.shields.io/nuget/dt/Mando)\n\n---\n\n## Usage\nYou can use the package directly or fork this repo and create your own,\ncustom implementation.\n\n## Installation\nThe easiest way to add Mando to your project via [NuGet](https://www.nuget.org/packages/Mando).\n\n## Features\nThe features of this library are limited by design, so that the library will\nbe easier to extend if you decide to fork the repo and create a more custom\nimplementation. The core features are, and will always be:\n\n### Single command, single handler.\n```csharp\ninternal sealed MyCustomCommand : ICommand;\n\ninternal sealed MyCustomCommandHandler : ICommandHandler\u003cMyCustomCommand\u003e\n{\n    public Task Execute(MyCustomCommand command)\n    {\n        // Your magic here!\n    }\n}\n```\n\n### Single command, multiple handlers.\n```csharp\ninternal sealed MyCustomCommand : ICommand;\n\ninternal sealed MyCustomCommandHandlerOne : ICommandHandler\u003cMyCustomCommand\u003e\n{\n    public Task Execute(MyCustomCommand command)\n    {\n        // Your magic here!\n    }\n}\n\ninternal sealed MyCustomCommandHandlerTwo : ICommandHandler\u003cMyCustomCommand\u003e\n{\n    public Task Execute(MyCustomCommand command)\n    {\n        // And some other magic here!\n    }\n}\n```\n\n### Multiple commands, single handler\n\n```csharp\ninternal sealed MyCustomCommandOne : ICommand;\ninternal sealed MyCustomCommandTwo : ICommand;\n\ninternal sealed MyCustomCommandHandler :\n    ICommandHandler\u003cMyCustomCommandOne\u003e, ICommandHandler\u003cMyCustomCommandTwo\u003e\n{\n    public Task Execute(MyCustomCommandOne command)\n    {\n        // Your magic here!\n    }\n    \n    public Task Execute(MyCustomCommandTwo command)\n    {\n        // Even more magic here!\n    }\n}\n```\n\n### Dependency Injection\n```csharp\nservices.AddMando(Assembly.GetExecutingAssembly()))\n```\n\nThis registers\n- `ICommandHandler\u003cTCommand\u003e` : All implementations are registered as Scoped\n- `IDispatcher` as Scoped\n\n### Usage\n```csharp\ninternal sealed class Application(IDispatcher dispatcher) : IApplication\n{\n    public Task RunAsync() =\u003e dispatcher.Dispatch(new DoSomethingCommand());\n}\n```\n\nCheckout [Mando.Example](https://github.com/henningtandberg/Mando/tree/main/Mando/Mando.Example) for a working example.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenningtandberg%2Fmando","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenningtandberg%2Fmando","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenningtandberg%2Fmando/lists"}