Skip to main content

GitHubScripts

Assembly: ServiceStack.Common.dll
View Source
Declaration
public class GitHubScripts : ScriptMethods

Inherited Properties

Context

View Source
Declaration
public ScriptContext Context { get; set; }

InvokerCache

View Source
Declaration
public ConcurrentDictionary<string, MethodInvoker> InvokerCache { get; }

Pages

View Source
Declaration
public ISharpPages Pages { get; set; }

Methods

gistVirtualFiles(String)

View Source
Declaration
public GistVirtualFiles gistVirtualFiles(string gistId)
Returns

ServiceStack.IO.GistVirtualFiles

Parameters
TypeName
System.StringgistId

gistVirtualFiles(String, String)

View Source
Declaration
public GistVirtualFiles gistVirtualFiles(string gistId, string accessToken)
Returns

ServiceStack.IO.GistVirtualFiles

Parameters
TypeName
System.StringgistId
System.StringaccessToken

githubGateway()

View Source
Declaration
public GitHubGateway githubGateway()
Returns

ServiceStack.GitHubGateway

githubGateway(String)

View Source
Declaration
public GitHubGateway githubGateway(string accessToken)
Returns

ServiceStack.GitHubGateway

Parameters
TypeName
System.StringaccessToken

githubSourceZipUrl(GitHubGateway, String, String)

View Source
Declaration
public string githubSourceZipUrl(GitHubGateway gateway, string orgNames, string name)
Returns

System.String

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringorgNames
System.Stringname

githubSourceRepos(GitHubGateway, String)

View Source
Declaration
public Task<object> githubSourceRepos(GitHubGateway gateway, string orgName)
Returns

System.Threading.Tasks.Task<System.Object>

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringorgName

githubUserAndOrgRepos(GitHubGateway, String)

View Source
Declaration
public Task<object> githubUserAndOrgRepos(GitHubGateway gateway, string githubOrgOrUser)
Returns

System.Threading.Tasks.Task<System.Object>

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringgithubOrgOrUser

githubUserRepos(GitHubGateway, String)

View Source
Declaration
public List<GithubRepo> githubUserRepos(GitHubGateway gateway, string githubUser)
Returns

System.Collections.Generic.List<ServiceStack.GithubRepo>

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringgithubUser

githubOrgRepos(GitHubGateway, String)

View Source
Declaration
public List<GithubRepo> githubOrgRepos(GitHubGateway gateway, string githubOrg)
Returns

System.Collections.Generic.List<ServiceStack.GithubRepo>

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringgithubOrg

githubCreateGist(GitHubGateway, String, Dictionary<String, String>)

View Source
Declaration
public GithubGist githubCreateGist(GitHubGateway gateway, string description, Dictionary<string, string> files)
Returns

ServiceStack.GithubGist

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.Stringdescription
System.Collections.Generic.Dictionary<System.String,System.String>files

githubCreatePrivateGist(GitHubGateway, String, Dictionary<String, String>)

View Source
Declaration
public GithubGist githubCreatePrivateGist(GitHubGateway gateway, string description, Dictionary<string, string> files)
Returns

ServiceStack.GithubGist

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.Stringdescription
System.Collections.Generic.Dictionary<System.String,System.String>files

githubGist(GitHubGateway, String)

View Source
Declaration
public GithubGist githubGist(GitHubGateway gateway, string gistId)
Returns

ServiceStack.GithubGist

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringgistId

githubWriteGistFiles(GitHubGateway, String, Dictionary<String, String>)

View Source
Declaration
public IgnoreResult githubWriteGistFiles(GitHubGateway gateway, string gistId, Dictionary<string, string> gistFiles)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringgistId
System.Collections.Generic.Dictionary<System.String,System.String>gistFiles

githubWriteGistFile(GitHubGateway, String, String, String)

View Source
Declaration
public IgnoreResult githubWriteGistFile(GitHubGateway gateway, string gistId, string filePath, string contents)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringgistId
System.StringfilePath
System.Stringcontents

githuDeleteGistFiles(GitHubGateway, String, String)

View Source
Declaration
public IgnoreResult githuDeleteGistFiles(GitHubGateway gateway, string gistId, string filePath)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringgistId
System.StringfilePath

githuDeleteGistFiles(GitHubGateway, String, IEnumerable<String>)

View Source
Declaration
public IgnoreResult githuDeleteGistFiles(GitHubGateway gateway, string gistId, IEnumerable<string> filePaths)
Returns

ServiceStack.Script.IgnoreResult

Parameters
TypeName
ServiceStack.GitHubGatewaygateway
System.StringgistId
System.Collections.Generic.IEnumerable<System.String>filePaths

Inherited Methods

GetInvoker(String, Int32, InvokerType)

View Source
Declaration
public MethodInvoker GetInvoker(string name, int argsCount, InvokerType type)
Returns

ServiceStack.MethodInvoker

Parameters
TypeName
System.Stringname
System.Int32argsCount
ServiceStack.Script.InvokerTypetype

QueryFilters(String)

View Source
Declaration
public List<MethodInfo> QueryFilters(string filterName)
Returns

System.Collections.Generic.List<System.Reflection.MethodInfo>

Parameters
TypeName
System.StringfilterName