Skip to main content

IGistGateway

Assembly: ServiceStack.Common.dll​
View Source​
Declaration
public interface IGistGateway

Methods​

CreateGist(String, Boolean, Dictionary<String, Object>)​

View Source​
Declaration
Gist CreateGist(string description, bool isPublic, Dictionary<string, object> files)
Returns​

ServiceStack.Gist

Parameters​
TypeName
System.Stringdescription
System.BooleanisPublic
System.Collections.Generic.Dictionary<System.String,System.Object>files

CreateGist(String, Boolean, Dictionary<String, String>)​

View Source​
Declaration
Gist CreateGist(string description, bool isPublic, Dictionary<string, string> textFiles)
Returns​

ServiceStack.Gist

Parameters​
TypeName
System.Stringdescription
System.BooleanisPublic
System.Collections.Generic.Dictionary<System.String,System.String>textFiles

GetGist(String)​

View Source​
Declaration
Gist GetGist(string gistId)
Returns​

ServiceStack.Gist

Parameters​
TypeName
System.StringgistId

GetGist(String, String)​

View Source​
Declaration
Gist GetGist(string gistId, string version)
Returns​

ServiceStack.Gist

Parameters​
TypeName
System.StringgistId
System.Stringversion

GetGistAsync(String)​

View Source​
Declaration
Task<Gist> GetGistAsync(string gistId)
Returns​

System.Threading.Tasks.Task<ServiceStack.Gist>

Parameters​
TypeName
System.StringgistId

GetGistAsync(String, String)​

View Source​
Declaration
Task<Gist> GetGistAsync(string gistId, string version)
Returns​

System.Threading.Tasks.Task<ServiceStack.Gist>

Parameters​
TypeName
System.StringgistId
System.Stringversion

WriteGistFiles(String, Dictionary<String, Object>, String, Boolean)​

View Source​
Declaration
void WriteGistFiles(string gistId, Dictionary<string, object> files, string description = null, bool deleteMissing = false)
Parameters​
TypeName
System.StringgistId
System.Collections.Generic.Dictionary<System.String,System.Object>files
System.Stringdescription
System.BooleandeleteMissing

WriteGistFiles(String, Dictionary<String, String>, String, Boolean)​

View Source​
Declaration
void WriteGistFiles(string gistId, Dictionary<string, string> textFiles, string description = null, bool deleteMissing = false)
Parameters​
TypeName
System.StringgistId
System.Collections.Generic.Dictionary<System.String,System.String>textFiles
System.Stringdescription
System.BooleandeleteMissing

CreateGistFile(String, String, String)​

View Source​
Declaration
void CreateGistFile(string gistId, string filePath, string contents)
Parameters​
TypeName
System.StringgistId
System.StringfilePath
System.Stringcontents

WriteGistFile(String, String, String)​

View Source​
Declaration
void WriteGistFile(string gistId, string filePath, string contents)
Parameters​
TypeName
System.StringgistId
System.StringfilePath
System.Stringcontents

DeleteGistFiles(String, String[])​

View Source​
Declaration
void DeleteGistFiles(string gistId, params string[] filePaths)
Parameters​
TypeName
System.StringgistId
System.String[]filePaths