Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add async command base class #30

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

martilut
Copy link

No description provided.

@martilut martilut changed the title Async command base class added Add async command base class Jul 20, 2021
Copy link
Collaborator

@Alexander-Ploskin Alexander-Ploskin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Все хорошо, было бы неплохо еще реализовать механизм отмены операций, но пока можно обойтись и без этого, раз уж это негде применить в сериализации

{
onException?.Invoke(ex);
}
IsExecuting = false;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Методы, которые должны быть выполнены в любом случае нужно заключать в блок finally

undo method added
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants