C# Класс ApiCore.Photos.PhotosFactory

Наследование: BaseFactory
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateAlbum ( string title, AlbumAccessPrivacy access, AlbumCommentPrivacy comment, string description ) : AlbumEntry
EditAlbum ( int albumId, string title, AlbumAccessPrivacy access, AlbumCommentPrivacy comment, string description ) : bool
EditPhoto ( int userId, int photoid, string text ) : bool
GetAlbums ( int userId, int albums ) : List
GetAll ( int userId, int count, int offset ) : List
GetPhotos ( int userId, int albumId, int photoIds, int count, int offset ) : List
GetPhotosById ( string photos ) : List
GetTags ( int photoId, int ownerId ) : List
GetUploadServer ( int albumId, int groupId, bool saveBig ) : PhotoUploadInfo
GetUserPhotos ( int userId, int count, int offset ) : List
MovePhoto ( int photoId, int toAlbumId, int ownerId ) : bool
PhotosFactory ( ApiManager manager ) : System

PutTag ( int ownerId, int photoId, int userId, float x, float y, float x2, float y2 ) : int
RemoveTag ( int ownerId, int photoId, int tagId ) : bool
ReorderAlbums ( int albumId, int before, int after, int ownerId ) : bool
ReorderPhotos ( int photoId, int before, int after, int ownerId ) : bool
UsePhotoAsCover ( int photoId, int albumId, int ownerId ) : bool

Приватные методы

Метод Описание
buildAlbumEntry ( XmlNode node ) : AlbumEntry
buildAlbumsList ( XmlNode data ) : List
buildPhotoEntryFull ( XmlNode node ) : PhotoEntryFull
buildPhotoEntryShort ( XmlNode node ) : ApiCore.Photos.PhotoEntryShort
buildPhotoTagsList ( XmlNode result ) : List
buildPhotosListFull ( XmlNode data ) : List
buildPhotosListShort ( XmlNode data ) : List

Описание методов

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

public CreateAlbum ( string title, AlbumAccessPrivacy access, AlbumCommentPrivacy comment, string description ) : AlbumEntry
title string
access AlbumAccessPrivacy
comment AlbumCommentPrivacy
description string
Результат AlbumEntry

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

public EditAlbum ( int albumId, string title, AlbumAccessPrivacy access, AlbumCommentPrivacy comment, string description ) : bool
albumId int
title string
access AlbumAccessPrivacy
comment AlbumCommentPrivacy
description string
Результат bool

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

public EditPhoto ( int userId, int photoid, string text ) : bool
userId int
photoid int
text string
Результат bool

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

public GetAlbums ( int userId, int albums ) : List
userId int
albums int
Результат List

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

public GetAll ( int userId, int count, int offset ) : List
userId int
count int
offset int
Результат List

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

public GetPhotos ( int userId, int albumId, int photoIds, int count, int offset ) : List
userId int
albumId int
photoIds int
count int
offset int
Результат List

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

public GetPhotosById ( string photos ) : List
photos string
Результат List

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

public GetTags ( int photoId, int ownerId ) : List
photoId int
ownerId int
Результат List

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

public GetUploadServer ( int albumId, int groupId, bool saveBig ) : PhotoUploadInfo
albumId int
groupId int
saveBig bool
Результат PhotoUploadInfo

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

public GetUserPhotos ( int userId, int count, int offset ) : List
userId int
count int
offset int
Результат List

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

public MovePhoto ( int photoId, int toAlbumId, int ownerId ) : bool
photoId int
toAlbumId int
ownerId int
Результат bool

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

public PhotosFactory ( ApiManager manager ) : System
manager ApiManager
Результат System

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

public PutTag ( int ownerId, int photoId, int userId, float x, float y, float x2, float y2 ) : int
ownerId int
photoId int
userId int
x float
y float
x2 float
y2 float
Результат int

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

public RemoveTag ( int ownerId, int photoId, int tagId ) : bool
ownerId int
photoId int
tagId int
Результат bool

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

public ReorderAlbums ( int albumId, int before, int after, int ownerId ) : bool
albumId int
before int
after int
ownerId int
Результат bool

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

public ReorderPhotos ( int photoId, int before, int after, int ownerId ) : bool
photoId int
before int
after int
ownerId int
Результат bool

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

public UsePhotoAsCover ( int photoId, int albumId, int ownerId ) : bool
photoId int
albumId int
ownerId int
Результат bool