{"id":14966938,"url":"https://github.com/romansoloweow/historicalreactivecommand","last_synced_at":"2025-10-25T17:30:52.776Z","repository":{"id":116593320,"uuid":"289528083","full_name":"RomanSoloweow/HistoricalReactiveCommand","owner":"RomanSoloweow","description":"HistoricalReactiveCommand for ReactiveUI","archived":false,"fork":false,"pushed_at":"2022-09-11T22:51:09.000Z","size":205,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-02T12:34:45.256Z","etag":null,"topics":["csharp","dotnet","historical-data","reactivecommand","reactiveui","undo-redo"],"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/RomanSoloweow.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}},"created_at":"2020-08-22T16:46:18.000Z","updated_at":"2024-02-14T16:11:39.000Z","dependencies_parsed_at":null,"dependency_job_id":"67443e2a-3c33-4871-97ae-0f29cb03b2d0","html_url":"https://github.com/RomanSoloweow/HistoricalReactiveCommand","commit_stats":{"total_commits":34,"total_committers":2,"mean_commits":17.0,"dds":"0.17647058823529416","last_synced_commit":"1ecea9246fd40d17317d485683179f25a3fa3559"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSoloweow%2FHistoricalReactiveCommand","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSoloweow%2FHistoricalReactiveCommand/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSoloweow%2FHistoricalReactiveCommand/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RomanSoloweow%2FHistoricalReactiveCommand/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RomanSoloweow","download_url":"https://codeload.github.com/RomanSoloweow/HistoricalReactiveCommand/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238183998,"owners_count":19430240,"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":["csharp","dotnet","historical-data","reactivecommand","reactiveui","undo-redo"],"created_at":"2024-09-24T13:37:10.782Z","updated_at":"2025-10-25T17:30:52.400Z","avatar_url":"https://github.com/RomanSoloweow.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![](https://img.shields.io/github/stars/RomanSoloweow/HistoricalReactiveCommand)](https://github.com/RomanSoloweow/HistoricalReactiveCommand) [![](https://img.shields.io/github/languages/code-size/RomanSoloweow/HistoricalReactiveCommand)](https://github.com/RomanSoloweow/HistoricalReactiveCommand) [![]( https://img.shields.io/github/last-commit/RomanSoloweow/HistoricalReactiveCommand/master)](https://github.com/RomanSoloweow/HistoricalReactiveCommand) [![](https://img.shields.io/github/license/RomanSoloweow/HistoricalReactiveCommand)](https://github.com/RomanSoloweow/HistoricalReactiveCommand)\n# HistoricalReactiveCommand\nHistoricalReactiveCommand for [ReactiveUI](https://github.com/reactiveui/ReactiveUI).\n\nThe creation and logic of work is as similar as possible to conventional [reactive commands](https://www.reactiveui.net/docs/handbook/commands/).\n\n# A Compelling Example\n## Simple command with History\n ```C#\n    int myNumber = 0;\n    var command = ReactiveCommandEx.CreateWithHistory\u003cint\u003e(\"adding\",\n     (number) =\u003e { myNumber += number; },\n     (number) =\u003e { myNumber -= number; });\n\n    //myNumber is 25\n    command.Execute(25).Subscribe();\n    //myNumber is 50\n    command.Execute(25).Subscribe();\n    //myNumber is 25\n    command.History.Undo.Execute().Subscribe();\n    //myNumber is 0\n    command.History.Undo.Execute().Subscribe();\n    //myNumber is 25\n    command.History.Redo.Execute().Subscribe();\n     //myNumber is 50\n    command.History.Redo.Execute().Subscribe();\n                       \n ```\n \n \n\n\n\n## License📑\n\nLicensed under the [MIT](LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromansoloweow%2Fhistoricalreactivecommand","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fromansoloweow%2Fhistoricalreactivecommand","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fromansoloweow%2Fhistoricalreactivecommand/lists"}