Class OctokitClient
Inheritance
System.Object
OctokitClient
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Downlink.GitHub
Assembly: Downlink.GitHub.dll
Syntax
public class OctokitClient : IGitHubClient, IRemoteStorage
Constructors
| Improve this Doc View SourceOctokitClient(GitHubCredentials, IConfiguration, ILogger<OctokitClient>, IEnumerable<GitHubMatchStrategy>, IEnumerable<IPatternMatcher>)
Declaration
public OctokitClient(GitHubCredentials credentials, IConfiguration configuration, ILogger<OctokitClient> logger, IEnumerable<GitHubMatchStrategy> matchStrategies, IEnumerable<IPatternMatcher> patternMatchers)
Parameters
Type | Name | Description |
---|---|---|
GitHubCredentials | credentials | |
Microsoft.Extensions.Configuration.IConfiguration | configuration | |
Microsoft.Extensions.Logging.ILogger<OctokitClient> | logger | |
System.Collections.Generic.IEnumerable<GitHubMatchStrategy> | matchStrategies | |
System.Collections.Generic.IEnumerable<IPatternMatcher> | patternMatchers |
Properties
| Improve this Doc View SourceClient
Declaration
public GitHubClient Client { get; }
Property Value
Type | Description |
---|---|
Octokit.GitHubClient |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Implements
Methods
| Improve this Doc View SourceGetAllVersions()
Declaration
public Task<IEnumerable<VersionSpec>> GetAllVersions()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<VersionSpec>> |
GetFileAsync(VersionSpec)
Declaration
public Task<IFileSource> GetFileAsync(VersionSpec version)
Parameters
Type | Name | Description |
---|---|---|
VersionSpec | version |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IFileSource> |