Skip to content

Commit

Permalink
Исправляет некорректно установленный inheritdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
inyutin-maxim committed Feb 18, 2024
1 parent 33760d7 commit 58fc173
Show file tree
Hide file tree
Showing 51 changed files with 179 additions and 70 deletions.
1 change: 0 additions & 1 deletion VkNet/Abstractions/Authorization/IImplicitFlow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace VkNet.Abstractions.Authorization;

/// <inheritdoc />
/// <summary>
/// Implicit flow — самый короткий и простой вариант.
/// Ключ возвращается на устройство пользователя, где был открыт диалог авторизации
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IAccountCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IAccountCategoryAsync"/>
/// <summary>
/// Методы этого класса позволяют производить действия с аккаунтом пользователя.
/// </summary>
public interface IAccountCategory : IAccountCategoryAsync
{
/// <inheritdoc cref="IAccountCategoryAsync.GetCountersAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IAdsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IAdsCategoryAsync"/>
/// <summary>
/// Методы для работы с рекламным кабинетом пользователя.
/// </summary>
public interface IAdsCategory : IAdsCategoryAsync
{
/// <inheritdoc cref="IAdsCategoryAsync.AddOfficeUsersAsync"/>
Expand Down
5 changes: 3 additions & 2 deletions VkNet/Abstractions/Category/IAppWidgetsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IAppWidgetsCategoryAsync"/>
/// <summary>
/// Список методов секции appWidgets
/// </summary>
public interface IAppWidgetsCategory : IAppWidgetsCategoryAsync
{
/// <inheritdoc cref="IAppWidgetsCategoryAsync.GetAppImageUploadServerAsync"/>
Expand All @@ -29,7 +31,6 @@ public interface IAppWidgetsCategory : IAppWidgetsCategoryAsync
/// <inheritdoc cref="IAppWidgetsCategoryAsync.SaveGroupImageAsync"/>
AppImage SaveGroupImage(string hash, string image);

//TODO: TEST IT!!
/// <inheritdoc cref="IAppWidgetsCategoryAsync.UpdateAsync"/>
bool Update(string code, AppWidgetType type);
}
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IAppsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IAppsCategoryAsync"/>
/// <summary>
/// Методы для работы с методами приложений.
/// </summary>
public interface IAppsCategory : IAppsCategoryAsync
{
/// <inheritdoc cref="IAppsCategoryAsync.GetCatalogAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IAsrCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IAsrCategoryAsync"/>
/// <summary>
/// Методы для работы с ASR
/// </summary>
public interface IAsrCategory : IAsrCategoryAsync
{
/// <inheritdoc cref = "IAsrCategoryAsync.CheckStatusAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IAudioCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IAudioCategoryAsync" />
/// <summary>
/// Методы для работы с аудиозаписями.
/// </summary>
public interface IAudioCategory : IAudioCategoryAsync
{
/// <inheritdoc cref="IAudioCategoryAsync.AddAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IAuthCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IAuthCategoryAsync" />
/// <summary>
/// Методы для работы с авторизацией.
/// </summary>
public interface IAuthCategory : IAuthCategoryAsync
{
/// <inheritdoc cref="IAuthCategoryAsync.CheckPhoneAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IBoardCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IBoardCategoryAsync" />
/// <summary>
/// Методы для работы со темами группы.
/// </summary>
public interface IBoardCategory : IBoardCategoryAsync
{
/// <inheritdoc cref="IBoardCategoryAsync.GetTopicsAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IDatabaseCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IDatabaseCategoryAsync" />
/// <summary>
/// Методы для получения справочной информации (страны, города, школы, учебные заведения и т.п.).
/// </summary>
public interface IDatabaseCategory : IDatabaseCategoryAsync
{
/// <inheritdoc cref="IDatabaseCategoryAsync.GetCountriesAsync"/>
Expand Down
6 changes: 3 additions & 3 deletions VkNet/Abstractions/Category/IDocsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IDocsCategoryAsync" />
/// <summary>
/// Методы для работы с документами (получение списка, загрузка, удаление и т.д.)
/// </summary>
public interface IDocsCategory : IDocsCategoryAsync
{
/// <inheritdoc cref="IDocsCategoryAsync.GetAsync"/>
Expand All @@ -31,8 +33,6 @@ public interface IDocsCategory : IDocsCategoryAsync
/// <inheritdoc cref="IDocsCategoryAsync.AddAsync(long,long,string, System.Threading.CancellationToken)"/>
long Add(long ownerId, long docId, string accessKey = null);



/// <inheritdoc cref="IDocsCategoryAsync.GetTypesAsync"/>
VkCollection<DocumentType> GetTypes(long ownerId);

Expand Down
6 changes: 4 additions & 2 deletions VkNet/Abstractions/Category/IDonutCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IDonutCategoryAsync"/>
public interface IDonutCategory
/// <summary>
/// Методы для работы с VK Donut.
/// </summary>
public interface IDonutCategory : IDonutCategoryAsync
{
/// <inheritdoc cref="IDonutCategoryAsync.IsDonAsync"/>
bool IsDon(long ownerId);
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IDownloadedGamesCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IDownloadedGamesCategoryAsync"/>
/// <summary>
/// Список методов секции downloadedGames
/// </summary>
public interface IDownloadedGamesCategory : IDownloadedGamesCategoryAsync
{
/// <inheritdoc cref = "IDownloadedGamesCategoryAsync.GetPaidStatusAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IExecuteCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IExecuteCategoryAsync" />
/// <summary>
/// Методы этого класса позволяют производить действия с универсальным методом.
/// </summary>
public interface IExecuteCategory : IExecuteCategoryAsync
{
/// <inheritdoc cref="IExecuteCategoryAsync.ExecuteAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IFaveCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IFaveCategoryAsync" />
/// <summary>
/// Методы для работы с закладками.
/// </summary>
public partial interface IFaveCategory : IFaveCategoryAsync
{
/// <inheritdoc cref = "IFaveCategoryAsync.AddArticleAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IFaveCategoryObsolete.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IFaveCategoryAsync" />
/// <summary>
/// Методы для работы с закладками.
/// </summary>
public partial interface IFaveCategory
{
/// <inheritdoc cref="IFaveCategoryAsync.GetUsersAsync" />
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IFriendsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IFriendsCategoryAsync" />
/// <summary>
/// Методы для работы с друзьями.
/// </summary>
public interface IFriendsCategory : IFriendsCategoryAsync
{
/// <inheritdoc cref="IFriendsCategoryAsync.GetAsync" />
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IGiftsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IGiftsCategoryAsync" />
/// <summary>
/// Методы для работы с подарками.
/// </summary>
public interface IGiftsCategory : IGiftsCategoryAsync
{
/// <inheritdoc cref="IGiftsCategoryAsync.GetAsync" />
Expand Down
7 changes: 4 additions & 3 deletions VkNet/Abstractions/Category/IGroupsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IGroupsCategoryAsync" />
/// <summary>
/// Асинхронные методы для работы с сообществами (группами).
/// </summary>
public interface IGroupsCategory : IGroupsCategoryAsync
{
/// <inheritdoc cref="IGroupsCategoryAsync.AddAddressAsync" />
Expand Down Expand Up @@ -45,7 +47,7 @@ ReadOnlyCollection<GroupMember> IsMember(string groupId, IEnumerable<long> userI

/// <inheritdoc cref="IGroupsCategoryAsync.IsMemberAsync(string, long, bool?, bool, System.Threading.CancellationToken)" />
GroupMember IsMember(string groupId, long userId, bool? extended = true,
bool skipAuthorization = false);
bool skipAuthorization = false);

/// <inheritdoc cref="IGroupsCategoryAsync.IsMemberAsync(string, long, bool, System.Threading.CancellationToken)" />
bool IsMember(string groupId, long userId, bool skipAuthorization = false);
Expand Down Expand Up @@ -86,7 +88,6 @@ VkCollection<User> GetInvitedUsers(long groupId, long? offset = null, long? coun
/// <inheritdoc cref="IGroupsCategoryAsync.InviteAsync(long,long, System.Threading.CancellationToken)" />
bool Invite(long groupId, long userId);


/// <inheritdoc cref="IGroupsCategoryAsync.AddLinkAsync" />
ExternalLink AddLink(long groupId, Uri link, string text);

Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/ILeadFormsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

namespace VkNet.Abstractions.Category;

/// <inheritdoc cref="ILeadFormsCategoryAsync" />
/// <summary>
/// Формы сбора заявок Подойдут для записи клиентов, предварительной регистрации, подписки на рассылки, запросов информации, подключения услуг, оформления заказов и многого другого. Вы создаете формы с заявками, а пользователи оставляют свою контактную информацию. Вам остается завершить оформление заявки, связавшись с ними удобным способом.
/// </summary>
public interface ILeadFormsCategory : ILeadFormsCategoryAsync
{
/// <inheritdoc cref="ILeadFormsCategoryAsync.CreateAsync" />
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/ILeadsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="ILeadsCategoryAsync" />
/// <summary>
/// Leads При подключении к сервису рекламных акций партнёр получает доступ в специальный раздел для создания и управления рекламными акциями (офферами).
/// </summary>
public interface ILeadsCategory : ILeadsCategoryAsync
{
/// <inheritdoc cref="ILeadsCategoryAsync.CheckUserAsync" />
Expand Down
5 changes: 3 additions & 2 deletions VkNet/Abstractions/Category/ILikesCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="ILikesCategoryAsync" />
/// <summary>
/// Методы для работы с лайками.
/// </summary>
public interface ILikesCategory : ILikesCategoryAsync
{
/// <inheritdoc cref="ILikesCategoryAsync.GetListAsync" />
Expand All @@ -19,7 +21,6 @@ public interface ILikesCategory : ILikesCategoryAsync
/// <inheritdoc cref="ILikesCategoryAsync.DeleteAsync(LikeObjectType, long, long?, System.Threading.CancellationToken)" />
long Delete(LikeObjectType type, long itemId, long? ownerId = null);


/// <inheritdoc cref="ILikesCategoryAsync.IsLikedAsync" />
bool IsLiked(out bool copied, LikeObjectType type, long itemId, long? userId = null, long? ownerId = null);
}
7 changes: 5 additions & 2 deletions VkNet/Abstractions/Category/IMarketsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IMarketsCategoryAsync"/>
/// <summary>
/// Методы для работы с товарами.
/// </summary>
public interface IMarketsCategory : IMarketsCategoryAsync
{
/// <inheritdoc cref="IMarketsCategoryAsync.GetAsync"/>
Expand Down Expand Up @@ -69,7 +71,8 @@ public interface IMarketsCategory : IMarketsCategoryAsync
long AddAlbum(long ownerId, string title, long? photoId = null, bool mainAlbum = false, bool isHidden = false);

/// <inheritdoc cref="IMarketsCategoryAsync.EditAlbumAsync"/>
bool EditAlbum(long ownerId, long albumId, string title, long? photoId = null, bool mainAlbum = false, bool isHidden = false);
bool EditAlbum(long ownerId, long albumId, string title, long? photoId = null, bool mainAlbum = false,
bool isHidden = false);

/// <inheritdoc cref="IMarketsCategoryAsync.DeleteAlbumAsync"/>
bool DeleteAlbum(long ownerId, long albumId);
Expand Down
5 changes: 3 additions & 2 deletions VkNet/Abstractions/Category/IMessagesCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IMessagesCategoryAsync"/>
/// <summary>
/// Методы для работы с личными сообщениями. Для моментального получения входящих сообщений используйте LongPoll сервер.
/// </summary>
public interface IMessagesCategory : IMessagesCategoryAsync
{
/// <inheritdoc cref="IMessagesCategoryAsync.AddChatUserAsync"/>
Expand Down Expand Up @@ -165,7 +167,6 @@ GetRecentCallsResult GetRecentCalls(IEnumerable<string> fields, ulong? count = n
/// <inheritdoc cref="IMessagesCategoryAsync.GetIntentUsersAsync"/>
GetIntentUsersResult GetIntentUsers(MessagesGetIntentUsersParams getIntentUsersParams);


/// <inheritdoc cref="IMessagesCategoryAsync.SetMemberRoleAsync"/>
bool SetMemberRole(string role, long peerId, ulong memberId);

Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/INewsFeedCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="INewsFeedCategoryAsync"/>
/// <summary>
/// Методы для работы с новостной лентой пользователя.
/// </summary>
public interface INewsFeedCategory : INewsFeedCategoryAsync
{
/// <inheritdoc cref="INewsFeedCategoryAsync.GetAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/INotesCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="INotesCategoryAsync"/>
/// <summary>
/// Методы для работы с заметками.
/// </summary>
public interface INotesCategory : INotesCategoryAsync
{
/// <inheritdoc cref="INotesCategoryAsync.AddAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/INotificationsCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="INotificationsCategoryAsync"/>
/// <summary>
/// Методы для работы с Уведомлениями
/// </summary>
public interface INotificationsCategory : INotificationsCategoryAsync
{
/// <inheritdoc cref="INotificationsCategoryAsync.GetAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IOrdersCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IOrdersCategoryAsync"/>
/// <summary>
/// Методы этой секции предоставляют дополнительную возможность управления состоянием заказов, которые были сделаны пользователями в приложениях.
/// </summary>
public interface IOrdersCategory : IOrdersCategoryAsync
{
/// <inheritdoc cref="IOrdersCategoryAsync.CancelSubscriptionAsync"/>
Expand Down
4 changes: 3 additions & 1 deletion VkNet/Abstractions/Category/IPagesCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IPagesCategoryAsync"/>
/// <summary>
/// Методы для работы с wiki.
/// </summary>
public interface IPagesCategory : IPagesCategoryAsync
{
/// <inheritdoc cref="IPagesCategoryAsync.GetAsync"/>
Expand Down
5 changes: 3 additions & 2 deletions VkNet/Abstractions/Category/IPhotoCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

namespace VkNet.Abstractions;

/// <inheritdoc cref="IPhotoCategoryAsync"/>
/// <summary>
/// Методы для работы с фотографиями.
/// </summary>
public interface IPhotoCategory : IPhotoCategoryAsync
{
/// <inheritdoc cref="IPhotoCategoryAsync.CreateAlbumAsync"/>
Expand Down Expand Up @@ -42,7 +44,6 @@ ReadOnlyCollection<Photo> GetById(IEnumerable<string> photos
/// <inheritdoc cref="IPhotoCategoryAsync.SaveOwnerPhotoAsync(string, System.Threading.CancellationToken)"/>
Photo SaveOwnerPhoto(string response);


/// <inheritdoc cref="IPhotoCategoryAsync.SaveWallPhotoAsync"/>
ReadOnlyCollection<Photo> SaveWallPhoto(string response, ulong? userId, ulong? groupId = null, string caption = null);

Expand Down
Loading

0 comments on commit 58fc173

Please sign in to comment.