Exemplo n.º 1
0
 public async Task <Metadata> RestoreAsync(string path, string rev = null, string locale = null, string asTeamMember = null)
 {
     return(await _requestExecuter.Execute <Metadata>(() => _requestGenerator.Restore(_options.Root, path, rev, locale, asTeamMember)).ConfigureAwait(false));
 }
Exemplo n.º 2
0
 public async Task <MetaData> RestoreAsync(string path, string rev = null, string locale = null, string asTeamMember = null, CancellationToken cancellationToken = default(CancellationToken))
 {
     return(await _requestExecuter.Execute <MetaData>(() => _requestGenerator.Restore(_options.Root, path, rev, locale, asTeamMember), cancellationToken : cancellationToken).ConfigureAwait(false));
 }