GitHubGraphqlService Class

GitHubGraphqlService handles all requests to the github graphql api

Definition

Namespace: spider.Services
Assembly: spider (in spider.exe) Version: 1.0.0+fc7a1b35c0f8728ecbe7255d9fa5b4d3324ce3c6
C#
public class GitHubGraphqlService : IGitHubGraphqlService
Inheritance
Object    GitHubGraphqlService
Implements
IGitHubGraphqlService

Constructors

GitHubGraphqlServiceInitializes a new instance of the GitHubGraphqlService class

Methods

checkRatelimit 
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetByNames ToQueryString converts ProjectRequestDtos into a format that can be inserted into a graphql search query and sends the query using QueryRepositoriesByName
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetRepoCount This method gets the amount of repositories that match the keyword with the included filters
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
QueryRepositoriesByName QueryRepositoriesByName sends a graphql request to the github api and returns on success and otherwise handles the error and retries if necessary.
QueryRepositoriesByNameHelper QueryRepositoriesByNameHelper splits the incoming request into smaller parts
QueryRepositoriesByTopic QueryRepositoriesByTopic sends a graphql request to the github api and returns on success and otherwise handles the error and retries if necessary.
QueryRepositoriesByTopicHelper QueryRepositoriesByTopicHelper splits the incoming request into smaller parts
QueryRepositoryByName QueryRepositoryByName sends a graphql request to the github api and returns a repository on success. Does not handle errors yet
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also