C# Класс BridgeStack.AuthorizedStackClient

Наследование: StackClient, IAuthorizedStackClient
Показать файл Открыть проект

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

Метод Описание
GetEvents ( SinceQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /events

Documentation can be found following the link below:

https://api.stackexchange.com/docs/events

GetMyActiveTags ( TagsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/tags

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-tags

GetMyAnswers ( PostsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/answers

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-answers

GetMyAssociatedAccounts ( SimpleQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/associated

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-associated-users

GetMyBadges ( BadgesOnUserQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/badges

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-badges

GetMyComments ( CommentsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/comments

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-comments

GetMyCommentsInReplyTo ( long toId, CommentsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/comments/{toid}

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-comments-to

GetMyInbox ( SimpleQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /users/{id}/inbox

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-inbox

GetMyInboxUnread ( SinceQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /users/{id}/inbox/unread

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-unread-inbox

GetMyMentions ( CommentsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/mentioned

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-mentioned

GetMyPrivileges ( SimpleQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/privileges

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-privileges

GetMyQuestionFavorites ( QuestionFavoritesQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/favorites

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-favorites

GetMyQuestions ( PostsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/questions

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-questions

GetMyQuestionsConsideredUnanswered ( PostsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/questions/unanswered

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-unanswered-questions

GetMyQuestionsWithNoAcceptedAnswer ( PostsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/questions/unaccepted

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-unaccepted-questions

GetMyQuestionsWithNoAnswers ( PostsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/questions/no-answers

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-no-answer-questions

GetMyReputationChanges ( RangedQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/reputation

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-reputation

GetMySuggestedEdits ( SuggestedEditsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/suggested-edits

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-suggested-edits

GetMyTimeline ( RangedQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/timeline

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-timeline

GetMyTopAnswerTags ( SimpleQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/top-answer-tags

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-top-answer-tags

GetMyTopAnswers ( string tags, PostsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/tags/{tags}/top-answers

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-tags-top-answers

GetMyTopQuestionTags ( SimpleQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/top-question-tags

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-top-question-tags

GetMyTopQuestions ( string tags, PostsQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /me/tags/{tags}/top-questions

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-tags-top-questions

GetMyUser ( UsersQuery parameters = null ) : IBridgeResponseItem

Makes a request to API method /me

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me

GetNetworkInbox ( SimpleQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /inbox

Documentation can be found following the link below:

https://api.stackexchange.com/docs/inbox

GetNetworkInboxUnread ( SinceQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /inbox/unread

Documentation can be found following the link below:

https://api.stackexchange.com/docs/inbox-unread

GetUserInbox ( long id, SimpleQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /users/{id}/inbox

Documentation can be found following the link below:

https://api.stackexchange.com/docs/user-inbox

GetUserInboxUnread ( long id, SinceQuery parameters = null ) : IBridgeResponseCollection

Makes a request to API method /users/{id}/inbox/unread

Documentation can be found following the link below:

https://api.stackexchange.com/docs/user-unread-inbox

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

Метод Описание
AuthorizedStackClient ( string appKey, string accessToken, StackClientPlugins plugins ) : System

Instances the AuthorizedStackClient implementation.

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

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

Makes a request to API method /events

Documentation can be found following the link below:

https://api.stackexchange.com/docs/events

public GetEvents ( SinceQuery parameters = null ) : IBridgeResponseCollection
parameters SinceQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/tags

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-tags

public GetMyActiveTags ( TagsQuery parameters = null ) : IBridgeResponseCollection
parameters TagsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/answers

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-answers

public GetMyAnswers ( PostsQuery parameters = null ) : IBridgeResponseCollection
parameters PostsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/associated

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-associated-users

public GetMyAssociatedAccounts ( SimpleQuery parameters = null ) : IBridgeResponseCollection
parameters SimpleQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/badges

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-badges

public GetMyBadges ( BadgesOnUserQuery parameters = null ) : IBridgeResponseCollection
parameters BadgesOnUserQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/comments

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-comments

public GetMyComments ( CommentsQuery parameters = null ) : IBridgeResponseCollection
parameters CommentsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/comments/{toid}

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-comments-to

public GetMyCommentsInReplyTo ( long toId, CommentsQuery parameters = null ) : IBridgeResponseCollection
toId long The user who's mentioned (being replied to). {toid} parameter.
parameters CommentsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /users/{id}/inbox

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-inbox

public GetMyInbox ( SimpleQuery parameters = null ) : IBridgeResponseCollection
parameters SimpleQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /users/{id}/inbox/unread

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-unread-inbox

public GetMyInboxUnread ( SinceQuery parameters = null ) : IBridgeResponseCollection
parameters SinceQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/mentioned

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-mentioned

public GetMyMentions ( CommentsQuery parameters = null ) : IBridgeResponseCollection
parameters CommentsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/privileges

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-privileges

public GetMyPrivileges ( SimpleQuery parameters = null ) : IBridgeResponseCollection
parameters SimpleQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/favorites

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-favorites

public GetMyQuestionFavorites ( QuestionFavoritesQuery parameters = null ) : IBridgeResponseCollection
parameters QuestionFavoritesQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/questions

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-questions

public GetMyQuestions ( PostsQuery parameters = null ) : IBridgeResponseCollection
parameters PostsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/questions/unanswered

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-unanswered-questions

public GetMyQuestionsConsideredUnanswered ( PostsQuery parameters = null ) : IBridgeResponseCollection
parameters PostsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/questions/unaccepted

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-unaccepted-questions

public GetMyQuestionsWithNoAcceptedAnswer ( PostsQuery parameters = null ) : IBridgeResponseCollection
parameters PostsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/questions/no-answers

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-no-answer-questions

public GetMyQuestionsWithNoAnswers ( PostsQuery parameters = null ) : IBridgeResponseCollection
parameters PostsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/reputation

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-reputation

public GetMyReputationChanges ( RangedQuery parameters = null ) : IBridgeResponseCollection
parameters RangedQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/suggested-edits

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-suggested-edits

public GetMySuggestedEdits ( SuggestedEditsQuery parameters = null ) : IBridgeResponseCollection
parameters SuggestedEditsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/timeline

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-timeline

public GetMyTimeline ( RangedQuery parameters = null ) : IBridgeResponseCollection
parameters RangedQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/top-answer-tags

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-top-answer-tags

public GetMyTopAnswerTags ( SimpleQuery parameters = null ) : IBridgeResponseCollection
parameters SimpleQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/tags/{tags}/top-answers

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-tags-top-answers

public GetMyTopAnswers ( string tags, PostsQuery parameters = null ) : IBridgeResponseCollection
tags string The {tags} vector.
parameters PostsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/top-question-tags

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-top-question-tags

public GetMyTopQuestionTags ( SimpleQuery parameters = null ) : IBridgeResponseCollection
parameters SimpleQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me/tags/{tags}/top-questions

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me-tags-top-questions

public GetMyTopQuestions ( string tags, PostsQuery parameters = null ) : IBridgeResponseCollection
tags string The {tags} vector.
parameters PostsQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /me

Documentation can be found following the link below:

https://api.stackexchange.com/docs/me

public GetMyUser ( UsersQuery parameters = null ) : IBridgeResponseItem
parameters UsersQuery The request parameters.
Результат IBridgeResponseItem

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

Makes a request to API method /inbox

Documentation can be found following the link below:

https://api.stackexchange.com/docs/inbox

public GetNetworkInbox ( SimpleQuery parameters = null ) : IBridgeResponseCollection
parameters SimpleQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /inbox/unread

Documentation can be found following the link below:

https://api.stackexchange.com/docs/inbox-unread

public GetNetworkInboxUnread ( SinceQuery parameters = null ) : IBridgeResponseCollection
parameters SinceQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /users/{id}/inbox

Documentation can be found following the link below:

https://api.stackexchange.com/docs/user-inbox

public GetUserInbox ( long id, SimpleQuery parameters = null ) : IBridgeResponseCollection
id long The single user {id}.
parameters SimpleQuery The request parameters.
Результат IBridgeResponseCollection

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

Makes a request to API method /users/{id}/inbox/unread

Documentation can be found following the link below:

https://api.stackexchange.com/docs/user-unread-inbox

public GetUserInboxUnread ( long id, SinceQuery parameters = null ) : IBridgeResponseCollection
id long The single user {id}.
parameters SinceQuery The request parameters.
Результат IBridgeResponseCollection