private DisqusThreadCloseRequest(DisqusThreadLookupType lookupType, params string[] threads) { var parameters = threads.Select(thread => new KeyValuePair <string, string>(lookupType.AsParameterName(), thread)); Parameters.AddRange(parameters); }
public DisqusForumListThreadsRequest Thread(DisqusThreadLookupType lookupType, params string[] threads) { var parameters = threads.Select(thread => new KeyValuePair <string, string>(lookupType.AsParameterName(), thread)); Parameters.AddRange(parameters); return(this); }
private DisqusThreadListPostsRequest(DisqusThreadLookupType lookupType, string thread) { Parameters.Add(new KeyValuePair <string, string>(lookupType.AsParameterName(), thread)); }
private DisqusThreadListUsersVotedThreadRequest(DisqusThreadLookupType lookupType, string thread) : base() { Parameters.Add(new KeyValuePair <string, string>(lookupType.AsParameterName(), thread)); }
private DisqusThreadVoteRequest(DisqusThreadLookupType lookupType, string thread, DisqusVote vote) : base() { Parameters.Add(new KeyValuePair <string, string>(lookupType.AsParameterName(), thread)); Parameters.Add(new KeyValuePair <string, string>("vote", vote.ToString("D"))); }