C# 클래스 Imgur.API.Endpoints.Impl.CustomGalleryEndpoint

Custom Gallery related actions.
상속: EndpointBase, ICustomGalleryEndpoint
파일 보기 프로젝트 열기: DamienDennehy/Imgur.API 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CustomGalleryEndpoint System

공개 메소드들

메소드 설명
AddCustomGalleryTagsAsync ( IEnumerable tags ) : Task

Add tags to a user's custom gallery. OAuth authentication required.

AddFilteredOutGalleryTagAsync ( string tag ) : Task

Add tags to filter out. OAuth authentication required.

CustomGalleryEndpoint ( IApiClient apiClient ) : System

Initializes a new instance of the CustomGalleryEndpoint class.

GetCustomGalleryAsync ( CustomGallerySortOrder sort = CustomGallerySortOrder.Viral, TimeWindow window = TimeWindow.Week, int page = null ) : Task

View images for current user's custom gallery. OAuth authentication required.

GetCustomGalleryItemAsync ( string galleryItemId ) : Task

View a single item in a user's custom gallery. OAuth authentication required.

GetFilteredOutGalleryAsync ( CustomGallerySortOrder sort = CustomGallerySortOrder.Viral, TimeWindow window = TimeWindow.Week, int page = null ) : Task

Retrieve user's filtered out gallery. OAuth authentication required.

RemoveCustomGalleryTagsAsync ( IEnumerable tags ) : Task

Remove tags from a custom gallery. OAuth authentication required.

RemoveFilteredOutGalleryTagAsync ( string tag ) : Task

Remove a filtered out tag. OAuth authentication required.

비공개 메소드들

메소드 설명
CustomGalleryEndpoint ( IApiClient apiClient, HttpClient httpClient ) : System

Initializes a new instance of the CustomGalleryEndpoint class.

메소드 상세

AddCustomGalleryTagsAsync() 공개 메소드

Add tags to a user's custom gallery. OAuth authentication required.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. /// Thrown when an error is found in a response from an Imgur endpoint. Thrown when an error is found in a response from a Mashape endpoint.
public AddCustomGalleryTagsAsync ( IEnumerable tags ) : Task
tags IEnumerable The tags that should be added.
리턴 Task

AddFilteredOutGalleryTagAsync() 공개 메소드

Add tags to filter out. OAuth authentication required.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. /// Thrown when an error is found in a response from an Imgur endpoint. Thrown when an error is found in a response from a Mashape endpoint.
public AddFilteredOutGalleryTagAsync ( string tag ) : Task
tag string The tag that should be filtered out.
리턴 Task

CustomGalleryEndpoint() 공개 메소드

Initializes a new instance of the CustomGalleryEndpoint class.
public CustomGalleryEndpoint ( IApiClient apiClient ) : System
apiClient IApiClient The type of client that will be used for authentication.
리턴 System

GetCustomGalleryAsync() 공개 메소드

View images for current user's custom gallery. OAuth authentication required.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. /// Thrown when an error is found in a response from an Imgur endpoint. Thrown when an error is found in a response from a Mashape endpoint.
public GetCustomGalleryAsync ( CustomGallerySortOrder sort = CustomGallerySortOrder.Viral, TimeWindow window = TimeWindow.Week, int page = null ) : Task
sort CustomGallerySortOrder The order that the gallery should be sorted by. Default: Viral
window TimeWindow The time period that should be used in filtering requests. Default: Week
page int Set the page number so you don't have to retrieve all the data at once. Default: null
리턴 Task

GetCustomGalleryItemAsync() 공개 메소드

View a single item in a user's custom gallery. OAuth authentication required.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. /// Thrown when an error is found in a response from an Imgur endpoint. Thrown when an error is found in a response from a Mashape endpoint.
public GetCustomGalleryItemAsync ( string galleryItemId ) : Task
galleryItemId string The gallery item id.
리턴 Task

GetFilteredOutGalleryAsync() 공개 메소드

Retrieve user's filtered out gallery. OAuth authentication required.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. /// Thrown when an error is found in a response from an Imgur endpoint. Thrown when an error is found in a response from a Mashape endpoint.
public GetFilteredOutGalleryAsync ( CustomGallerySortOrder sort = CustomGallerySortOrder.Viral, TimeWindow window = TimeWindow.Week, int page = null ) : Task
sort CustomGallerySortOrder The order that the gallery should be sorted by. Default: Viral
window TimeWindow The time period that should be used in filtering requests. Default: Week
page int Set the page number so you don't have to retrieve all the data at once. Default: null
리턴 Task

RemoveCustomGalleryTagsAsync() 공개 메소드

Remove tags from a custom gallery. OAuth authentication required.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. /// Thrown when an error is found in a response from an Imgur endpoint. Thrown when an error is found in a response from a Mashape endpoint.
public RemoveCustomGalleryTagsAsync ( IEnumerable tags ) : Task
tags IEnumerable The tags that should be removed.
리턴 Task

RemoveFilteredOutGalleryTagAsync() 공개 메소드

Remove a filtered out tag. OAuth authentication required.
/// Thrown when a null reference is passed to a method that does not accept it as a /// valid argument. /// Thrown when an error is found in a response from an Imgur endpoint. Thrown when an error is found in a response from a Mashape endpoint.
public RemoveFilteredOutGalleryTagAsync ( string tag ) : Task
tag string The tag that should be removed.
리턴 Task