Show / Hide Table of Contents

Interface IGithubRepositoryManager

Namespace: Volo.Docs.GitHub.Documents
Assembly: Volo.Docs.Domain.dll
Syntax
public interface IGithubRepositoryManager : ITransientDependency

Methods

GetFileCommitsAsync(String, String, String, String, String)

Declaration
Task<IReadOnlyList<GitHubCommit>> GetFileCommitsAsync(string name, string repositoryName, string version, string filename, string token)
Parameters
Type Name Description
System.String name
System.String repositoryName
System.String version
System.String filename
System.String token
Returns
Type Description
Task<IReadOnlyList<GitHubCommit>>

GetFileRawByteArrayContentAsync(String, String, String)

Declaration
Task<byte[]> GetFileRawByteArrayContentAsync(string rawUrl, string token, string userAgent)
Parameters
Type Name Description
System.String rawUrl
System.String token
System.String userAgent
Returns
Type Description
Task<System.Byte[]>

GetFileRawStringContentAsync(String, String, String)

Declaration
Task<string> GetFileRawStringContentAsync(string rawUrl, string token, string userAgent)
Parameters
Type Name Description
System.String rawUrl
System.String token
System.String userAgent
Returns
Type Description
Task<System.String>

GetSingleCommitsAsync(String, String, String, String)

Declaration
Task<GitHubCommit> GetSingleCommitsAsync(string name, string repositoryName, string sha, string token)
Parameters
Type Name Description
System.String name
System.String repositoryName
System.String sha
System.String token
Returns
Type Description
Task<GitHubCommit>

GetVersionsAsync(String, String, String, GithubVersionProviderSource)

Declaration
Task<IReadOnlyList<GithubVersion>> GetVersionsAsync(string name, string repositoryName, string token, GithubVersionProviderSource githubVersionProviderSource)
Parameters
Type Name Description
System.String name
System.String repositoryName
System.String token
GithubVersionProviderSource githubVersionProviderSource
Returns
Type Description
Task<IReadOnlyList<GithubVersion>>

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft