{"id":23820302,"url":"https://github.com/newky2k/messagebus","last_synced_at":"2025-04-06T12:08:28.979Z","repository":{"id":16188408,"uuid":"18935013","full_name":"newky2k/MessageBus","owner":"newky2k","description":"MessageBus is a cross platform EventBus system similar to NSNoticationCenter on iOS and otto on Android","archived":false,"fork":false,"pushed_at":"2024-11-19T20:29:20.000Z","size":1575,"stargazers_count":23,"open_issues_count":0,"forks_count":12,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-30T10:09:20.907Z","etag":null,"topics":["android","dotnet","eventbus","ios","messagebus"],"latest_commit_sha":null,"homepage":"","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/newky2k.png","metadata":{"files":{"readme":"README.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}},"created_at":"2014-04-19T06:09:20.000Z","updated_at":"2024-11-19T19:23:50.000Z","dependencies_parsed_at":"2024-06-08T20:33:00.906Z","dependency_job_id":"c8d2cb6d-5bc5-4470-a7ac-7b3147832811","html_url":"https://github.com/newky2k/MessageBus","commit_stats":{"total_commits":88,"total_committers":14,"mean_commits":6.285714285714286,"dds":0.625,"last_synced_commit":"7bc3ea009c19bf2fd8a528da8b826ea99ce95d2c"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newky2k%2FMessageBus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newky2k%2FMessageBus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newky2k%2FMessageBus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/newky2k%2FMessageBus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/newky2k","download_url":"https://codeload.github.com/newky2k/MessageBus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478322,"owners_count":20945266,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["android","dotnet","eventbus","ios","messagebus"],"created_at":"2025-01-02T07:34:30.529Z","updated_at":"2025-04-06T12:08:28.933Z","avatar_url":"https://github.com/newky2k.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MessageBus\nMessageBus is a cross platform EventBus system similar to `NSNoticationCenter` on iOS and `otto` on Android that allow you to decouple your code, whilst still allowing your applications components to communicate with each other. MessageBus can be used instead of events, can be used to communicate between objects that are not directly linked.\n\n# Features\n\n* Cross-platform  \n  * .NETStandard 2.1, .NET 8+ including iOS, TVOS, Android, UWP, Mac and Windows with support for WPF and WinUI\n* Small footprint\n* Simple API\n* Create custom events to easily pass additional data\n* Allows you to decouple objects and classes within your projects\n* New in 3.1 - Dependency Injection support\n\n## Usage\n\nTo use Dependency Injection follow these steps.\n\nAdd package `DSoft.MessageBus` to your main application and call `RegisterMessageBus` to register the services.\n\n\tprivate static void ConfigureServices(IServiceCollection services)\n    {\n        services.RegisterMessageBus();\n    }\n\nYou can then inject `IMessageBusService` into your own services.\n\nPlease check the Unit tests and sample WPF app for examples of usage\n\n### Attribution\n\n`ThreadControl` contains portions of code from [Xamarin.Essentials](https://github.com/xamarin/Essentials/tree/master/Xamarin.Essentials/MainThread), specifically the `MainThread` functionality\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewky2k%2Fmessagebus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewky2k%2Fmessagebus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewky2k%2Fmessagebus/lists"}