コード例 #1
0
        public async Task Write(InternalVideo internalVideo)
        {
            _logger.Information($"Saving video {internalVideo.Name}.");
            await _videoWriter.Write(internalVideo);

            _logger.Information("Done saving video chat.");
        }
コード例 #2
0
 public async Task Process(VideoOptions options) =>
 await _videoRetriever.GetVideo(options.VideoId)
 .OnSuccess(internalVideo => _videoWriter.Write(internalVideo));