public override async Task Transfer(VideoHeader header, Stream source) { Guard.NotNull(() => header, header); Guard.NotNull(() => source, source); var transfer = next.Transfer(header, source); var name = next.ResolveName(header); await transfer.ConfigureAwait(false); await postAction.AfterTransfer(name).ConfigureAwait(false); }
public string ResolveName(VideoHeader header) { Guard.NotNull(() => header, header); return(next.ResolveName(header)); }
public string ResolveName(VideoHeader header) { Guard.NotNull(() => header, header); return(another.ResolveName(ConstructHeader(header))); }