private string GetPhotosetMethodName(PhotosetType photoset) { switch (photoset) { case PhotosetType.All: return Methods.PeopleGetPhotos; case PhotosetType.Public: return Methods.PeopleGetPublicPhotos; case PhotosetType.Album: return Methods.PhotosetsGetPhotos; default: return null; } }
public Photoset(string id, string primary, string secret, string server, int farm, int photos, int videos, string title, string description, PhotosetType type, string coverPhotoUrl) { Id = id; Primary = primary; Secret = secret; Server = server; Farm = farm; Photos = photos; Videos = videos; Title = title; Description = description; Type = type; CoverPhotoUrl = coverPhotoUrl; }
private string GetPhotosetMethodName(PhotosetType photoset) { switch (photoset) { case PhotosetType.All: return(Methods.PeopleGetPhotos); case PhotosetType.Public: return(Methods.PeopleGetPublicPhotos); case PhotosetType.Album: return(Methods.PhotosetsGetPhotos); default: return(null); } }