public Task <Pr0grammResponse> Unfollow(INamedPr0grammUser userToUnfollow) { if (userToUnfollow == null) { throw new ArgumentNullException(nameof(userToUnfollow)); } return(Unfollow(userToUnfollow.Name)); }
public Task <Pr0grammResponse> Ban(INamedPr0grammUser user, string reason, int durationInDays) { if (user == null) { throw new ArgumentNullException(nameof(user)); } return(Ban(user.Name, reason, durationInDays)); }
public Task <GetCommentsResponse> GetCommentsAfter(INamedPr0grammUser user, ItemFlags flags, DateTime after) { if (user == null) { throw new ArgumentNullException(nameof(user)); } return(GetCommentsAfter(user.Name, flags, after)); }
public Task <GetProfileInfoResponse> GetInfo(INamedPr0grammUser user, ItemFlags flags) { if (user == null) { throw new ArgumentNullException(nameof(user)); } return(GetInfo(user.Name, flags)); }
public Task <GetItemsResponse> GetItemsByUser(ItemFlags flags, ItemStatus status, INamedPr0grammUser user) { if (user == null) { throw new ArgumentNullException(nameof(user)); } return(GetItemsByUser(flags, status, user.Name)); }
public Task<GetItemsResponse> GetItemsByUser(ItemFlags flags, ItemStatus status, INamedPr0grammUser user) { if (user == null) throw new ArgumentNullException(nameof(user)); return GetItemsByUser(flags, status, user.Name); }
public Task<Pr0grammResponse> Ban(INamedPr0grammUser user, string reason, int durationInDays) { if (user == null) throw new ArgumentNullException(nameof(user)); return Ban(user.Name, reason, durationInDays); }
public Task<Pr0grammResponse> Unfollow(INamedPr0grammUser userToUnfollow) { if (userToUnfollow == null) throw new ArgumentNullException(nameof(userToUnfollow)); return Unfollow(userToUnfollow.Name); }
public Task<GetProfileInfoResponse> GetInfo(INamedPr0grammUser user, ItemFlags flags) { if (user == null) throw new ArgumentNullException(nameof(user)); return GetInfo(user.Name, flags); }
public Task<GetCommentsResponse> GetCommentsAfter(INamedPr0grammUser user, ItemFlags flags, DateTime after) { if (user == null) throw new ArgumentNullException(nameof(user)); return GetCommentsAfter(user.Name, flags, after); }