C# Class VirtoCommerce.Content.Data.Repositories.GitHubContentRepositoryImpl2

Inheritance: IContentRepository2
Mostra file Open project: VirtoCommerce/vc-internal Class Usage Examples

Public Methods

Method Description
CreateFile ( string relativePath, VirtoCommerce.Content.Data.Models.ContentItem item ) : Task
DeleteFile ( string relativePath ) : System.Threading.Tasks.Task
GetChangeSet ( string relativePath, IContentLoadCriteria criteria ) : Task
GetContent ( string relativePath ) : Task
GitHubContentRepositoryImpl2 ( string token, string productHeaderValue, string ownerName, string repositoryName, string mainPath ) : Octokit
UpdateFile ( string relativePath, VirtoCommerce.Content.Data.Models.ContentItem item ) : Task

Private Methods

Method Description
GetAllContents ( string path ) : Task>
GetFullPath ( string path ) : string

Method Details

CreateFile() public method

public CreateFile ( string relativePath, VirtoCommerce.Content.Data.Models.ContentItem item ) : Task
relativePath string
item VirtoCommerce.Content.Data.Models.ContentItem
return Task

DeleteFile() public method

public DeleteFile ( string relativePath ) : System.Threading.Tasks.Task
relativePath string
return System.Threading.Tasks.Task

GetChangeSet() public method

public GetChangeSet ( string relativePath, IContentLoadCriteria criteria ) : Task
relativePath string
criteria IContentLoadCriteria
return Task

GetContent() public method

public GetContent ( string relativePath ) : Task
relativePath string
return Task

GitHubContentRepositoryImpl2() public method

public GitHubContentRepositoryImpl2 ( string token, string productHeaderValue, string ownerName, string repositoryName, string mainPath ) : Octokit
token string
productHeaderValue string
ownerName string
repositoryName string
mainPath string
return Octokit

UpdateFile() public method

public UpdateFile ( string relativePath, VirtoCommerce.Content.Data.Models.ContentItem item ) : Task
relativePath string
item VirtoCommerce.Content.Data.Models.ContentItem
return Task