public List<PhotoEntryFull> GetPhotos(int userId, int albumId, int[] photoIds, int? count, int? offset)
{
this.Manager.Method("photos.get");
this.Manager.Params("uid", userId);
this.Manager.Params("aid", albumId);
if (photoIds != null)
{
this.Manager.Params("pids", string.Join(",", CommonUtils.ArrayIntToString(photoIds)));
}
if (count != null)
{
this.Manager.Params("limit", count);
}
if (offset != null)
{
this.Manager.Params("offset", offset);
}
XmlNode result = this.Manager.Execute().GetResponseXml();
if (this.Manager.MethodSuccessed)
{
return this.buildPhotosListFull(result);
}
return null;
}