public SubscriptionsInfo GetFollowers(int?userId, int?offset, int?count) { this.Manager.Method("subscriptions.getFollowers"); if (userId != null) { this.Manager.Params("uid", userId); } if (userId != null) { this.Manager.Params("offset", offset); } if (userId != null) { this.Manager.Params("count", count); } XmlNode result = this.Manager.Execute().GetResponseXml(); if (this.Manager.MethodSuccessed) { XmlUtils.UseNode(result); SubscriptionsInfo si = new SubscriptionsInfo(); si.Count = XmlUtils.Int("count"); si.Users = this.buildUsersList(result.SelectNodes("users/uid")); return(si); } return(null); }
public SubscriptionsInfo GetFollowers(int? userId, int? offset, int? count) { this.Manager.Method("subscriptions.getFollowers"); if (userId != null) { this.Manager.Params("uid", userId); } if (userId != null) { this.Manager.Params("offset", offset); } if (userId != null) { this.Manager.Params("count", count); } XmlNode result = this.Manager.Execute().GetResponseXml(); if (this.Manager.MethodSuccessed) { XmlUtils.UseNode(result); SubscriptionsInfo si = new SubscriptionsInfo(); si.Count = XmlUtils.Int("count"); si.Users = this.buildUsersList(result.SelectNodes("users/uid")); return si; } return null; }
public SubscriptionsInfo GetFollowers(int? userId, int? offset, int? count) { this.Manager.Method("subscriptions.getFollowers", new object[] { "uid", userId, "offset", offset, "count", count }); XmlNode result = this.Manager.Execute().GetResponseXml(); XmlUtils.UseNode(result); SubscriptionsInfo si = new SubscriptionsInfo(); si.Count = XmlUtils.Int("count"); si.Users = this.buildUsersList(result.SelectNodes("users/uid")); return si; }