示例#1
0
 private async Task <Lifecycle> ReadLifecycle(LifecycleResource resource)
 {
     _logger.LogInformation($"Downloading {nameof(LifecycleResource)}: {resource.Name}");
     return(await resource.ToModel(_repository));
 }
 private Lifecycle ReadLifecycle(LifecycleResource resource)
 {
     Logger.Info($"Downloading {nameof(LifecycleResource)}: {resource.Name}");
     return(resource.ToModel(_repository));
 }
示例#3
0
 public Lifecycle DownloadLifecycle(LifecycleResource resource)
 {
     Logger.Trace($"Downloading {nameof(LifecycleResource)}: {resource.Name}");
     return(resource.ToModel(_repository));
 }