Mako/MakoClient.Extensions.cs
/// <summary>
///     Sends a request to the Pixiv to add it to the bookmark
/// </summary>
/// <param name="id">The ID of the illustration which needs to be bookmarked</param>
/// <param name="privacyPolicy">Indicates the privacy of the the illustration in the bookmark</param>
/// <returns>A <see cref="Task" /> represents the operation</returns>
Sends a request to the Pixiv to add it to the bookmark
Sends a request to the Pixiv to add it to the bookmark
public Task PostBookmarkAsync(string id, PrivacyPolicy privacyPolicy)
        {
            EnsureNotCancelled();
            return Resolve<IAppApiEndPoint>().AddBookmarkAsync(new AddBookmarkRequest(privacyPolicy.GetDescription(), id));
        }
public Task PostBookmarkAsync ( string id , PrivacyPolicy privacyPolicy ) { EnsureNotCancelled ( ) ; return Resolve < IAppApiEndPoint > ( ) . AddBookmarkAsync ( new AddBookmarkRequest ( privacyPolicy . GetDescription ( ) , id ) ) ; }
Sends a request to the Pixiv to add it to the bookmark
Sends a request to the Pixiv to add it to the bookmark
A  represents the operation
A represents the operation
id
string
The ID of the illustration which needs to be bookmarked
The ID of the illustration which needs to be bookmarked
privacyPolicy
PrivacyPolicy
Indicates the privacy of the the illustration in the bookmark
Indicates the privacy of the the illustration in the bookmark