public async Task<IComment> GetCommentAsync(int commentId, string username = "me")
{
if (string.IsNullOrWhiteSpace(username))
throw new ArgumentNullException(nameof(username));
if (username.Equals("me", StringComparison.OrdinalIgnoreCase)
&& ApiClient.OAuth2Token == null)
throw new ArgumentNullException(nameof(ApiClient.OAuth2Token), OAuth2RequiredExceptionMessage);
var url = $"account/{username}/comment/{commentId}";
using (var request = CommentRequestBuilder.CreateRequest(HttpMethod.Get, url))
{
var comment = await SendRequestAsync<Comment>(request).ConfigureAwait(false);
return comment;
}
}