ApiCore.Questions.QuestionsFactory.GetAnswerVotes C# (CSharp) Method

GetAnswerVotes() public method

public GetAnswerVotes ( int uid, int aid, QuestionSortMode sort, int needProfiles, int count, int offset ) : List
uid int
aid int
sort QuestionSortMode
needProfiles int
count int
offset int
return List
        public List<QuestionAnswerVoter> GetAnswerVotes(int uid, int aid, QuestionSortMode? sort, int? needProfiles, int? count, int? offset)
        {
            this.Manager.Method("questions.getAnswerVotes");
            this.Manager.Params("aid", aid);
            this.Manager.Params("uid", uid);
            if (sort != null)
            {
                this.Manager.Params("sort", sort);
            }
            if (needProfiles != null)
            {
                this.Manager.Params("need_profiles", needProfiles);
            }
            if (count != null)
            {
                this.Manager.Params("count", count);
            }
            if (offset != null)
            {
                this.Manager.Params("offset", offset);
            }
            string resp = this.Manager.Execute().GetResponseString();
            if (this.Manager.MethodSuccessed)
            {
                XmlDocument x = this.Manager.GetXmlDocument(resp);
                if (x.SelectSingleNode("/response").InnerText.Equals("0"))
                {
                    return null;
                }
                return this.buildQuestionVotersList(x);
            }
            return null;
        }