ApiCore.Photos.PhotosFactory.GetAlbums C# (CSharp) Метод

GetAlbums() публичный Метод

public GetAlbums ( int userId, int albums ) : List
userId int
albums int
Результат List
        public List<AlbumEntry> GetAlbums(int? userId, int[] albums)
        {
            this.Manager.Method("photos.getAlbums");
            if (userId != null)
            {
                this.Manager.Params("uid", userId);
            }
            if (albums != null)
            {
                this.Manager.Params("aids", string.Join(",", CommonUtils.ArrayIntToString(albums)));
            }

            XmlNode result = this.Manager.Execute().GetResponseXml();
            if (this.Manager.MethodSuccessed)
            {
                return this.buildAlbumsList(result);
            }
            return null;
        }