Skip to content

Add async serialization - #29

Open
martilut wants to merge 5 commits into
spbu-se:mainfrom
martilut:asyncSerialization
Open

Add async serialization#29
martilut wants to merge 5 commits into
spbu-se:mainfrom
martilut:asyncSerialization

Conversation

@martilut

Copy link
Copy Markdown

No description provided.

@martilut martilut changed the title Async serialization added Add async serialization Jul 20, 2021

@Alexander-Ploskin Alexander-Ploskin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Все хорошо, надо поправить названия методов и сделать асинхронное открытие тестов.

Comment on lines 181 to 182
public async Task Save(string path)
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

По стайлгайду асинхронные методы имеют суффикс Async, то есть должно быть SaveAsync

Comment on lines 205 to 206
public async Task Open(string path)
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Тоже OpenAsync

Comment on lines 51 to 52
public async void Save(string path)
{

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

А как же Open?

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