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

VkApi refactoring. #17

Merged
merged 19 commits into from
Mar 23, 2024
Merged

VkApi refactoring. #17

merged 19 commits into from
Mar 23, 2024

Conversation

andreygolubkow
Copy link
Member

No description provided.

TaktTusur.Media.Domain/Common/Event.cs Outdated Show resolved Hide resolved
TaktTusur.Media.Domain/Common/Event.cs Outdated Show resolved Hide resolved
@@ -0,0 +1,13 @@
namespace TaktTusur.Media.Domain.Common
{
public class Copyrights
Copy link
Member Author

Choose a reason for hiding this comment

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

Looks like it's not a business logic, just to describe something from VK. Move it to vk api project

TaktTusur.Media.Domain/Common/Attachment.cs Outdated Show resolved Hide resolved
/// <param name="cancellationToken"></param>
/// <param name="groupId">Идентификатор сообщества.</param>
/// <param name="count">Количество записей, которое необходимо получить. Максимальное значение: 100</param>
/// <param name="cancellationToken">Ключ доступа.</param>
Copy link
Member Author

Choose a reason for hiding this comment

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

This is not an access key. msdn link

TaktTusur.Media.Clients.VkApi/VkApiClient.cs Outdated Show resolved Hide resolved
0 => AccessTypes.Accessible,
1 => AccessTypes.Inaccessible,
2 => AccessTypes.Private,
_ => throw new NotImplementedException()
Copy link
Member Author

Choose a reason for hiding this comment

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

The same like groups, add unknown

{
public class Event
internal class Event
Copy link
Member Author

Choose a reason for hiding this comment

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

Don't use this name, you can use VkEvent

@andreygolubkow andreygolubkow merged commit 8c5a8f4 into develop Mar 23, 2024
1 check passed
@andreygolubkow andreygolubkow deleted the feature/vkapi_refactoring branch March 23, 2024 18:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants