コード例 #1
0
 /// <inheritdoc />
 public Note GetById(NotesGetByIdParams getByIdParams)
 {
     return(_vk.Call(methodName: "notes.getById",
                     parameters: new VkParameters
     {
         { "note_id", getByIdParams.NoteId },
         { "owner_id", getByIdParams.OwnerId },
         { "need_wiki", getByIdParams.IsNeedWiki }
     }));
 }
コード例 #2
0
 /// <inheritdoc />
 public Task <Note> GetByIdAsync(NotesGetByIdParams getByIdParams)
 {
     return(TypeHelper.TryInvokeMethodAsync(func: () => GetById(getByIdParams: getByIdParams)));
 }